开云体育

Locked Re: RFID Connectivity #rfid


 

MFRC522, Uno, Ethernet

Tom,

thanks for the latest sketch, which I call v6. Whatever you did fixed the problem, it now just detects the connected readers. I have tried v6 on two Uno/Ethernet combos and they both work.

However (there's always one of those isn't there!), a couple of curious observations. If the sketch is uploaded to just an Uno, it detects the reader(s), but doesn't read tags.. If the sketch is uploaded to an Uno with an Ethernet Shield attached, it detects the reader(s), but doesn't read any tags. If the Uno/Ethernet Shield are now connected to the network, it does work and read tags both with JMRIs network connection and on the Serial Monitor.

I don't yet have a separate power supply for the Uno, so can't check the Serial only with Arduino IDE running as it's two applications trying to use the same Com Port.

I sort of expected the sketch to work in Serial Mode if a) no shield was attached and b) if the shield was attached but not connected to the network. I think this was what was frustrating me yesterday. In the interests of 'one size fits all', it would have been good if the sketch could do this. If not, then we still have the 8 Reader Serial Only sketch to fall back on.

Steve

Join [email protected] to automatically receive all group messages.