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

Arduino-Controlled LDR-Triggered Relay for AC LED Bulb Illumination

View and Edit Project In Cirkit DesignerImage of Arduino-Controlled LDR-Triggered Relay for AC LED Bulb Illumination

Circuit Documentation

Summary

This circuit is designed to control multiple AC-powered LED bulbs using an Arduino UNO microcontroller and a 4-channel relay module. The circuit is powered by a 12V battery, which is stepped down to a suitable voltage for the Arduino and other components using a buck converter. An LDR (Light Dependent Resistor) is included to provide input to the Arduino for potential light-based control logic. The AC power source is used to supply the LED bulbs, with the relay acting as an intermediary to control the power flow to each bulb.

Component List

LDR (Light Dependent Resistor)

Battery 12V

Buck Converter

LED Bulb AC (Bombillo AC)

Arduino UNO

Relay 4 Channel 5V

AC Source

Wiring Details

LDR (Light Dependent Resistor)

Battery 12V

Buck Converter

LED Bulb AC (Bombillo AC)

Arduino UNO

Relay 4 Channel 5V

AC Source

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 contain any functional logic. It needs to be populated with the specific control code for the LDR sensor and relay operation.

Additional Documentation (documentation.txt)

No additional documentation code was provided.