Skip to content

Commit a702e5e

Browse files
author
Brendan Whitfield
committed
added unrespeonsive vehicle docs
1 parent 503b487 commit a702e5e

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

docs/Troubleshooting.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,47 @@ This is likely a problem with the serial connection between the OBD-II adapter a
8080
- you are connecting to the right port in `/dev` (or that there is any port at all)
8181
- you have the correct permissions to write to the port
8282

83+
You can use the `scanSerial()` helper function to determine which ports are available for writing.
84+
85+
```python
86+
import obd
87+
88+
ports = obd.scanSerial() # return list of valid USB or RF ports
89+
print ports # ['/dev/ttyUSB0', '/dev/ttyUSB1']
90+
```
91+
92+
<br>
93+
94+
### Unresponsive Vehicle
95+
96+
```
97+
[obd] ========================== python-OBD (v0.4.0) ==========================
98+
[obd] Explicit port defined
99+
[obd] Opening serial port '/dev/pts/2'
100+
[obd] Serial port successfully opened on /dev/pts/2
101+
[obd] write: 'ATZ\r\n'
102+
[obd] wait: 1 seconds
103+
[obd] read: 'ATZ\rELM327 v2.1\r'
104+
[obd] write: 'ATE0\r\n'
105+
[obd] read: 'ATE0\rOK\r'
106+
[obd] write: 'ATH1\r\n'
107+
[obd] read: 'OK\r'
108+
[obd] write: 'ATL0\r\n'
109+
[obd] read: 'OK\r'
110+
[obd] write: 'ATSPA8\r\n'
111+
[obd] read: 'OK\r'
112+
[obd] write: '0100\r\n'
113+
[obd] read: 'SEARCHING...\rUNABLE TO CONNECT\r'
114+
[obd] write: 'ATDPN\r\n'
115+
[obd] read: '0\r'
116+
[obd] Connection Error:
117+
[obd] ELM responded with unknown protocol
118+
[obd] Failed to connect
119+
[obd] =========================================================================
120+
```
121+
122+
This is a connection problem between the ELM adapter and your car. Make sure that you car is powered, and that the electrical connection between the adapter and your car's OBD-II port is sound.
123+
83124
---
84125

85126
<br>

0 commit comments

Comments
 (0)