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
-
Trying to read the UHF RFID without initializing all required parameters first (UHF Zone, Channel etc ..) will give you nothing back.
Try the UIFlow examples for the UHF RFID unit first. There you will find all the parameters you have to set for your country using the unit (https://www.gs1.org/sites/default/files/docs/epc/uhf_regulations.pdf)