Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Arduino as ECU in vintage car

Pages: [1]
Author Topic: Arduino as ECU in vintage car
123GT
Member
Posts: 2
Post Arduino as ECU in vintage car
on: October 6, 2017 (GMT)

Hi,

I recently found the code in the WIKI to run a Arduino with Bluetooth as a sender. I did some tests and it worked quite well.
But I have some questions:
1. In the sketch is a Digital Output that is also listet in the App. But how do I set up a Push-Button to change?

2. I use the Arduino as a ECU to collect sensor data from my vintage car (50 years old) and display them on my phone. Kinds like RPM, Speed, temperatures and pressures.
The sketch is written for custom PID’s. Can someone tell my the format I have to use to send ECU-like PID’s?

Best regards,
René

406dany
Member
Posts: 11
Post Re: Arduino as ECU in vintage car
on: October 8, 2017 (GMT)

When torque ask for a Pid it send:
for example 010D CR => 5 bytes : 0x30 0x31 0x30 0x44 0x0D
0x30 is for pid or 0x41 for AT command
0x31 is service mode
0X30 0X44 is PID number (0D)
0x0D is end of frame (CR)

the answer should be:
4+service+pid+data+CR+prompt

for example with data=1234 answer is 10 bytes
0x34 0x31 0x30 0x44 0x31 0x32 0x33 0x34 0x0D 0x3E

(0x3E is the prompt “>”)

hope that help you
rgds

123GT
Member
Posts: 2
Post Re: Arduino as ECU in vintage car
on: October 9, 2017 (GMT)

Hi,
In the meantime I found out how to modify the sketch to get it running. The ELM327 documentation did help.
Regards

kramttocs
Member
Posts: 1
Post Re: Arduino as ECU in vintage car
on: July 20, 2020 (GMT)

I would like to do this exact thing. I don’t own an arduino yet and haven’t ever worked with one. Is there a parts list that would get me started with ordering the right pieces?

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.015 seconds.

  Follow me on twitter