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

9V Battery-Powered Relay-Controlled LED Circuit

View and Edit Project In Cirkit DesignerImage of 9V Battery-Powered Relay-Controlled LED Circuit

Circuit Documentation

Summary of the Circuit

This circuit appears to be a simple control circuit that uses a 9V battery to power an LED through a relay, with the relay's coil being controlled by an NPN transistor. The transistor is in turn controlled by a resistor, which could be connected to a microcontroller or another control signal (although no microcontroller is included in the provided code). The relay allows for the LED to be switched on and off without directly passing the control signal's power through the LED, providing electrical isolation.

Component List

1-Channel Relay (5V 10A)

NPN Transistor (EBC)

9V Battery

LED: Two Pin (red)

Resistor

Wiring Details

1-Channel Relay (5V 10A)

NPN Transistor (EBC)

9V Battery

LED: Two Pin (red)

Resistor

Documented Code

No code has been provided for any microcontrollers in the circuit. If a microcontroller is to be used to control the relay via the NPN transistor, the code would need to set the appropriate pin connected to the base of the transistor to a high state to activate the relay and light the LED, and to a low state to deactivate the relay and turn off the LED.