Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino UNO RFID Access Control with Servo Lock and I2C LCD Feedback

Image of Arduino UNO RFID Access Control with Servo Lock and I2C LCD Feedback

Circuit Documentation

Summary

This circuit integrates an Arduino UNO microcontroller with an RFID-RC522 module, a 16x2 LCD screen with an I2C interface, and a servo motor. The Arduino UNO serves as the central processing unit, controlling the RFID reader for tag scanning, displaying information on the LCD, and driving the servo motor based on the program logic. The RFID-RC522 is used for contactless communication and identification using radio frequency. The LCD screen displays data or status messages, while the servo motor is capable of moving to a specified position.

Component List

Arduino UNO

  • Description: A microcontroller board based on the ATmega328P.
  • Purpose: Acts as the central controller for the circuit, interfacing with the RFID module, LCD screen, and servo motor.
  • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, Analog (A0-A5), SCL, SDA, AREF, Digital (D0-D13).

RFID-RC522

  • Description: A 13.56 MHz RFID module with an SPI interface.
  • Purpose: Reads RFID tags and communicates with the Arduino UNO.
  • Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA.

LCD screen 16x2 I2C

  • Description: An alphanumeric liquid crystal display with an I2C interface.
  • Purpose: Displays information and status messages.
  • Pins: SCL, SDA, VCC, GND.

Servo

  • Description: A rotary actuator or linear actuator that allows for precise control of angular or linear position.
  • Purpose: Moves to positions as instructed by the Arduino UNO.
  • Pins: GND, VCC, PWM.

Wiring Details

Arduino UNO

  • 5V connected to LCD screen VCC and Servo VCC.
  • GND connected to LCD screen GND, Servo GND, and RFID-RC522 GND.
  • 3.3V connected to RFID-RC522 VCC (3.3V).
  • A4 (SDA) connected to LCD screen SDA.
  • A5 (SCL) connected to LCD screen SCL.
  • D13 (SCK) connected to RFID-RC522 SCK.
  • D12 (MISO) connected to RFID-RC522 MISO.
  • D11 (MOSI) connected to RFID-RC522 MOSI.
  • D10 (SS) connected to RFID-RC522 SDA.
  • D9 connected to RFID-RC522 RST.
  • D8 connected to Servo PWM.

RFID-RC522

  • VCC (3.3V) connected to Arduino UNO 3.3V.
  • RST connected to Arduino UNO D9.
  • GND connected to Arduino UNO GND.
  • IRQ not connected.
  • MISO connected to Arduino UNO D12.
  • MOSI connected to Arduino UNO D11.
  • SCK connected to Arduino UNO D13.
  • SDA connected to Arduino UNO D10.

LCD screen 16x2 I2C

  • SCL connected to Arduino UNO A5.
  • SDA connected to Arduino UNO A4.
  • VCC connected to Arduino UNO 5V.
  • GND connected to Arduino UNO GND.

Servo

  • GND connected to Arduino UNO GND.
  • VCC connected to Arduino UNO 5V.
  • PWM connected to Arduino UNO D8.

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:

}

Note: The provided code is a template and does not contain any functional code. It needs to be populated with the logic to control the RFID-RC522, LCD screen, and servo motor based on the requirements of the project.