Page 1 of 2
Arduino Library
Posted: Sun Feb 12, 2017 8:23 pm
by hoopstar
Is anyone aware of a library or project for the arduino that can read/display data from the ALDL connector in real time?
Looking for something for the 424 V8 PCM but haven't found anything yet..

Re: Arduino Library
Posted: Mon Feb 27, 2017 12:21 pm
by L67PSI
Would be interested to know this as well.
Re: Arduino Library
Posted: Mon Feb 27, 2017 12:37 pm
by antus
Festy wrote something that was pretty close see this thread
viewtopic.php?f=13&t=2195 but ive just been over it a couple of times and I dont think he ever made a public release.
Having said that it shouldnt be hard to write your own. I'd be interested to help. The ALDL data format is known, and the definition can be read out your xdf.
Or you could run ALDLdroid on an android platform.
Re: Arduino Library
Posted: Wed Mar 01, 2017 8:09 am
by hoopstar
antus wrote:Having said that it shouldnt be hard to write your own. I'd be interested to help. The ALDL data format is known, and the definition can be read out your xdf.
Antus, that would be greatly appreciated if you could help out - my programming knowledge is a little basic and I am sure others would love something to make the ALDL data easily accessible.
My project (so far) uses three OLED displays all running off one Arduino to read battery voltage, oil pressure, status of the 'Power/Economy' mode and outside temp/humidity. Ideally though, I want to be able to read out other engine parameters (ie. RPM, MAT, MAP etc) and DTC's in real time from the PCM.

- dash display.jpg (191.01 KiB) Viewed 8518 times
This will eventually go into my VK centre console where I've designed and 3D printed a surround to replace the sunglass pocket in front of the shifter. I am trying to make it look as 'factory' as possible.

- Dash surround 2.jpg (100.21 KiB) Viewed 8518 times
My problems come when you start talking about integrating the xdf into arduino, so again any help would be awesome..
Paul
Re: Arduino Library
Posted: Wed Mar 01, 2017 8:21 am
by Gareth
That is going to look mint

Great work
Re: Arduino Library
Posted: Wed Mar 01, 2017 8:59 am
by Holden202T
yeah very nice work so far!
Re: Arduino Library
Posted: Wed Mar 01, 2017 12:01 pm
by Tazzi
Far out! Looking great!!
Maybe add in a SDcard. Then an XDF can be imported from there and processed (Just like what Tunerpro does).
Alternatively, create a separate class to process received frames for different vehicles (VS, VR ect) and hardcode them in.
Depending how its setup, you could then get the newest data like this:
if (Vehicle.DataAvailable == true){
Screens.ProcessToDisplay(Vehicle.Data)}
Re: Arduino Library
Posted: Wed Mar 01, 2017 1:41 pm
by VL400
Nice project, that sunglass holder face plate is neat as
The attached might help get you started reading ALDL data

The displays you are using, depending on the library may tie up the arduino for a bit of time so logging speeds get pretty slow.
Re: Arduino Library
Posted: Thu Mar 02, 2017 1:07 pm
by festy
Here's some Arduino sketches that I found a while ago, it's hardcoded for a specific ECU so would need some work to make it more modular.
If all the I/O you need is a UART and SPI lines for the displays, have a look at some of the ESP8266 modules, i.e. ESP-12E. They're Arduino IDE compatible, have built-in wifi, and are 5-10x faster so have no trouble driving the displays at full speed.
Re: Arduino Library
Posted: Wed Mar 22, 2017 8:47 pm
by barnsie46
nice work!