Arduino Mega 2560 Controlled IR Sensor Array and Servomotor System with RFID and I2C LCD Interface
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit in question appears to be a microcontroller-based system designed to interface with multiple IR sensors, servomotors, an I2C LCD screen, and an RFID-RC522 module. The Arduino Mega 2560 serves as the central processing unit, managing inputs from the IR sensors and controlling the servomotors based on the sensor inputs. The I2C LCD screen is likely used to display information or status messages, while the RFID-RC522 module is used for RFID reading capabilities.
Component List
IR Sensors
- Quantity: 5
- Description: These sensors are used to detect objects within their field of view by emitting and receiving infrared light.
Servomotors MG90S
- Quantity: 2
- Description: Small and lightweight servomotors used for precise control of angular or linear position, velocity, and acceleration.
I2C LCD 16x2 Screen
- Quantity: 2
- Description: A 16x2 character LCD display that uses the I2C communication protocol for displaying text and characters.
RFID-RC522
- Quantity: 1
- Description: An RFID reader/writer module that operates at 13.56 MHz and uses the SPI interface for communication.
Arduino Mega 2560
- Quantity: 1
- Description: A microcontroller board based on the ATmega2560, with numerous digital and analog I/O pins.
ICSP PINS
- Quantity: 1
- Description: In-Circuit Serial Programming pins used for programming the microcontroller.
Wiring Details
IR Sensors
IR Sensor 1
outconnected to Arduino Mega 2560D14/TX3gndconnected to common groundvccconnected to Arduino Mega 25605V
IR Sensor 2
outconnected to Arduino Mega 2560D18/TX1gndconnected to common groundvccconnected to Arduino Mega 25605V
IR Sensor 3
outconnected to Arduino Mega 2560D17 PWM/RX2gndconnected to common groundvccconnected to Arduino Mega 25605V
IR Sensor 4
outconnected to Arduino Mega 2560D30gndconnected to common groundvccconnected to Arduino Mega 25605V
IR Sensor 5
outconnected to Arduino Mega 2560D19/RX1gndconnected to common groundvccconnected to Arduino Mega 25605V
Servomotors MG90S
Servomotor 1
SIGconnected to Arduino Mega 2560D3 PWMVCCconnected to Arduino Mega 25605VGNDconnected to common ground
Servomotor 2
SIGconnected to Arduino Mega 2560D2 PWMVCCconnected to Arduino Mega 25605VGNDconnected to common ground
I2C LCD 16x2 Screen
LCD Screen 1
SCLconnected to Arduino Mega 2560D21/SCLSDAconnected to Arduino Mega 2560D20/SDAVCC (5V)connected to Arduino Mega 25605VGNDconnected to common ground
LCD Screen 2
SCLconnected to Arduino Mega 2560SCLSDAconnected to Arduino Mega 2560SDAVCC (5V)connected to Arduino Mega 25605VGNDconnected to common ground
RFID-RC522
VCC (3.3V)connected to Arduino Mega 25603V3RSTconnected to ICSP PINSRESETGNDconnected to ICSP PINSGNDMISOconnected to ICSP PINSMISOMOSIconnected to ICSP PINSMOSISCKconnected to ICSP PINSSCK
Documented Code
Arduino Mega 2560
File: sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
File: documentation.txt
(No additional documentation provided for the code)
This concludes the documentation for the provided circuit. The circuit is designed for object detection, actuation, display interfacing, and RFID reading, with the Arduino Mega 2560 as the central controller.