micky2171
Posts: 6
Joined: Sat Jun 23, 2012 2:41 pm

WiFi OBDII

Mon Jun 24, 2019 6:30 pm

I think i've tried everything at this point, and nothing seems to work.

I'm using an ELM327 WiFi Dongle, connected it to the Pi, created a socat using:

Code: Select all

sudo socat pty,link=/dev/ttyUSB0,waitslave tcp:192.168.0.10:35000
tried to bind it to rmcomm using:

Code: Select all

sudo rfcomm bind 0 /dev/ttyUSB0
and then ran a simple python script:

Code: Select all

import obd
connection = obd.OBD()
cmd = obd.commands.SPEED
response = connection.query(cmd)
print(response.value)
print(response.value.to("mph"))
All i receive is this error:

Code: Select all

serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

Return to “Other projects”