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

Arduino Nano-Controlled LDR-Triggered AC Light Switch

View and Edit Project In Cirkit DesignerImage of Arduino Nano-Controlled LDR-Triggered AC Light Switch

Circuit Documentation

Summary

This circuit integrates an Arduino Nano microcontroller with a KF-301 relay module, an LDR (Light Dependent Resistor), and an LED bulb designed for AC power. The Arduino Nano controls the relay based on the input from the LDR, which in turn switches the LED bulb on or off. The AC source provides power to the LED bulb through the relay.

Component List

Arduino Nano

KF-301 Relay

LDR (Light Dependent Resistor)

LED Bulb AC / Bombillo AC

AC Source

Wiring Details

Arduino Nano

KF-301 Relay

LDR

LED Bulb AC / Bombillo AC

AC Source

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:

}

Additional Notes (documentation.txt)

No additional code documentation provided.