-
Notifications
You must be signed in to change notification settings - Fork 525
Open
Description
Hi, I spent over a month waiting for this item to arrive at my doorstep due to constant package delays. I am now extremely frustrated because I cannot get the OBD reader to initialize. I have double-checked all the connections and am trying to debug the reader and why obd.init() keeps failing. I am using a slightly modified version of the obd_uart_test, which just replaces the Serial outputs with screen output. Everything appears fine until the commands 0100, 010C, and 0902 are sent. Those return UNABLE TO CONNECT. Mems afterwords still returns Yes. From there on, I am stuck in a loop, waiting for the reader to initialize. I'm kinda lost here, so any and all help would be welcome. Thanks!

tft.println("Connecting...");
for (;;) {
delay(10000);
byte version = obd.begin();
tft.print("Freematics OBD-II Adapter ");
if (version > 0) {
tft.println("detected");
tft.print("OBD firmware version ");
tft.print(version / 10);
tft.print('.');
tft.println(version % 10);
break;
} else {
tft.println("not detected");
}
}
testATcommands();
hasMEMS = obd.memsInit();
tft.print("MEMS:");
tft.println(hasMEMS ? "Yes" : "No");
do {
tft.println("Initializing...");
} while (!obd.init());
tft.println("OBD connected!");
Metadata
Metadata
Assignees
Labels
No labels