RFID - sharing I/O pins?
xanatos
Posts: 1,120
Just wondering... If I need four RFID modules running in a project, that will be read at random but non-simultaneous times, can they share I/O lines?
Thanks,
Dave
Thanks,
Dave
Comments
Couldn't you save two if you were ok with one reader being always on? You can gate type decoder such as the one below to control the enable lines. And for one more pin you can have 8 readers.
wiki image
The kind of device I was suggesting is similar to what you showed except that 3 of the 4 lines are high (rather than low) and the 4th line is connected to the /enable line using 2 bits (a0 and a1) to select which line to connect to the /enable line. It's called a decoder rather than a selector and the 74HC139 is a dual version of it.
Thanks,
Dave
I've bought four RFID Readers Modules (#28140) and I'm trying to use them all in the same circuit, but one at time, by multiplexing the |CE (Chip Enable) of each module and parallel wiring of the Serial Output of all the modules into the same TX bus.
Everything works well with one module on the TX bus. As soon as I place the second module in the same TX bus, I can't get the serial transmission with the microprocessor.
Have you got any idea on how to wire 4 modules, to be controlled by 1 microprocessor with only 1 uart?
I'm attaching an image of the schematic.
Waitin anxiously for your help.
Best regards,
Nicolas Rosencovich
By the way, could you suggest which reverse diode to use and which value of pull up resistor would be better?
Again, I'm very grateful for your explicative and fast response.