Skip to content

Freematics OBD-II UART Adapter V2.1 CANNOT Initialize! #70

@ALEEF02

Description

@ALEEF02

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!
image

  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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions