Serial to ALDL interface

B

Blake

Guest
aaa.sized.jpg


Thought I'd put this up for those interested.
The only thing it lacks is a OBDI plug. Hope this helps anyone interested in making their own. Took me about an 1 1/2 hours after I had all the stuff. Linked right up with Datamaster (after I selected COM 1....DUH!)
I had to show the 7805 voltage regulator from the back in the schematic because I wanted to kinda squeeze everything together nicely without it getting confusing. Anytime you are following along a circuit and you see a "bump" as it crosses an intersecting line, that means there is no connection at that point.

Pin 13 and 14 on the MAX232 circuit have a little box next to them with numbers in them. Those numbers represent the pin that they need to run to on the 9 pin serial plug for your laptop.
The serial connector shows pin relation as if you just took the plug and just turned it up toward your face. Whenever you buy your 9 pin female serial plug, it will have the holes labeled on it, so no worries there.

I used 4 wire phone cord for the cables. I'd strip off the sheath and use the individual wires for jumpers on the board when I needed them. Many of the components had legs small enough, I could stick more than 1 leg in the same hole. REALLY cuts down on jumpers.

DO NOT reverse the polarity of your cigarette lighter plug. VERY important. If you are in doubt, plug the cord into your cigarette lighter and use a volt meter on the two bare ends. You'll have a black and a red probe. If you get a positive 12 volts on the meter, your red probe is on the positive lead. If you get a -12 volts on the meter, your black probe is on the positive lead. Make sure you label them so they don't get mixed up when you solder them to your board.
You don't have to use the two diodes but they helped eliminate the ocassional data errors I was getting.

After your build your interface, Datamaster actually has the ability to TEST your adaptor. Just go to the RECORD DATA screen and click on the "TEST COM" button. Also, if you forget to hook up your adaptor to your ALDL, it will tell you that the adaptor is working but you are getting no data. If you forget to plug in your cigarette lighter, it will tell you that no serial adaptor or ALDL signal present. Pretty cool.

There is a new MAX232 chip available that has no need for the 4 capacitors as they are internal. It is a MAX232A, I believe. Just do a Dogpile search and the specs will be easily found.

The two capacitors on the voltage regulator aren't absolutely necessary but eliminate "ripple". A big thanks to Barry Tisdale(the man's a GURU!!)for helping me out with the capacitor questions!!! The specs on the voltage regulators don't require anything near this high, but this is what I had. You can just use 1uF for all the capacitors in the circuit if that's all you have.

I'm gonna try to make some more. Kinda fun when you figure out what you are doing. My goal is to get it down to the size of the remote for the keyless entry.

This will probably be easier if I use a TO92 package instead of a TO-220 package for the voltage regulator and use a MAX232A chip.
*EDIT*
Here's a link for the TO-92 packaged 5volt regulator if you are going for small size using the MAX232 setup:
http://www.national.com/ds/LM/LM78L05.pdf

There are NO connections on pins 7,8,9, or 10. Everything else must be hooked up as shown.

Happy soldering, guys!
Take care.
Blake[/url]
 
B

Blake

Guest
I'll get some this afternoon. The assembled unit looks good(all boxed up) but rather clunky in my opinion. This is the first one. I used a Radio Shack project box with included ciruit board. Needed lots of jumpers as none of the holes are connected. I was reading last night on how to make PCBs. I would really like to make a PCB and use some slightly different components to get the overall size way down. Don't pay any attention to jumper wire colors when I get the pics up. I just used whatever piece of phone line I had in front of me.
Glad someone found it interesting. Hope I posted it up in the right spot.
 

InvisiBill

Active member
http://www.techedge.com.au/vehicle/aldl8192/8192hw.htm

I used the "two transistor" design, as I was able to mount everything free-air inside the DB9 shell. I don't know if it'll work with as many vehicles, but it's a whole lot more compact to leave in the Sy, which is the only thing I monitor anyway...

http://cable.invisibill.net/
http://www.syty.net/phpBB2/viewtopic.php?t=15625
http://www.syty.net/phpBB2/viewtopic.php?t=17828

Lots of different ways to do it, and I'm sure some will work better for certain people's needs...
 
B

Blake

Guest
Here's the pics:

This first one shows how the serial plug is numbered so you keep your connections straight. Gotta look close.
aaa.jpg


Here's the backside.
aac.jpg


Here's the component layout.
aae.jpg


Closeup
aad.sized.jpg


Assembled Unit
aab.jpg


As you can see, the box is kinda big for what is in it but nice if you just want something to close it up(this box came with the board).
Also, with a little imagination, the number of jumpers could be really cut down and the number of components could be decreased if different styles were used(Max232A, TO92 package of the voltage regulator, surface mount resistors, smaller capacitors, etc.).
When I say smaller capacitors, I'm talking about the power supply. If you follow that link I gave earlier for the TO92 package, scroll down through the PDF and it gives the sizes of the two capacitors the manufacturer recommends. They are much smaller than what I used.
As it is, works great, no errors, linked right up.
*EDIT*
Forgot something. I had to disable handshake. I believe JS had to do this on Bill's cable adaptor also. It was in one of the multiple links that Bill posted above regarding info on his cable.
When I ordered stuff to do mine, it was so inexpensive that I had to order multiples. Meaning enough to do several. If anyone wants one or just the main components to make one contact me and I'll see what I can do. Right now I'm off turn work due to an injury so I've got plenty of time :cry:
Blake
 
B

Blake

Guest
Did some more testing on a few laptops.
When running on battery power 150 and 175 MHz IBM thinkpad and a Compaq(respectively) would capture 8 to 10 frames per second.
I have an inverter on order and will post what kind of frame rate they will get using full power. (Many laptops go into a lower processor speed and dim the screen to save power when operating on battery.)
Blake
 

InvisiBill

Active member
Blake said:
Did some more testing on a few laptops.
When running on battery power 150 and 175 MHz IBM thinkpad and a Compaq(respectively) would capture 8 to 10 frames per second.
I have an inverter on order and will post what kind of frame rate they will get using full power. (Many laptops go into a lower processor speed and dim the screen to save power when operating on battery.)
Blake

I don't have a whole lot of experience with laptops, as desktops were always cheaper and more powerful, but I thought this was a newer thing. I know they're still pimping new power-saving stuff like CPU throttling. I was thinking that the older stuff didn't do that. Guess it probably depends on the model and stuff... You could use WCPUID to see if it's actually slowing the CPU down (lower MHz) on battery, though I know there are other tricks they use too...

I'm just not sure you'll actually see any improvement. Hoping for the best, but expecting the worst. =)
 
B

Blake

Guest
I had an old Toshiba(1996 model) I used for a while and it did it too. The fan speed reduced, the processor speed dropped from 120MHz to 90MHz, and the display dimmed. My IBM Thinkpad(150MHz) dims the screen and runs noticeably slower. It is a 1997 model. Like you, I don't know if it will increase but in the Datamaster documentation somewhere, it says that processor speed will have an effect on frame per second capture. We'll see for sure. Be nice if it will. Especially nice for guys programming their own chips and want very detailed info from the WB feedback and such.
Blake
 

keith455

Average Joe
Staff member
Is there any way to make a cable that will use a USB port??
A lot of new Laptops don't even come with a serial port.

add to vault
 
B

Blake

Guest
I'm already researching this. Should have it figured out shortly. Nothing worse than buying an adaptor and then having to go spend another $30 on ANOTHER adaptor to get it to work. Not fair to the guys that just bought a new Laptop.
Keith, did you get my email? This topic was in it.
LMK privately.
Big thanks,
Blake

Edit:
Looked up some info on converting USB to serial. Lots of hurdles and software to be installed. Found many converters for around $25. If you see what is inside these things, it's actually pretty cheap. I'll keep looking though. The problems many people have run into with home built units is that data rates are unstable causing lockups. This is because the unit actually has a buffer in it as well as another processor that controls fluctuating voltages. Hard to believe they made it that hard :roll:
 
Top