Kit Arduino UNO R3 RFID
Kit Arduino UNO R3 RFID

Kit Arduino UNO R3 RFID
Se livreaza in cutie de plastic.
Contine:
1 X UNO R3 Board
1 X Cablu USB
1 X Set Jump Cable (40 pini)
1 X Breadboard
30 X LED (10xgalben,10xverde,10xrosu)
3 X Seturi rezistente (220ohm, 1k, 10k)
1 X Set fire mama tata
1 X Potentiometru
2 X Buzzer
1 X 74HC595
1 X Receiver infrarosu
1 X LM35
1 X Senzor flacara
2 X Intreupator ball pentru miscare
3 X Fotorezistor
4 X Breadboard buton
1 X Telecomanda IR, raza de acțiune: 8-10 m
1 X 4-digit display tube
1 X 8*8 dot matrix module
1 X 1 digit display tube
1 X Set motor pas cu pas 28BYJ-48 tensiune 5V
1 X Driver ULN2003 pentru motor pas cu pas
1 X Motor servo, tensiune de alimentare: 4.8V – 6V; Viteză maximă la 6V: 130RPM / 0.07 sec/60 grade
1 X I2C 1602 LCD
1 X XY Modul joystick
1 X Modul temperatura DHT11 tensiune 3.3V – 5V;
1 X Modul nivel lichid tensiune 3V – 5V; Umiditate: 10% – 90%
1 X Modul RFID
1 X RFID keychain
1 X RFID Card alb
1 X Modul sunet cu microfon
1 X Modul releu
1 X Modul ceas
1 X 4*4 Tastatura butoane
1 X Modul led RGB 3 culori
1 X Cablu baterie 9V
Tutorial RFID:
Libraria se poate descrca de la GIthub:
Exemplu cod:
#include
#include
#include
#define RST_PIN 7 // Configurable, see typical pin layout above
#define SS_PIN 6 // Configurable, see typical pin layout above
MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance
void setup() {
Serial.begin(9600); // Initialize serial communications with the PC
SPI.begin();
// disable Ethernet
pinMode(10,OUTPUT);
digitalWrite(10,HIGH);
// disable SD
pinMode(4,OUTPUT);
digitalWrite(4,HIGH);
mfrc522.PCD_Init();
mfrc522.PCD_DumpVersionToSerial(); // Show details of PCD - MFRC522 Card Reader details
Serial.println(F("Scan PICC to see UID, SAK, type, and data blocks..."));
}
void loop() {
// Look for new cards
if ( ! mfrc522.PICC_IsNewCardPresent()) {
return;
}
// Select one of the cards
if ( ! mfrc522.PICC_ReadCardSerial()) {
return;
}
int UID = getUID();
Serial.print("UID: ");
Serial.println(UID);
// Dump debug info about the card; PICC_HaltA() is automatically called
mfrc522.PICC_DumpToSerial(&(mfrc522.uid));
}
int getUID() {
unsigned int hex_num;
hex_num = mfrc522.uid.uidByte[0] << 24;
hex_num += mfrc522.uid.uidByte[1] << 16;
hex_num += mfrc522.uid.uidByte[2] << 8;
hex_num += mfrc522.uid.uidByte[3];
return hex_num;
}
Schema: