experimental cheap and relatively easy scantool
#51
Member
Posts like a V-Tak
Join Date: May 2004
Location: San Diego,Ca
Posts: 97
Likes: 0
Received 0 Likes
on
0 Posts
Thanks for trying. I did try to wire up the circuit you posted in your first post, but I used
2N3904 transistors, but I couldn't get it to communicate with my laptop. Those transistors are only rated at 200ma. I don't know if that'* a problem. I was able to get it to get a checksum error occasionally, but never got a complete data transfer. Usually, with the wiring as described, when I send a command, it hangs until I turn off the key on the car, and then it returns empty, so I know it is responding, although wrongly. I measured the RX side of the laptop when it was hung, and it read -9v with my DVM.
2N3904 transistors, but I couldn't get it to communicate with my laptop. Those transistors are only rated at 200ma. I don't know if that'* a problem. I was able to get it to get a checksum error occasionally, but never got a complete data transfer. Usually, with the wiring as described, when I send a command, it hangs until I turn off the key on the car, and then it returns empty, so I know it is responding, although wrongly. I measured the RX side of the laptop when it was hung, and it read -9v with my DVM.
#52
Senior Member
Posts like a Supercharger
Thread Starter
Join Date: Mar 2004
Location: Columbia, MO
Posts: 175
Likes: 0
Received 0 Likes
on
0 Posts
Originally Posted by GreenMachine
Thanks for trying. I did try to wire up the circuit you posted in your first post, but I used
2N3904 transistors, but I couldn't get it to communicate with my laptop. Those transistors are only rated at 200ma. I don't know if that'* a problem. I was able to get it to get a checksum error occasionally, but never got a complete data transfer. Usually, with the wiring as described, when I send a command, it hangs until I turn off the key on the car, and then it returns empty, so I know it is responding, although wrongly. I measured the RX side of the laptop when it was hung, and it read -9v with my DVM.
2N3904 transistors, but I couldn't get it to communicate with my laptop. Those transistors are only rated at 200ma. I don't know if that'* a problem. I was able to get it to get a checksum error occasionally, but never got a complete data transfer. Usually, with the wiring as described, when I send a command, it hangs until I turn off the key on the car, and then it returns empty, so I know it is responding, although wrongly. I measured the RX side of the laptop when it was hung, and it read -9v with my DVM.
To troubleshoot the signals in the circuit, you'd really need an oscilloscope, and even then it'* kind of a pain; the signals aren't regular, so the oscope can't cope (unless it'* digital, and then you've got more money than I do )
-b
#53
Member
Posts like a V-Tak
Join Date: May 2004
Location: San Diego,Ca
Posts: 97
Likes: 0
Received 0 Likes
on
0 Posts
Well, I tried all your suggestions including the hush chatter. I will look at my nine pin connector some more when I get home. Maybe I had it wired wrong.
#54
Member
Posts like a V-Tak
Join Date: May 2004
Location: San Diego,Ca
Posts: 97
Likes: 0
Received 0 Likes
on
0 Posts
One other question regarding the laptop connection. You said to use the RS-232 connection. Is this what is commonly called a COM port? In my device manager window, it has parameters for the COM port, and I can select the baud rate up to over 112K baud. It also has some settings for flow control.
#55
Senior Member
Posts like a Supercharger
Thread Starter
Join Date: Mar 2004
Location: Columbia, MO
Posts: 175
Likes: 0
Received 0 Likes
on
0 Posts
Originally Posted by GreenMachine
One other question regarding the laptop connection. You said to use the RS-232 connection. Is this what is commonly called a COM port? In my device manager window, it has parameters for the COM port, and I can select the baud rate up to over 112K baud. It also has some settings for flow control.
Port: whatever
Baud: 8192
Data: 8
Parity: none
Stop: 1
The buffer defaults of 256 bytes should be fine; the timing settings you may have to tweak to match your setup.
On second thought, I don't know if CarBytes insists that handshaking be off or if it uses the Windows default settings, so you might want to check that port'* settings in the device manager and change the handshaking to "off" as opposed to XON/XOFF or hardware. (Handshaking is just a nice way of each device telling the other it'* ready to send, ready to receive, etc; but the PCM isn't that sophisticated, so either of those settings would screw with communications.) Device manager shows that my port'* handshaking is off, and I don't know if I've ever tried it with any other handshaking setting.
I'd try it now, but my car is dead. :? Damn upper intake.
-b
#56
Senior Member
Posts like a Supercharger
Thread Starter
Join Date: Mar 2004
Location: Columbia, MO
Posts: 175
Likes: 0
Received 0 Likes
on
0 Posts
Originally Posted by GreenMachine
Well, I tried all your suggestions including the hush chatter. I will look at my nine pin connector some more when I get home. Maybe I had it wired wrong.
I'll ask you the same question I asked... don't remember who, sorry -- how long is your cable, and is your conversion circuit closer to the car'* diagnostic connector or your laptop?
-b
#57
Member
Posts like a V-Tak
Join Date: May 2004
Location: San Diego,Ca
Posts: 97
Likes: 0
Received 0 Likes
on
0 Posts
I have 6 feet of twisted pair cable with a ground shield between the circuit and car, and another roughly 6 feet from circuit to computer. Is there a recommended cable to use. My cable is actually intended to pass balanced audio with around 30pf/ft. I thought it should work okay at these speeds, but maybe not.
#58
Senior Member
Posts like a Supercharger
Thread Starter
Join Date: Mar 2004
Location: Columbia, MO
Posts: 175
Likes: 0
Received 0 Likes
on
0 Posts
Originally Posted by GreenMachine
I have 6 feet of twisted pair cable with a ground shield between the circuit and car, and another roughly 6 feet from circuit to computer. Is there a recommended cable to use. My cable is actually intended to pass balanced audio with around 30pf/ft. I thought it should work okay at these speeds, but maybe not.
-b
#59
Member
Posts like a V-Tak
Join Date: May 2004
Location: San Diego,Ca
Posts: 97
Likes: 0
Received 0 Likes
on
0 Posts
I thought it would be fine. I had alot of extra audio cable laying around. You don't think
havind the 12v twisted around the data signal is a problem? By the way, sorry about your intake problem.
havind the 12v twisted around the data signal is a problem? By the way, sorry about your intake problem.
#60
Member
Posts like a V-Tak
Join Date: May 2004
Location: San Diego,Ca
Posts: 97
Likes: 0
Received 0 Likes
on
0 Posts
enmityst,
I'm still brainstorming this thing as I'm at work. With the circuit you provided,
I calculate a maximium of 1.1ma flowing through Q2. One thing I tried when I
was troubleshooting was put an LED on data to ground and again from RXD to ground,
and the LED flashed brightly at the DATA side, but was very dim at RXD. Do you think changing R2 to a smaller value like 5K would hurt. How much current can RXD take? Since the transistor can take up to 200mA, there'* alot of room to play with. When I put LED on TX, I get a bright flash whenever I send a command.
I'm still brainstorming this thing as I'm at work. With the circuit you provided,
I calculate a maximium of 1.1ma flowing through Q2. One thing I tried when I
was troubleshooting was put an LED on data to ground and again from RXD to ground,
and the LED flashed brightly at the DATA side, but was very dim at RXD. Do you think changing R2 to a smaller value like 5K would hurt. How much current can RXD take? Since the transistor can take up to 200mA, there'* alot of room to play with. When I put LED on TX, I get a bright flash whenever I send a command.