DFI and ECMDiscuss all aspects of DFI (Digital Fuel Injection), ECMs (Electronic Control Module), scanners, and diagnostic equipment. Fine tune your Third Gen computer system for top performance.
Welcome to ThirdGen.org!
Welcome to ThirdGen.org.
You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, at no cost, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, join the ThirdGen.org community today!
Hey guys... this is a great site, and this is my first post for something I haven't been able to find out myself. I'm investigating building an ALDL datalogger for iPhones. Nothing fancy at first, probably just for dumping the data frames to the internal flash for later download. Maybe later I can build a dashboard UI, but for now, I just want the ECM's data stream.
As I understand it, ALDL's datastream (at least for my '7427) is 8192 baud 5V TTL. The iPhone is 3.3V TTL, which should be a simple level conversion, using something like the LM1117 chip and a couple of caps. I've seen some ALDL homebrew schematics that use the PC's TX line... is this necessary? If I just jump the ALDL's diagnostic pin to ground with a 10kohm resistor, I can effectively put the ECM into datastream mode, correct? Then all I need is the ALDL TX => iPhone RX level converter and I'm set? If I were to desire the iPhone to enable the datalogging mode through software (rather than a 10kohm resistor), what would be required of the iPhone's TX pin?
This is not an iPhone-specific question, it can be applied to any datalogger device that happens to require 3.3V (or even 5V) TTL input.
I'm not much help but I use my WinMo6.5 phone to datalog my AEM UEGO using a bluetooth serial port. Never tried to get it to work with the ALDL data though.
__________________ Dan - ASE certified-A1, A4, A5, A8 This is for all things four wheeled and fast...
95 S10 ecsb-350ci, Ported 906 vortec's, L31 intake, 9.5:1, Crane(.484/.512 216/228 112LSA), Hooker Super comps, 2.5" ORY, E-cutout, 40 series flow, 4L60E, 8.8 f*rd posi w/ 3.73's, 7427 PCM, MPFI mode, $OD, WB02. - Daily Driven!
The '427 doesn't use the 10K resistor to enable datalogging. Only the '165 uses that.
You have to send a command to the ECM to enable serial data.
Look in the stickies of the DIY PROM, for more information.
Thanks, I've seen that the 10k resistor won't work... and after looking at the 0D.adx file for Tuner Pro, I think I see the bytes I need to send... Mode 1 ALDL Dump Request?
I understand that RX/TX are multiplexed into one wire on the ALDL side... does anyone have any clues how to do this from a 3.3v TTL on the PC side? I've been studying the schematic here: http://cable.invisibill.net/, but my skills are limited... it seems like if I can convert the 5v to 3.3 and vice versa, just a diode would work for the multiplexing, right?
I started playing with the serial device in my Mac, with some simple C code... I got it to open the serial port at 8192 baud and send command strings. I noticed that with my ALDL -> USB adapter that all of my commands would just echo back, which leads me to believe that there is nothing special that needs to be done for the multiplexed RX/TX on the ALDL side.
I had a heck of a time figuring out why my command would not return anything else, until I realized my checksum algorithm was wrong. I changed it to a 2's compliment checksum and voila... a 3+63+1-byte (command response + payload + checksum) string was returned by the ECM (after the echoed command). I dumped several hundred frames to a file for later parsing... it looks like good data!
Next, I cobbled together a C program for the iphone to make sure I can open its serial port at 8192 baud... it works! Although I have no device yet to connect to it, it's a great start.
All in all, a good day... I'm just waiting on my iPhone connectors and logic level converters to arrive in the mail before I can actually log some data. I'll keep you guys posted.