Go Down

Topic: Arduino Uno + Ethernet Shield + RFID (Read 1 time) previous topic - next topic



I have Arduino Uno + Ethernet Shield + RFID (http://www.ebay.com/itm/RFID-module-Kit-13-56-Mhz-with-Tags-SPI-Write-and-Read-For-Arduino-/150961957277?

The RFID sensor communicates using SPI, i think that ethernet shield uses the same pins (Miso, SCK, SS, MOSI) how can i put this rfid sensor working with ethernet shield?

Best Regards,
Marco Gaspar


You can use any pin for the SS pin, except 10, 11, 12, or 13. Pins 11, 12, and 13 will be used by both devices, but only one SS pin (10 for ethernet, 4 if using the SD card on the ethernet shield (if it has one)) can be active at a time. The ethernet library manages its SS pin; the SD library manages its SS pin. You can see how they do it, and manage your SS pin the same way.
The art of getting good answers lies in asking good questions.

Go Up