Hey Guy today i gonna show you my arduino RFID Interface and you can make it by your self and i used this code is for sensor the card number and security card true or false ,etc... code: // the sensor communicates using SPI, so include the library: #include <SPI.h> #define uchar unsigned char #define uint unsigned int #define MAX_LEN 16 ///////////////////////////////////////////////////////////////////// //set the pin ///////////////////////////////////////////////////////////////////// const int chipSelectPin = 10;//UNO,328,168 const int chipSelectPin = 53; //mega 2560,1280 const int NRSTPD = 5; #define PCD_IDLE 0x00 #define PCD_AUTHENT 0x0E #define PCD_RECEIVE 0x08 #define PCD_TRANSMIT ...
留言
張貼留言