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

Light-Activated Relay with LED Indicator

View and Edit Project In Cirkit DesignerImage of Light-Activated Relay with LED Indicator

Circuit Documentation

Summary

This circuit involves a 5V relay, a red LED, a USB plug, a photocell (LDR), and a resistor. The circuit is designed to control the LED based on the light intensity detected by the photocell. The USB plug provides power to the circuit.

Component List

  1. 5V Relay

    • Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
    • Description: A relay that operates at 5V.
    • Purpose: Used to switch the LED on and off based on the input from the photocell.
  2. LED: Two Pin (red)

    • Pins: Cathode, Anode
    • Description: A red LED.
    • Purpose: Indicates the status of the circuit.
  3. USB Plug

    • Pins: GND, D+, D-, 5V+, Out
    • Description: A standard USB plug.
    • Purpose: Provides 5V power to the circuit.
  4. Photocell (LDR)

    • Pins: Pin 0, Pin 1
    • Description: A light-dependent resistor.
    • Purpose: Detects the ambient light level.
  5. Resistor

    • Pins: Pin1, Pin2
    • Description: A resistor with a resistance of 200 Ohms.
    • Purpose: Limits the current to the LED.

Wiring Details

5V Relay

LED: Two Pin (red)

USB Plug

Photocell (LDR)

Resistor

Code

There is no code associated with this circuit.