Chat freely about anything...

User avatar
By saifkazi
#72078 hey Experts
i am working on project for sending various pids of vehicle to my server using mqtt . i was thinking a way for my usb based elm327 obd2 to communicate with my esp8266.would simply connecting D+ and D- to rx and tx will
work or i would be requiring some extra converter ?

Thank you

Regards
saif
User avatar
By dragondaud
#72083 OBD2 uses 12V or 5V signaling, depending on implementation, so at minimum you'd need a voltage shifter. Some versions signal using PWM, while others use ttl serial. So it depends on the make/model/market/year :)
User avatar
By QuickFix
#72228 You could take a normal ELM327 and connect its RS232 (at TTL-level) to an ESP using a 5V-3.3V levelshifter without problems.
The 12V of the car's power and CAN/J1850 and ISO-bus-voltages will be regulated to the proper levels before it even reaches the ELM.
Image

In the ESP firmware just talk to the ESP at 38400 Baud (or 9600 Baud when the ELM is in sleep mode). :idea: