Access control R2D2 with RFID-RC522 reader
See the circuit.
# 1 Arduino UNO or Arduino MEGA
# 1 RFID-RC522
# 1 RELAY BOARD BTE13 5V
# 1 LED RGB
# 1 BUZZER
# 3 RESISTOR 330R
# SOME WIRES
MFRC522 -> Pinout of Arduino UNO
# RST -> 9
# SDA(SS) -> 10
# MOSI -> 11
# MISO -> 12
# SCK -> 13
MFRC522 -> Pinout of Arduino Mega
# RST -> 5
# SDA(SS) -> 53
# MOSI -> 51
# MISO -> 50
# SCK -> 52