I am trying to configure the B1 RFID hat on my raspberry pi since it is a cleaner solution than using a USB RFID reader. However I have ran into some issues.
Firstly, the documentation supplied by Eccel is very minimal and offers no library or install guide specific to a Raspberry Pi. It only offers information on a previous model not suited to a pi.
I have tried using some data and know-how, I have tried to use the UART serial to read back data from an RFID card, however it returns nothing. Here is the code I am using:
import time, serial
port = serial.Serial("/dev/serial0", baudrate=9600, timeout=3.0)
while True:
print(port.read(100)) #<-- I assume here the argument is bit count??
time.sleep(0.5)
This code does not return any errors, it just doesn't print any response when a card is presented.
If anyone has experience with this particular product and can offer an insight it will be much appreciated!
(3) RaspberryPi-B1 User Manual V1.2 (UART COM port) - Eccel https://docs.rs-online.com/e911/0900766b815c553b.pdf
– tlfong01 Jan 07 '20 at 02:17