grimlockrocks / pi-bluetooth-obd

Connect Raspberry Pi with Bluetooth OBD adapter and collect real-time car data.
89 stars 15 forks source link

Hi! #3

Open balde93 opened 5 years ago

balde93 commented 5 years ago

I've done each step on you guide. When i try to connect to my OBD device (KKMOON obd) i get no response to ATH1 message, here the output: [obd.obd] ======================= python-OBD (v0.7.1) ======================= [obd.obd] Using scan_serial to select port [obd.obd] Available ports: ['/dev/rfcomm0'] [obd.obd] Attempting to use port: /dev/rfcomm0 [obd.elm327] Initializing ELM327: PORT=/dev/rfcomm0 BAUD=auto PROTOCOL=auto [obd.elm327] Response from baud 38400: '' [obd.elm327] Response from baud 9600: '' [obd.elm327] Response from baud 230400: '' [obd.elm327] Response from baud 115200: '' [obd.elm327] Response from baud 57600: '?\r\r>?\r\r>?\r\r>?\r\r>' [obd.elm327] Choosing baud 57600 [obd.elm327] write: 'ATZ\r' [obd.elm327] wait: 1 seconds [obd.elm327] read: b'?\r\r>\r\rELM327 v1.5\r\r>' [obd.elm327] write: 'ATE0\r' [obd.elm327] read: b'OK' [obd.elm327] write: 'ATH1\r' [obd.elm327] read: b'\r\r>' [obd.elm327] closing port [obd.elm327] write: 'ATZ\r' [obd.elm327] ATH1 did not return 'OK', or echoing is still ON [obd.obd] Closing connection [obd.obd] Cannot load commands: No connection to car [obd.obd] =================================================================== [obd.obd] Query failed, no connection available

Anybody know why? It seems that the device does not recognize ATH1 since it receives and responses to ATE0.

ps: The baudrate is not fixed within different trials, may be this an hint?