logo elektroda
logo elektroda
X
logo elektroda

Lightning Semi LN8825B ELM327 OBDII Scanner PCB Text and Baud Rate Details

divadiow 798 6
ADVERTISEMENT
  • #1 21319897
    divadiow
    Level 34  
    Another wifi ELM327 OBDII car code scanner/reader that links my current obsession with a previous one, the Lightning Semi LN8825B.

    Disassembled OBDII scanner casing with visible PCB. Black OBDII ELM327 scanner/code reader. WiFi OBDII scanner in plastic packaging. OBDII WiFi scanner packaging with informational labels. Back of the box with QR code and instruction for OBDII ELM327 scanner. OBDII ELM327 Wi-Fi scanner packaging Close-up of an electronic module with markings K413-8825 and integrated circuit components. Close-up of a PCB with markings K413-8825 and electronic components.PCB of an OBDII ELM327 adapter with visible markings K408_S2_V1.0.

    PCB text:
    K413-8825
    K408_S2_V1.0

    Close-up of a PCB of an OBDII car code scanner with pin and LN8825B chip markings.

    and from B7 at 921600 baud:

    Code: Text
    Log in, to see the code


    I can connect SWD OK using J-Flash to A1/A4 but am getting stuck on this point with any J-Flash version and config variation I can think of, so no factory flash backup to post yet.

    Screenshot of J-Flash V8.10h software showing a flash memory read error.

    Hopefully I can add more as I progress.
  • ADVERTISEMENT
  • #2 21319962
    max4elektroda
    Level 20  
    You will never stop shopping new gadgets, won't you ;-)?
    Good luck!
  • ADVERTISEMENT
  • #3 21320005
    divadiow
    Level 34  
    max4elektroda wrote:
    You will never stop shopping new gadgets, won't you ?

    😂 Not for the foreseeable future anyway 😳🤓
  • ADVERTISEMENT
  • #5 21344461
    divadiow
    Level 34  
    I've been playing a little

    I have a working backup of the OBDII firmware, taken from A1/A4 SWD using JLink, but it does not seem to want to boot when flashed back with JFlash.

    I have however turned the device into a kind of dev board. This is my second device after making a mess of the first. There's still room for improvement. The idea with this is to route usable LN8825B pads to unused OBDII connector pins. This way the device can be put back into the case and only the OBD connector pins need to be touched for flashing.

    Close-up of a PCB with labeled solder points B9_TXD, B8_RXD, A10, A4, CEN, and 3V3.

    edit: add cleaned-up image

    Printed circuit board with soldered wires and marking K413-E.
    I was careless with the A1 pad and sadly it was lost :(

    Also, the choice of B8_RXD route means that B7 and B6 for the other UARTs is hard to access - a bit of blow because checking log out now can't be done with the case closed and I don't think I can attach anything to those without upsetting the soldering of B8

    Close-up of a circuit board with markings B6 and B7.

    And it works. I have flashed it quite a few times now with the LN Serial Downloader for LN8825x (A10 grounded for UART download mode).

    Screenshot of the LN Serial Downloader program showing a serial port list.

    Flashing the OBDII backup back over UART results in a bootable device and AP broadcast. I've tried several MQLinks AT test firmwares and they all boot. The original Tuya LEDcontroller backups I took do not boot, however much I fiddle with the binary.

    I started to look into the more complete SDK referenced here.

    It took a while to get going. For one, the sdk\tools\scripts folder appeared to be missing entirely. The LN882H script folders seems to contain at least one of the files this SDK needed.

    Screenshot of the ln882x-sdk-master directory containing files and folders related to an SDK project.
    After installing the pre-reqs laid out in the attached SDK doc, Python can be used to get the build files generated

    Screenshot of CMake project compilation
    then Ninja is run on those file to compile the binary

    sadly they all fail to complete - build-wifi_mcu_basic_example hangs here on step 127.
    Console window compiling SDK projects on Windows.

    so that's where I'm at at the moment.
  • ADVERTISEMENT

Topic summary

The discussion revolves around the Lightning Semi LN8825B ELM327 OBDII car code scanner, focusing on its PCB details and performance issues. Users share insights on firmware backup and modifications, including attempts to flash the device and route connections for better accessibility. There are mentions of specific components like the Onsemi MC34063A regulator and Chipsmi QBD1044 CAN transceiver, along with challenges faced during the flashing process and device booting. Visual references to the device and its modifications are provided throughout the conversation.
Summary generated by the language model.
ADVERTISEMENT