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

Arduino UNO-Based Smart IR Sensor System with LCD Display and Battery Power

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Smart IR Sensor System with LCD Display and Battery Power

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with various components including LEDs, resistors, IR sensors, a 20x4 LCD display, micro servos, and a 9V battery. The circuit is designed to demonstrate basic input/output operations, sensor interfacing, and display control.

Component List

  1. LED: Two Pin (red)

    • Pins: cathode, anode
    • Description: Red LED for visual indication.
  2. LED: Two Pin (green)

    • Pins: cathode, anode
    • Description: Green LED for visual indication.
  3. Resistor

    • Pins: pin1, pin2
    • Description: 200 Ohms resistor for current limiting.
  4. Lcd 20x4 i2c

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

    • 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
    • Description: Microcontroller board based on the ATmega328P.
  6. IR Sensor

    • Pins: out, gnd, vcc
    • Description: Infrared sensor for object detection.
  7. Micro servo 9G

    • Pins: GND, +5V, PWM
    • Description: Small servo motor for precise control.
  8. 9V Battery

    • Pins: -, +
    • Description: Power source for the circuit.

Wiring Details

LED: Two Pin (red)

LED: Two Pin (green)

Resistor

Lcd 20x4 i2c

Arduino UNO

IR Sensor

Micro servo 9G

9V Battery

Code Documentation

Arduino UNO Code

#include <107-Arduino-24LCxx.hpp>
#include <107-Arduino-24LCxx.hpp>
#include <107-Arduino-24LCxx.hpp>
#include <107-Arduino-24LCxx.hpp>
#include <107-Arduino-24LCxx.hpp>
#include <107-Arduino-24LCxx.hpp>
#include <107-Arduino-24LCxx.hpp>
#include <107-Arduino-24LCxx.hpp>
#include <107-Arduino-24LCxx.hpp>
#include <107-Arduino-24LCxx.hpp>
#include <107-Arduino-24LCxx.hpp>
#include <107-Arduino-24LCxx.hpp>

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

}

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

}

This code includes multiple instances of the 107-Arduino-24LCxx library and contains empty setup and loop functions. The setup function is intended for initialization code that runs once, and the loop function is for the main code that runs repeatedly.