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

Arduino UNO Based IR Sensor Alarm with Servo Motor and I2C LCD Display

View and Edit Project In Cirkit DesignerImage of Arduino UNO Based IR Sensor Alarm with Servo Motor and I2C LCD Display

Circuit Documentation

Summary of the Circuit

This circuit is designed around an Arduino UNO microcontroller and includes various peripherals such as IR sensors, an SG90 servo motor, an I2C LCD 16x2 screen, and a buzzer. The IR sensors are powered by the 3.3V output from the Arduino UNO, while the servo motor, LCD screen, and buzzer are powered by the 5V output. The ground connections are shared among all components and the Arduino UNO. The LCD screen communicates with the Arduino UNO via the I2C protocol, using the SDA and SCL lines. The servo motor is controlled by a PWM signal from the Arduino UNO, and the buzzer is activated by a digital output. The IR sensors are connected to digital inputs to detect the presence of objects.

Component List

Arduino UNO

IR Sensor

SG90 Servo Motor

I2C LCD 16x2 Screen

Buzzer

Wiring Details

Arduino UNO

IR Sensors

SG90 Servo Motor

I2C LCD 16x2 Screen

Buzzer

Documented Code

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

}

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

}

The provided code is a template for the Arduino UNO microcontroller. The setup() function is called once when the microcontroller is powered on or reset. It is used to initialize the pins and set the initial state of the circuit. The loop() function is called repeatedly and contains the main logic of the program. This is where you would add code to read the IR sensors, control the servo motor, display information on the LCD screen, and activate the buzzer based on certain conditions.