🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    I can't use ATOMIC Barcode/QR-Code Scanner 2 Base after factory reset

    Atom
    3
    5
    720
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      HW101
      last edited by

      I'd like to use ATOMIC Barcode/QR-Code Scanner 2 Base via ATOM Matrix.

      Before the factory reset, I was able to communicate with the module through uart.

      uart = UART(1, 115200, rx=Pin(22), tx=Pin(19))
      uart.init(115200, bits=7, parity=None, stop=1, timeout=100)
      

      However, after sending the facotory reset command, we could not communicate with the module at all.

      uart.write(bytes([0x32, 0x76, 0x01]))
      

      Does anyone know how to solve this problem?

      S kurikoK 2 Replies Last reply Reply Quote 1
      • S
        Scotty42 @HW101
        last edited by

        Same here. I'm using it with the M5 Atom Lite.
        By pulling the TRIG PIN low, the module can still be activated. It also recognizes QR Codes.
        But serial communication is broken, I2C is not supported.

        BR Scotty42

        1 Reply Last reply Reply Quote 0
        • kurikoK
          kuriko @HW101
          last edited by

          @HW101 @Scotty42
          pull the TRIG pin low and scan this barcode
          bad5272e-aaac-47df-857b-c6d130524d36-image.png

          Good morning, and welcome to the Black Mesa Transit System.

          S 2 Replies Last reply Reply Quote 0
          • S
            Scotty42 @kuriko
            last edited by Scotty42

            @kuriko Thanks! Principle is understood: <AW> is the barcode prefix equivalent for "configure write" which when sent over serial would be "21". "424000" is the code for setting the comms interface to RS232. So it seems as if the factory reset code sets the comms interface to something else than RS232.

            Do you by any chance also have the barcode prefix equivalents for "Configure read 0x23", "Control instruction 0x32", "Status reads 0x43" or point to any document where this is explained ?

            I currently don't have access to the "bricked" QR-Code Scanner but I will test and report back as soon as possible!

            1 Reply Last reply Reply Quote 1
            • S
              Scotty42 @kuriko
              last edited by

              Meanwhile I can confirm that the method described by @kuriko worked for me 100%!
              I had two "bricked" QR-Code2 scanners and both are alive again!

              1 Reply Last reply Reply Quote 1
              • First post
                Last post