Torque

Forums

Forums

Notifications
Clear all

Arduino & OBD2

7 Posts
6 Users
0 Reactions
744 Views
(@tbd_evora)
Posts: 6
Active Member
Topic starter
 

Is there a way to use OBD-2 data through an ELM and supplementary data collected through an Arduino simultaneously?

Background is, I want to record the OBD engine data, but augment this with data not available through the OBD-port, such as brake sensor, oil temp, oil pressure, etc (which I would collect through the Arduino).

Alternatively, would it be possible to use the Arduino as a pass-through to the ELM, but adding in the supplementary sensors.

 
Posted : 22/12/2016 10:52 am
(@kentkallsen)
Posts: 2
New Member
 

Bump - I want to do the same thing. Would like to capture wideband O2 sensor and some aftermarket oil pressure & temp gauges.

 
Posted : 24/12/2016 12:29 am
(@kduff9)
Posts: 3
Active Member
 

I'm also researching this, and would be very interested in using an Arduino to pass ELM data while adding new data sensors not connected to the ECU.

 
Posted : 26/12/2016 3:54 pm
(@mike321)
Posts: 4
Active Member
 

Engine Coolant Temperature isn't available for my truck and I ran across the Arduino information as well.

Has anyone tried this yet?

 
Posted : 06/12/2017 7:17 pm
(@admin)
Posts: 6550
Member Admin
 

Hi!

You can do it by writing a plugin (using the AIDL interface pinned in the forum) - this will let you feed data directly into Torque from any plugin you write - this is currently available to be used (basically you can feed data into the app this way)

At the moment you can only connect one 'OBD' device at a time, though I've had enough requests on this now that I'm probably going to add an additions connection dialog for any Arduino boards as well in an update

 
Posted : 07/12/2017 3:01 pm
(@mike321)
Posts: 4
Active Member
 

Quote from admin on December 7, 2017
"Hi!

You can do it by writing a plugin (using the AIDL interface pinned in the forum) - this will let you feed data directly into Torque from any plugin you write - this is currently available to be used (basically you can feed data into the app this way)

At the moment you can only connect one 'OBD' device at a time, though I've had enough requests on this now that I'm probably going to add an additions connection dialog for any Arduino boards as well in an update"

That is fantastic news! I am going to order the supported parts in the Wiki to get it started on my end.

 
Posted : 08/12/2017 10:16 pm
 anko
(@anko)
Posts: 143
Estimable Member
 

As a matter of fact, I've been doing this for quite some time now. In my case, TP gets information from no less than three OBDLink MX adapters + information from a Raspberry PI about power consumption of my house and the charger of my PHEV car.

My approach has been to build a little proxy program that sits on my phone (could sit on the Arduino or Pi as well) that presents itself to TP as an adapter (listen to port 35000 and all 😉 ).. You can have your own set of extended PIDs in TP and map these to whatever data you like in the proxy program.

The biggest difficulty is to teach the proxy program to provide all the right answers when TP is setting up the connection. Like: respond to ATZ, ATSP0, ..... There are quite a lot of questions asked by TP and it will take a while before you learn how to answer all of them and make TP believe your proxy is actually a connected OBD adapter.

It would be very nice if TP had a mode when you could tell it to not do any of the AT commands. Just send PIDs and listen to responses.

Never knew about the plugin, though. Will look into this next, as it might be an easier solution.

 
Posted : 09/12/2017 7:35 am
Share:

  Follow me on twitter