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

Arduino Nano-Based Smart IR and LDR Controlled LED Lighting System

View and Edit Project In Cirkit DesignerImage of Arduino Nano-Based Smart IR and LDR Controlled LED Lighting System

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes various sensors, an Arduino Nano microcontroller, MOSFETs, LED strips, resistors, and a power supply. The circuit is designed to interface with IR sensors and an LDR, control LED strips through MOSFETs, and is powered by a 12V power supply. The Arduino Nano is programmed to manage the inputs and outputs of the circuit.

Component List

  1. IR Sensor

    • Pins: out, gnd, vcc
    • Description: Infrared sensor used for detecting objects.
    • Purpose: To detect objects and send a signal to the microcontroller.
  2. LDR (Light Dependent Resistor)

    • Pins: A0, D0, GND, VCC
    • Description: Light sensor that changes resistance based on light intensity.
    • Purpose: To measure light intensity and send a signal to the microcontroller.
  3. Arduino Nano

    • Pins: D1/TX, D0/RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11/MOSI, D12/MISO, VIN, 5V, A7, A6, A5, A4, A3, A2, A1, A0, AREF, 3V3, D13/SCK
    • Description: Microcontroller board based on the ATmega328.
    • Purpose: To control the circuit by processing inputs from sensors and controlling outputs.
  4. MOSFET

    • Pins: Gate, Drain, Source
    • Description: Metal-Oxide-Semiconductor Field-Effect Transistor used for switching and amplifying signals.
    • Purpose: To control the power to the LED strips.
  5. 12V White LED Strip

    • Pins: +12V, GND
    • Description: LED strip that operates on 12V.
    • Purpose: To provide illumination.
  6. Resistor

    • Pins: pin1, pin2
    • Description: Resistor with a resistance of 200 Ohms.
    • Purpose: To limit current in the circuit.
  7. 12V Power Supply

    • Pins: +, -
    • Description: Power supply providing 12V.
    • Purpose: To power the circuit.

Wiring Details

IR Sensor

IR Sensor

IR Sensor

LDR

Arduino Nano

MOSFET

12V White LED Strip

Resistor

12V Power Supply

Documented Code

Arduino Nano Code (sketch.ino)

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

}

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

}

Documentation (documentation.txt)

This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and documented code. The circuit is designed to interface with various sensors and control LED strips using an Arduino Nano microcontroller.