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

Light-Activated Piezo Speaker with Manual Power Switch

View and Edit Project In Cirkit DesignerImage of Light-Activated Piezo Speaker with Manual Power Switch

Circuit Documentation

Summary of the Circuit

This circuit appears to be a simple light-activated switch using a BC547 transistor as a control element. The circuit is powered by a 2x 18650 battery pack and includes a photocell (LDR) to sense the light level, a resistor to limit current, and a piezo speaker as an output device. A rocker switch is used to turn the circuit on and off. When the light level changes, the resistance of the LDR changes, which in turn affects the base current of the transistor. This causes the transistor to switch states, activating the piezo speaker.

Component List

BC547 Transistor

Resistor

Photocell (LDR)

Piezo Speaker

2x 18650 Battery Pack

Rocker Switch

Wiring Details

BC547 Transistor

Resistor

Photocell (LDR)

Piezo Speaker

2x 18650 Battery Pack

Rocker Switch

Documented Code

There is no microcontroller code provided for this circuit. If the circuit is intended to be controlled by a microcontroller, the code would be necessary to define the behavior of the microcontroller in response to the input from the LDR and to control the output to the Piezo Speaker. Since no code is provided, it is assumed that the circuit operates purely in an analog fashion based on the components listed and their wiring.