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

Arduino UNO Based LDR-Controlled LED Indicator

View and Edit Project In Cirkit DesignerImage of Arduino UNO Based LDR-Controlled LED Indicator

Circuit Documentation

Summary of the Circuit

This circuit is designed to interface an LDR (Light Dependent Resistor) module with an Arduino UNO microcontroller. The LDR module's digital output (DO) is connected to one of the Arduino's analog inputs (A0) to allow for light intensity measurement. Additionally, the circuit includes a red LED with a series resistor that can be controlled by the Arduino through one of its digital pins (D13). The LED and the LDR module are powered by the Arduino's 5V supply, and all components share a common ground.

Component List

Arduino UNO

LDR Module 3 pin

Resistor

LED: Two Pin (red)

Wiring Details

Arduino UNO

LDR Module 3 pin

Resistor

LED: Two Pin (red)

Documented Code

Arduino UNO Code (sketch.ino)

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

}

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

}

Note: The provided code is a template and does not include specific functionality. It needs to be completed with the logic for reading the LDR module's output and controlling the LED.


This documentation provides an overview of the circuit's components, their connections, and the initial code template for the Arduino UNO. Further development of the code is required to achieve the desired functionality.