Raspberry PI 4B and INPI2U RFID board

I can’t get the RFID board to show up on the i2cdetect -y 1 screen. I have a RTC module that shows up as address 68, but when I remove the RTC, there are no devices listed. Both power lights are on, the shield and the RFID EM-18 board, so I think I have the ribbon cable correctly connected. Eventually looking to use Python to communicate, but I need to get the board working correctly

Hi, The RFID is serial device. It wont show up on I2C.


Thanks. I dug out some old serial code. I got it to at least exception when I wave a tag in front of it. Is there any info on the data stream coming back? Start bit/stop bit, etc?

i used this code years ago… should work with Pi 4

import serial

ser = serial.Serial(’/dev/ttyS0’, 9600, timeout=1)

while True:
string = ser.read(12)

if len(string) == 0:
    print ("Please insert a tag")

    string = string[1:11]
    print ("string",string)

Yes, it works intermittently:
Please insert a tag
Please insert a tag
string b’\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00’
string b’\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00’
string b’\x00\x00\x00\x00\x00\x00\x00\x00’
string b’\x80x\xf8\x80\x00\x80\x00\x80\x80\x00’
string b’\xf8\x80\xf8\xf8\x80x\x80\x00\x80x’
string b’x\xf8x\x00\xf8’
string b’\xcd\x06f\xa3v\x16\x06V\x0b+’
Please insert a tag
Please insert a tag
Please insert a tag… for about 100 more, all while still presenting the fob.

ttyAMA0 doesn’t work for some reason, but ttyS0 does.

I have it more consistent now. Still uses ttyS0, but seems to be working better. Thanks for all your help