Arduino UNO RFID Access Control with LCD Feedback and Servo Lock
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 interfaced with an RFID-RC522 module, an LCD Display (16x4 I2C), and a Servomotor SG90. The circuit is designed to read RFID tags, display information on the LCD, and control the servomotor based on the RFID input. The Arduino UNO serves as the central processing unit, managing the communication between the RFID module, the display, and the servomotor.
Component List
Arduino UNO
- Microcontroller board based on the ATmega328P
- It has 14 digital input/output pins, 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header, and a reset button.
RFID-RC522
- A radio frequency identification (RFID) reader module that operates at 13.56 MHz.
- It communicates with the Arduino via SPI protocol.
LCD Display 16x4 I2C
- A 16x4 character LCD display with an I2C interface module.
- It displays information and is connected to the Arduino through the I2C bus.
Servomotor SG90
- A small and lightweight servo motor capable of precise control.
- It can be positioned at various angles from 0 to 180 degrees.
JST PH 2.0 connector
- A 2-pin connector commonly used for battery and signal connections.
Splicing connector WAGO 221
- A reusable splicing connector with lever nuts used for easy wire connections.
Comment
- A placeholder for additional notes or comments in the circuit design.
Wiring Details
Arduino UNO
3.3Vconnected to RFID-RC522 VCC (3.3V)5Vconnected to Splicing connector WAGO 221 Port 1GNDconnected to Splicing connector WAGO 221 Port 1A4 (SDA)connected to LCD Display 16x4 I2C SDAA5 (SCL)connected to LCD Display 16x4 I2C SCLD13 (SCK)connected to RFID-RC522 SCKD12 (MISO)connected to RFID-RC522 MISOD11 (MOSI)connected to RFID-RC522 MOSID10 (SDA)connected to RFID-RC522 SDAD9 (RST)connected to RFID-RC522 RSTD3 (SIG)connected to Servomotor SG90 SIG
RFID-RC522
VCC (3.3V)connected to Arduino UNO 3.3VRSTconnected to Arduino UNO D9GNDconnected to Splicing connector WAGO 221 Port 4IRQ(Not connected)MISOconnected to Arduino UNO D12MOSIconnected to Arduino UNO D11SCKconnected to Arduino UNO D13SDAconnected to Arduino UNO D10
LCD Display 16x4 I2C
SCLconnected to Arduino UNO A5SDAconnected to Arduino UNO A4VCCconnected to Splicing connector WAGO 221 Port 5GNDconnected to Splicing connector WAGO 221 Port 5
Servomotor SG90
SIGconnected to Arduino UNO D3VCCconnected to Splicing connector WAGO 221 Port 2GNDconnected to Splicing connector WAGO 221 Port 2
Splicing connector WAGO 221 (Instance 1)
Port 1connected to Arduino UNO 5VPort 2connected to Servomotor SG90 VCCPort 4(Not used)Port 5connected to LCD Display 16x4 I2C VCC
Splicing connector WAGO 221 (Instance 2)
Port 1connected to Arduino UNO GNDPort 2connected to Servomotor SG90 GNDPort 4connected to RFID-RC522 GNDPort 5connected to LCD Display 16x4 I2C GND
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Notes (documentation.txt)
No additional code documentation provided.