Arduino Library

Holden/Delco Tuning. ALDL, OBD 1.5. Circa 1989 to 2004.
User avatar
hoopstar
Posts: 46
Joined: Thu Mar 21, 2013 7:29 pm
cars: 350 Chev HR Holden (carby)
VK Calais with (soon) VR EFI 304
Location: Adelaide

Arduino Library

Post 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.. :(
L67PSI
Posts: 177
Joined: Mon Dec 12, 2016 11:27 am
cars: L67 VT Calais

Re: Arduino Library

Post by L67PSI »

Would be interested to know this as well.
User avatar
antus
Site Admin
Posts: 8237
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Arduino Library

Post 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.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
hoopstar
Posts: 46
Joined: Thu Mar 21, 2013 7:29 pm
cars: 350 Chev HR Holden (carby)
VK Calais with (soon) VR EFI 304
Location: Adelaide

Re: Arduino Library

Post 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
dash display.jpg (191.01 KiB) Viewed 7337 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
Dash surround 2.jpg (100.21 KiB) Viewed 7337 times
My problems come when you start talking about integrating the xdf into arduino, so again any help would be awesome.. :punk:

Paul
User avatar
Gareth
Posts: 2505
Joined: Fri Mar 14, 2014 8:37 pm
Location: Bacchus Marsh, Vic

Re: Arduino Library

Post by Gareth »

That is going to look mint :thumbup: Great work
According to chemistry, alcohol is a solution...
User avatar
Holden202T
Posts: 10311
Joined: Sat Feb 28, 2009 9:05 pm
Location: Tenambit, NSW
Contact:

Re: Arduino Library

Post by Holden202T »

yeah very nice work so far!
User avatar
Tazzi
Posts: 3422
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Arduino Library

Post 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)}
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: Arduino Library

Post by VL400 »

Nice project, that sunglass holder face plate is neat as :thumbup:

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.
Attachments
Arduino ALDL.txt
(2.21 KiB) Downloaded 358 times
User avatar
festy
Posts: 1039
Joined: Sat Apr 30, 2011 6:27 pm
cars: Alfa Romeos
Location: Narellan, NSW

Re: Arduino Library

Post 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.
Attachments
ALDL.zip
Arduino ALDL sketches
(12.35 KiB) Downloaded 357 times
barnsie46
Posts: 26
Joined: Tue Apr 21, 2009 2:54 am
cars: vn ss manual 300kw, vq stato 5l
Vs s3 ss manual , vx ss manual and a few more
Location: kadina south australia

Re: Arduino Library

Post by barnsie46 »

nice work!
Post Reply