This circuit integrates a variety of components including microcontrollers, sensors, power supply units, a servo motor, an LCD screen, and a communication module. The primary microcontroller is an Arduino UNO, which interfaces with multiple HC-SR04 ultrasonic sensors and controls a SIM900A communication module. An ESP8266 Wi-Fi module is used for wireless connectivity and controls two servo motors. The ESP8266 also interfaces with an LCD screen via I2C communication. Power regulation is achieved using two XL6015 buck converters, which step down the voltage from a 12V 5A power supply. The ESP32 CAM module is included for camera functionalities.
Arduino UNO
Vin
connected to the 5V output of the XL6015 Buck Converter.GND
connected to the ground of the circuit.A0-A5
connected to the ECHO
and TRIG
pins of the HC-SR04 Ultrasonic Sensors.D8-D9
connected to the 5VT
and 5VR
pins of the SIM900A module.ESP8266
VIN
connected to the 5V output of the XL6015 Buck Converter.G
connected to the ground of the circuit.D1-D5
connected to the SCL
and SDA
pins of the LCD screen and pulse
pins of the Servos.HC-SR04 Ultrasonic Sensors
VCC
connected to the 5V output of the XL6015 Buck Converter.GND
connected to the ground of the circuit.ECHO
and TRIG
connected to the corresponding analog pins on the Arduino UNO.ESP32 CAM
5V
connected to the 5V output of the XL6015 Buck Converter.GND
connected to the ground of the circuit.GPIO12
and GPIO13
connected to the ECHO
and TRIG
pins of an HC-SR04 Ultrasonic Sensor.vcc
connected to the 5V output of the XL6015 Buck Converter.gnd
connected to the ground of the circuit.pulse
connected to the D4
and D5
pins of the ESP8266.5V
connected to the 5V output of the XL6015 Buck Converter.GND
connected to the ground of the circuit.5VR
and 5VT
connected to the D9
and D8
pins of the Arduino UNO.XL6015 Buck Converters
INPUT +
connected to the 12V-24V Output (DC)
of the POWER SUPPLY 12V 5AMP.INPUT -
connected to the GND (DC)
of the POWER SUPPLY 12V 5AMP.OUTPUT +
and OUTPUT -
provide 5V and GND to various components in the circuit.POWER SUPPLY 12V 5AMP
220V Positive Pole (AC)
connected to the neutral wire
of the power 220v.220V Negative Pole (AC)
connected to the hot wire
of the power 220v.GND (DC)
and 12V-24V Output (DC)
provide power to the XL6015 Buck Converters.VCC
connected to the 5V output of the XL6015 Buck Converter.GND
connected to the ground of the circuit.SCL
and SDA
connected to the D1
and D2
pins of the ESP8266.void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Note: The provided code for the Arduino UNO is a template with empty setup and loop functions. This code needs to be populated with instructions to control the HC-SR04 sensors and communicate with the SIM900A module.
No code was provided for the ESP8266. It is assumed that the ESP8266 will be programmed to control the servo motors and interface with the LCD screen via I2C.
End of Documentation