Arduino UNO RFID Access Control System with OLED Display and Servo Mechanism
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, an RFID-RC522 module, a Tower Pro SG90 servo, an OLED display, several LEDs, resistors, a piezo buzzer, and a few other components. The circuit is designed to interface with various sensors and actuators, providing a comprehensive example of embedded system design.
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
RFID-RC522
- Description: A low-cost RFID reader module.
- Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA
Tower Pro SG90 Servo
- Description: A small and lightweight servo motor.
- Pins: Signal, +5V, GND
OLED 1.3"
- Description: A 1.3-inch OLED display.
- Pins: GND, VCC, SCL, SDA
LED: Two Pin (blue)
- Description: A blue LED.
- Pins: cathode, anode
LED: Two Pin (red)
- Description: A red LED.
- Pins: cathode, anode
LED: Two Pin (yellow)
- Description: A yellow LED.
- Pins: cathode, anode
Resistor (200 Ohms)
- Description: A resistor with a resistance of 200 Ohms.
- Pins: pin1, pin2
Piezo Buzzer
- Description: A piezoelectric buzzer.
- Pins: pin 1, pin 2
Wiring Details
Arduino UNO
GND is connected to:
- Piezo Buzzer pin 1
- RFID-RC522 GND
- OLED 1.3" GND
- Tower Pro SG90 Servo GND
5V is connected to:
- OLED 1.3" VCC
- Tower Pro SG90 Servo +5V
D5 is connected to:
- Piezo Buzzer pin 2
D4 is connected to:
- Resistor pin1 (200 Ohms)
D3 is connected to:
- Resistor pin1 (200 Ohms)
D2 is connected to:
- Resistor pin1 (200 Ohms)
3.3V is connected to:
- RFID-RC522 VCC (3.3V)
A4 is connected to:
- OLED 1.3" SDA
A5 is connected to:
- OLED 1.3" SCL
D13 is connected to:
- RFID-RC522 SCK
D12 is connected to:
- RFID-RC522 MISO
D11 is connected to:
- RFID-RC522 MOSI
D10 is connected to:
- RFID-RC522 SDA
D9 is connected to:
- RFID-RC522 RST
D6 is connected to:
- Tower Pro SG90 Servo Signal
RFID-RC522
GND is connected to:
- Arduino UNO GND
VCC (3.3V) is connected to:
- Arduino UNO 3.3V
SCK is connected to:
- Arduino UNO D13
MISO is connected to:
- Arduino UNO D12
MOSI is connected to:
- Arduino UNO D11
SDA is connected to:
- Arduino UNO D10
RST is connected to:
- Arduino UNO D9
Tower Pro SG90 Servo
GND is connected to:
- Arduino UNO GND
+5V is connected to:
- Arduino UNO 5V
Signal is connected to:
- Arduino UNO D6
OLED 1.3"
GND is connected to:
- Arduino UNO GND
VCC is connected to:
- Arduino UNO 5V
SDA is connected to:
- Arduino UNO A4
SCL is connected to:
- Arduino UNO A5
LED: Two Pin (blue)
- cathode is connected to:
- Resistor pin2 (200 Ohms)
LED: Two Pin (red)
- cathode is connected to:
- Resistor pin2 (200 Ohms)
LED: Two Pin (yellow)
- cathode is connected to:
- Resistor pin2 (200 Ohms)
Resistor (200 Ohms)
pin1 is connected to:
- Arduino UNO D4 (for one resistor)
- Arduino UNO D3 (for another resistor)
- Arduino UNO D2 (for another resistor)
pin2 is connected to:
- LED: Two Pin (blue) cathode
- LED: Two Pin (red) cathode
- LED: Two Pin (yellow) cathode
Piezo Buzzer
pin 1 is connected to:
- Arduino UNO GND
pin 2 is connected to:
- Arduino UNO D5
Documented 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, with empty setup and loop functions. You can add your specific initialization and main code logic within these functions.