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

Arduino UNO Controlled Traffic Light System with IR Sensors and I2C LCD Display

View and Edit Project In Cirkit DesignerImage of Arduino UNO Controlled Traffic Light System with IR Sensors and I2C LCD Display

Circuit Documentation

Summary of the Circuit

This circuit is designed to interface an Arduino UNO with multiple peripherals including two IR sensors, two traffic lights, and an I2C LCD 16x2 screen. The Arduino UNO acts as the central controller, managing inputs from the IR sensors and controlling the state of the traffic lights and displaying information on the LCD screen. The IR sensors are used to detect objects or motion, and their outputs are connected to the digital pins of the Arduino. The traffic lights are controlled by separate digital pins on the Arduino, allowing for individual control of each light. The I2C LCD screen is connected to the Arduino's I2C pins (A4 and A5) for data display.

Component List

Arduino UNO

IR Sensor (2x)

Traffic Light (2x)

I2C LCD 16x2 Screen

Wiring Details

Arduino UNO

IR Sensor

Traffic Light

I2C LCD 16x2 Screen

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 with empty setup() and loop() functions. The setup() function is intended for initialization code that runs once when the Arduino is powered on or reset. The loop() function contains the main logic of the program, which runs repeatedly as long as the Arduino is powered.

Further implementation is required to handle inputs from the IR sensors, control the traffic lights, and update the display on the I2C LCD screen.