GravityGeneral

Using 2 multiplexers to have 16 RFID working

userHead sylvain.mailhiot 2022-10-22 09:14:43 1623 Views2 Replies

Hi,

 

I've been working on a project to get 16 RFID working to do a Sudoku puzzle.  
 


These are the component that I'm using :
DFRobot 1-to-8 multiplexer (2 with addresses 0X70 and 0x71)

PN532 NFC RFID Wireless Module V3  (Link)

Arduino Nano

 

So far I can have 8 RFID working at the same time and both multiplexer are working when alone on the arduino
It seems I can get 16 initializing the RFID but when it's time to loop them to see if they have a new tag, it's not working on 90% of them.

I tried to select a port outside of the range 0-8 to make sure none of the port of the multiplexer were selected since they are both listening (both used the function .begin ).  
I did not found a method/function to put a multiplexer to sleep like I2CMultiplexer.stop() or I2CMultiplexer.pause() per example


Here is the code I'm using so far :   https://pastebin.com/UnGrmjv5


Thanks in advance

2023-02-22 16:29:11

It can aslo be an issue with the bandwidth of I2C of Arduino. Could you please try 4 RFID module on each multiplexer and try again?

userHeadPic NeloKin
2023-02-22 16:25:52

Hi

Are you asking Gravity: Digital 1-to-8 I2C Multiplexer(SKU:DFR0576)?

We have updated the library recently, could you please download the latest library and try again?

Hope it can help.

userHeadPic NeloKin