Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. EstelleA
    E
    • Continue chat with EstelleA
    • Start new chat with EstelleA
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    EstelleA

    @EstelleA

    0
    Reputation
    1
    Posts
    161
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    EstelleA Follow

    Posts made by EstelleA

    • UHF RFID Unit(JRD-4035), ESP-wroom-32 and Micropython

      Hello everyone !
      I'm trying to use the UHF RFID Unit (JRD-4035) to collect the ID of an UHF tag.
      It's linked to an ESP-Wroom-32 chip thanks to UART.
      I use a simple code on micropython but I can't read any tag. It returns me nothing.

      import machine
      import time
      
      print("Lancement du programme")
      
      #uart = UART(1, 115200)                         
      #uart.init(115200, bits=8, parity=None, stop=1)
      
      uart = machine.UART(2, baudrate=115200, rx=16, tx=17)
      
      print("UART connexion created")
      print("Waiting for a tag")
      while True:
          if uart.any():
              data = read_rfid()
              # check if a tag has been detected
              if len(data) > 0:
                print("Tag detected: {}".format(data))
              time.sleep(0.5)
      

      I work with these tag, maybe they are not compatible with this unit : https://www.amazon.fr/dp/B07B6LSKXG?psc=1&ref=ppx_yo2ov_dt_b_product_details

      Is there anybody who tried to do something like this ?
      If you have example in Arduino, I'm interested to !

      Thank you and have a nice day.

      Estelle

      posted in Units
      E
      EstelleA