Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino Mega 2560-Based Smart Lock System with Servo Control and GSM Connectivity

View and Edit Project In Cirkit DesignerImage of Arduino Mega 2560-Based Smart Lock System with Servo Control and GSM Connectivity

Circuit Documentation

Summary

This circuit involves an Arduino Mega 2560 microcontroller interfacing with various components including multiple MG90S servos, an LCD display, a DS3231 RTC module, a 1 Channel 5V Relay Module, a SIM900A GSM module, an ESP32, an IR sensor, a 12V solenoid lock, and a Li-ion battery. The circuit is designed to control servos, display information on an LCD, manage real-time clock data, control a relay, communicate via GSM, and sense infrared signals.

Component List

Resistor

Arduino Mega 2560

MG90S Servo Motors

Lcd 20x4 i2c

DS3231 RTC

1 Channel 5V Relay Module

SIM900A

ESP32 (30 pin)

IR Sensor

12V Solenoid Lock

Li-ion 5000mAh Battery

Wiring Details

Resistor

Arduino Mega 2560

MG90S Servo Motors

Lcd 20x4 i2c

DS3231 RTC

1 Channel 5V Relay Module

SIM900A

ESP32 (30 pin)

IR Sensor

12V Solenoid Lock

Li-ion 5000mAh Battery

Documented Code

Arduino Mega 2560 Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This code is a basic template for the Arduino Mega 2560. The setup() function is used to initialize any settings or configurations, and the loop() function contains the main code that runs repeatedly.