obdython icon indicating copy to clipboard operation
obdython copied to clipboard

BADDATA

Open cranky-coder opened this issue 8 years ago • 6 comments

I have a bluetooth dongle that I have hooked up to my raspberry pi. But no matter what sensor I query I get BADDATA back. I have tested with the torque app and it picked up the data.

Any ideas on troubleshooting?

cranky-coder avatar Jun 28 '16 17:06 cranky-coder

Hey brunkj. You could try connecting to the obd-ii adapter over the serial port and try to enter commands manually. What I have here works with my specific adapter, and I have not tested it with any other adapters.

souvik1997 avatar Jun 29 '16 06:06 souvik1997

any recommendations on some resources to do that? :)

cranky-coder avatar Jun 29 '16 20:06 cranky-coder

I receive the same BADDATA error. I am using the ELM327 based bluetooth OBDII adapter from Total Car Diagnostics. I was hoping since it is also based on the ELM firmware, the code would be agnostic between vendors. I know the adapter is paired; the POWER, OBD, and PC LEDs are active on the adapter while the code runs. Perhaps a formatting issue with the data? It looks like it is time for some debugging before I go buy the specific adapter you used in your project (iSaddle).

SaintAnalog avatar Jul 24 '16 22:07 SaintAnalog

Yeah it's probably a formatting issue. This code is kind of a hack and I didn't really pay much attention to compatibility with other adapters.

I would use GNU screen to connect to the serial port run the commands manually to see what happens.

souvik1997 avatar Jul 24 '16 22:07 souvik1997

This is a hobby project of mine, so it's weekend work. I also purchased the iSaddle mini Bluetooth adapter you used in your project in hopes that it's "plug-n-play." I will also work on the adapter from Total Car Diagnostics and debug the data.

SaintAnalog avatar Jul 25 '16 14:07 SaintAnalog

As a quick plug-n-play option, I received the iSaddle mini Bluetooth adapter that was used in your Picard project. Unfortunately, it also states "BADDATA". I don't have the Torque app to check, but I imagine that as long as the devices are based on legit ELM firmware and chip, there should be no issue with multiple types of adapters. Total Car Diagnostics actually states they use the exact same firmware used by ELM. Unfortunately, it will be a while for me to debug. If anyone else would like to pick up in parallel, that would be fantastic. To summarize a bluetooth adapter from iSaddle and Total Car Diagnostics both give "BADDATA" when reading; although, both are found and connect.

SaintAnalog avatar Jul 28 '16 03:07 SaintAnalog