Search code examples
python-3.xraspberry-piraspberry-pi3i2cspi

Conflict RC522 & Fingerprint VIA i2c pins on Raspberry Pi B


Fingerprint is connected on Pin3 & Pin 5

RC522 connected on Pin 24,23..etc as standard tutorials

Problem:

On the same script, if comment the line: id, text = reader.read()

the fingerprint works, if not the rfid reader works.

if i leave both as the following code, an error occurs: enter link description here

Code

/boot/config.txt:

dtparam=audio=on

dtoverlay=w1-gpio

enable_uart=1

dtparam=uart1=on

#dtparam=i2c

dtparam=spi=on

dtoverlay=pi3-disable-bt

dtparam=i2c_arm_baudrate=10000

dtparam=i2s=on

dtparam=i2c0=on

dtparam=i2c1=on

dtparam=i2c=on

gpio readall enter image description here

Raspberry enter image description here enter image description here

Thank you,


Solution

  • I have connected the fingerprint via USB to UART convertor. So no more conflict between fingerprint and RC522.