If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
OBD-II simulator
I'm building an OBD-II code scanner for a University project, and I'm at
the point where I'm ready to test it. Although I have designed several precautionary measures, I am a bit nervous about plugging it into cars before running some more basic tests. The question is, then, how can I simulate raw J1962 output of known error codes? I am using the ELM 32x series to convert to the standard RS-232 signals. |
Ads |
#2
|
|||
|
|||
DNW wrote:
> > I'm building an OBD-II code scanner for a University project, and I'm at > the point where I'm ready to test it. Although I have designed several > precautionary measures, I am a bit nervous about plugging it into cars > before running some more basic tests. The question is, then, how can I > simulate raw J1962 output of known error codes? I am using the ELM 32x > series to convert to the standard RS-232 signals. Take a good 12V battery and the scanner to the junkyard and power up a wrecked car that hasn't been stripped yet. You should get plenty of error codes. JazzMan -- ************************************************** ******** Please reply to jsavage"at"airmail.net. Curse those darned bulk e-mailers! ************************************************** ******** "Rats and roaches live by competition under the laws of supply and demand. It is the privilege of human beings to live under the laws of justice and mercy." - Wendell Berry ************************************************** ******** |
#3
|
|||
|
|||
"DNW" > wrote in message . com... > I'm building an OBD-II code scanner for a University project, and I'm at > the point where I'm ready to test it. Although I have designed several > precautionary measures, I am a bit nervous about plugging it into cars > before running some more basic tests. I hope you have disassembled at least one commercial OBD-II code scanners to see what precautionary measures they have taken. Ted |
#4
|
|||
|
|||
"DNW" > wrote in message
. com... > I'm building an OBD-II code scanner for a University project, and I'm at > the point where I'm ready to test it. Although I have designed several > precautionary measures, I am a bit nervous about plugging it into cars > before running some more basic tests. The question is, then, how can I > simulate raw J1962 output of known error codes? I am using the ELM 32x > series to convert to the standard RS-232 signals. It is good to be nervous -- DrewTech optically isolates the host interface from the vehicle by 1500V, because a running car is really a harsh environment! I've written a simple PassThru API (SAE J2534) based OBD-II simulator in LabVIEW for DrewTech's CarDAQ2534. Unfortunately the ELM is a hobbyist box and its driver is not PassThru API compliant. If you have a CarDAQ2534 and LabVIEW available, I could probably send you my simulation program. The OBD-II (SAE J1979) document describes the protocol for commands and responses. My program basically decodes the message header, identifies the mode (command), and transmits a properly formatted response to the tester. The basic process to read DTCs is: 1. Establish a logical communication channel with the ECU (any initialization necessary per-protocol) 2. Use mode 01 pid 01 to report MIL status, and # of DTCs 3. If (# DTCs > 0), then use mode 03 to report the DTC values 4. Optionally use mode 04 to clear set DTCs All of these processes are defined in the SAE document. Check our website www.drewtech.com for more information about CarDAQ and vehicle communication in general. If you're a CarDAQ user, drop me an email and I'll see what I can do about sending some sample source code for OBD-II requests and responses. -joey |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
nascar simulator base | jggodfrey | Simulators | 0 | January 31st 05 09:35 PM |
EA's Nascar Simulator? "Hello is this thing on?" | Plowboy2 | Simulators | 3 | January 11th 05 04:42 AM |
F1 Simulator: Pinball | Peter George | Simulators | 0 | December 15th 04 09:52 PM |
Extreme NASCAR Motion Simulator | [email protected] | Simulators | 2 | December 7th 04 09:43 PM |
Polish Car simulator demo | Groo the Wanderer | Simulators | 6 | October 20th 04 12:26 AM |