Interesting ideas. Since it provides a command-line interface, I presume it talks via USB?
If you are using a usb-to-serial converter for the job, it needs to be supported on all three major platforms [linux, OSX, windows]. pl2303 or ftdi are both really good for multiple platforms IME, but I'm sure there are many many more
— OBDLink MX: world's smallest, fastest, most advanced OBD/Bluetooth adapter with SW and MS CAN support. Read the review to learn more.
— Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!
You cannot send me a private message using this forum. Use my email instead: vitaliy[@]scantool.net.
So, I wrote an ELM327 simulator. It's in the same repo as obdgpslogger, the introductory post [with some of the major features listed] is here: New Toy: obdsim
I borrowed excessively from malcolm2073's code linked in this thread, so the fact that it *works* is directly attributable to him. Individual features, I'll take credit for, but the core posix voodoo is ripped almost directly from his [very readable] codebase.
I am looking for some software which can Simulate all the vehicles protocols like the ECU simulators offered by scantool.net but instead i need it to work of a pc and i need it to use a obd 2 connector. Any ideas can anybody help?
cnotesdip, what kind of hardware do you have available you for this project?
Or do you want it to connect directly from the PC without any additional hardware?
Without hardware that is going to be a bit of a problem.
PC-communication differs from Car communication on a hardware level.
I do not know of any Pc-program or hardware that is capable of simulating the J1850 protocols. So, you will need to develop some internal or external hardware that is capable of communicating with J1850 VPW and PWM.
For the can-protocol you need a can-chip and transceiver because the signals are too fast for the PC either on an internal board or in an external device.
The software of course you will have to write yourself.
cnotesdip: OK, we got the message [all twenty or thirty of them]. Please stop emailing me and cross-posting on these forums, asking the same thing.
Are you asking about hardware or software? If you want to build hardware, I've no idea how to help, or why you can't just use www.ozenelektronik.com or scantool.net stuff.
If you want to build software, do you want something that simulates an ELM327 attached to something [in which case most protocol stuff will mostly be hidden and opaque], or do you want something that simulates actual ECUs? There are a few ELM327 software sims out there.
If you're trying to simulate actual ECUs, I don't know of any software to do that, and nor am I particularly interested in such a thing. What are you attaching it to on the receiving end? It seems like you want some kind of rich software thing that you can connect an OBDII reader to? What do you need that for?
Perhaps if you could explain what you're trying to achieve rather than how you're trying to do it, it would be easier to help you out.
cnotesdip, if you can write the software for a scanner, you can also write your own simulator. I did the same, so it is possible.
But you do need to solve the hardware problem. You just cannot connect a PC to a car or a scanner directly.