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

Arduino UNO-Based IR Sensor Array with Micro Servo and I2C LCD Display

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based IR Sensor Array with Micro Servo and I2C LCD Display

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with multiple IR sensors, a micro servo motor, and an I2C module connected to an LCD display. The IR sensors are used for detecting objects, the micro servo motor is used for mechanical movement, and the I2C module facilitates communication with the LCD display.

Component List

  1. Arduino UNO

    • Description: A microcontroller board based on the ATmega328P.
    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
  2. IR Sensor

    • Description: Infrared sensor used for object detection.
    • Pins: out, gnd, vcc
  3. Micro Servo 9G

    • Description: A small servo motor used for precise control of angular position.
    • Pins: GND, +5V, PWM
  4. LCD 20x4 I2C

    • Description: A 20x4 character LCD display with I2C interface.
    • Pins: GND, 5v, SCA, SCL
  5. I2C Module

    • Description: A module to facilitate I2C communication.
    • Pins: SCL, SDA, VCC, GND

Wiring Details

Arduino UNO

IR Sensor

Micro Servo 9G

LCD 20x4 I2C

I2C Module

Documented Code

Arduino UNO 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 UNO. The setup() function is where you initialize your components and the loop() function is where you place the main logic that runs repeatedly.