Bluetooth communication with OBDII device

813 views
Skip to first unread message

Gabriel Esteves

unread,
Apr 6, 2014, 6:45:55 PM4/6/14
to ai...@googlegroups.com
Hi. I am an App Inventor beginner and need help. :)

I'm trying to develop an android app that communicates with an OBD II device with bluetooth integrated (ELM 327).

My app is already communicating with the OBD II device and I am trying to send a code to request the RPM of the vehicle (PID 010C) but the ELM327 does not return the correct answer, it returns the same code that I sent.
nke in my app), but the terminal has the option \r\n to send the PID code with this command and when I check this option the ELM 327 returns a correct answer.

Conclusion: Maybe I am not sendind the \r\n command in my app and I trying a lot to send it, but it don't works.

I send 01 0C and expects the answer 41 01 xx xx , where xx xx is the rpm in hexadecimal.

Anyone can help me how to resolve this problem?

My last block is in the image attached.

Thanks!


Alessandro Augusto Bovolenta

unread,
Oct 17, 2014, 12:30:08 AM10/17/14
to ai...@googlegroups.com, beleue...@gmail.com
Uses bluetooth.send1ByteNumber Number 13

not bluetooth.sendtext text "\n"

Jake White-Rowell

unread,
Jun 2, 2015, 8:38:31 AM6/2/15
to ai...@googlegroups.com, beleue...@gmail.com
Hi

How did you manage to get the app to connect with the ELM 327?

When I try it, I get error message 507?

Thanks for your help!

Jake

Keerthi Manikonda

unread,
Jul 24, 2016, 11:56:10 AM7/24/16
to App Inventor for All, beleue...@gmail.com
Hello!

I am working on an app that connects to the OBDII device to monitor driving habits. I do not know where to start exactly when it comes to the connection with the device and retrieving information from the device. I am a very amateur coder and would really appreciate your help and guidance. I would like to know how ti get the connection going and how to retrieve information from the device and display it in the app.

Thank you!
Keerthi  
Reply all
Reply to author
Forward
0 new messages