Arduino UNO RFID Access Control System with LED Indicators and Buzzer
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, LEDs, resistors, a buzzer, a servo motor, and an RFID module. The circuit is designed to demonstrate basic interfacing and control of these components using the Arduino platform.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
LED: Two Pin (red)
- Description: A red LED with two pins: cathode and anode.
LED: Two Pin (green)
- Description: A green LED with two pins: cathode and anode.
Resistor (200 Ohms)
- Description: A resistor with a resistance of 200 Ohms.
- Pins: pin1, pin2
Buzzer
- Description: A simple buzzer with two pins: PIN and GND.
Tower Pro SG90 Servo
- Description: A small servo motor with three pins: Signal, +5V, and GND.
RFID-RC522
- Description: An RFID module with multiple pins for interfacing.
- Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA
Wiring Details
Arduino UNO
- D6 connected to PIN of the Buzzer.
- GND connected to GND of the Buzzer, cathode of the Red LED, cathode of the Green LED, GND of the Servo, and GND of the RFID-RC522.
- D4 connected to pin2 of the Resistor (200 Ohms).
- D5 connected to pin2 of the Resistor (200 Ohms).
- 3.3V connected to VCC (3.3V) of the RFID-RC522.
- 5V connected to +5V of the Servo.
- D13 connected to SCK of the RFID-RC522.
- D12 connected to MISO of the RFID-RC522.
- D11 connected to MOSI of the RFID-RC522.
- D10 connected to SDA of the RFID-RC522.
- D9 connected to RST of the RFID-RC522.
- D3 connected to Signal of the Servo.
Buzzer
- PIN connected to D6 of the Arduino UNO.
- GND connected to GND of the Arduino UNO.
LED: Two Pin (red)
- cathode connected to GND of the Arduino UNO.
- anode connected to pin1 of the Resistor (200 Ohms).
LED: Two Pin (green)
- cathode connected to GND of the Arduino UNO.
- anode connected to pin1 of the Resistor (200 Ohms).
Resistor (200 Ohms)
- pin2 connected to D4 of the Arduino UNO.
- pin1 connected to anode of the Red LED.
Resistor (200 Ohms)
- pin2 connected to D5 of the Arduino UNO.
- pin1 connected to anode of the Green LED.
Tower Pro SG90 Servo
- Signal connected to D3 of the Arduino UNO.
- +5V connected to 5V of the Arduino UNO.
- GND connected to GND of the Arduino UNO.
RFID-RC522
- VCC (3.3V) connected to 3.3V of the Arduino UNO.
- RST connected to D9 of the Arduino UNO.
- GND connected to GND of the Arduino UNO.
- SCK connected to D13 of the Arduino UNO.
- MISO connected to D12 of the Arduino UNO.
- MOSI connected to D11 of the Arduino UNO.
- SDA connected to D10 of the Arduino UNO.
Code
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Arduino UNO. The setup() function is used to initialize any settings, and the loop() function contains the main code that runs repeatedly.