Arduino Mega 2560 Controlled RFID and Keypad Security System with I2C LCD Feedback and Multiple Servos
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates a variety of components controlled by an Arduino Mega 2560 microcontroller. The circuit includes a membrane matrix keypad for user input, an LCD display for output, an RFID-RC522 module for RFID reading, and multiple servos for actuation. The keypad and RFID module are interfaced directly with the Arduino, while the LCD display communicates over the I2C protocol. The servos are powered by a common Vcc source and controlled by individual PWM signals from the Arduino. Ground connections are also consolidated to a common ground point.
Component List
Membrane Matrix Keypad
- Description: A keypad with rows and columns used for user input.
- Pins: Row 1, Row 2, Row 3, Row 4, Column 1, Column 2, Column 3
LCD Display 16x4 I2C
- Description: A 16x4 character LCD display with an I2C interface for displaying information.
- Pins: SCL, SDA, VCC, GND
RFID-RC522
- Description: An RFID reader/writer module for contactless communication using radio frequency.
- Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA
Arduino Mega 2560
- Description: A microcontroller board based on the ATmega2560, with numerous digital and analog I/O pins.
- Pins: Various digital and analog pins, including I2C (SCL, SDA) and PWM outputs.
Servo
- Description: An actuator capable of precise position control, commonly used in robotics.
- Pins: gnd, vcc, pulse
GND
- Description: A common ground connection point for the circuit.
- Pins: GND
Vcc
- Description: A common power supply connection point for the circuit.
- Pins: Vcc
Wiring Details
Membrane Matrix Keypad
- Row 1 to Arduino Mega 2560 A0
- Row 2 to Arduino Mega 2560 A1
- Row 3 to Arduino Mega 2560 A2
- Row 4 to Arduino Mega 2560 A3
- Column 1 to Arduino Mega 2560 D22
- Column 2 to Arduino Mega 2560 D24
- Column 3 to Arduino Mega 2560 D26
LCD Display 16x4 I2C
- SCL to Arduino Mega 2560 D21/SCL
- SDA to Arduino Mega 2560 D20/SDA
- VCC to Arduino Mega 2560 5V
- GND to Arduino Mega 2560 GND
RFID-RC522
- VCC (3.3V) to Arduino Mega 2560 3V3
- RST to Arduino Mega 2560 D9 PWM
- GND to Arduino Mega 2560 GND
- MISO to Arduino Mega 2560 D50
- MOSI to Arduino Mega 2560 D51
- SCK to Arduino Mega 2560 D52
- SDA to Arduino Mega 2560 D10 PWM
Servos
- All servos Vcc to common Vcc
- All servos GND to common GND
- Servo pulses to Arduino Mega 2560 PWM pins D2, D3, D4, D5, D6, D7
Documented Code
Arduino Mega 2560 Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation (documentation.txt)
No additional documentation provided in the code input.