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

Arduino UNO Controlled RFID Access with Servo Lock and LCD Feedback

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

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to interface an RFID-RC522 module with an Arduino UNO, control two SG90 servomotors, and display information on a 16x4 LCD display with an I2C interface. The Arduino UNO serves as the central microcontroller unit, managing the RFID reader for tag detection, driving the servomotors, and communicating with the LCD display.

Component List

RFID-RC522

  • Description: An RFID reader/writer module for contactless communication at 13.56MHz.
  • Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA

Arduino UNO

  • Description: A microcontroller board based on the ATmega328P.
  • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13

Servomotor SG90 (x2)

  • Description: A small and lightweight servo motor for precise control.
  • Pins: SIG, VCC, GND

LCD Display 16x4 I2C

  • Description: A 16x4 character LCD display with an I2C interface.
  • Pins: SCL, SDA, VCC, GND

Wiring Details

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

Arduino UNO

  • 3.3V connected to RFID-RC522 VCC (3.3V)
  • 5V connected to both Servomotors SG90 VCC and LCD Display VCC
  • GND connected to RFID-RC522 GND, both Servomotors SG90 GND, and LCD Display GND
  • A4 connected to LCD Display SDA
  • A5 connected to LCD Display SCL
  • D5 connected to Servomotor SG90 (1st instance) SIG
  • D6 connected to Servomotor SG90 (2nd instance) SIG
  • D9-D13 used for interfacing with RFID-RC522

Servomotor SG90 (1st instance)

  • SIG connected to Arduino UNO D5
  • VCC connected to Arduino UNO 5V
  • GND connected to Arduino UNO GND

Servomotor SG90 (2nd instance)

  • SIG connected to Arduino UNO D6
  • VCC connected to Arduino UNO 5V
  • GND connected to Arduino UNO GND

LCD Display 16x4 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

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 implementation. It is expected that the user will add the necessary setup and loop code to interact with the RFID-RC522 module, control the servomotors, and update the LCD display.

Additional Documentation (documentation.txt)

No additional documentation code was provided.