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

Battery-Powered LED Control with Pushbutton and Relay

View and Edit Project In Cirkit DesignerImage of Battery-Powered LED Control with Pushbutton and Relay

Circuit Documentation

Summary

This circuit consists of a microcontroller, a relay, an LED, and a pushbutton. The microcontroller powers the relay, which in turn controls the LED. The pushbutton is used to trigger the relay, allowing current to flow through the LED, thereby illuminating it.

Component List

  1. MAHIR 1.mini

    • Pins: GND, 3.7v
    • Description: A microcontroller used to control the relay.
    • Purpose in Circuit: Provides power to the relay.
  2. LED: Two Pin (red)

    • Pins: cathode, anode
    • Description: A red LED.
    • Purpose in Circuit: Illuminates when the relay is activated.
  3. Pushbutton

    • Pins: Pin 1 (in), Pin 2 (in), Pin 3 (out), Pin 4 (out)
    • Description: A pushbutton switch.
    • Purpose in Circuit: Used to trigger the relay.
  4. 5v relay

    • Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
    • Description: A relay that controls the LED.
    • Purpose in Circuit: Switches the LED on and off based on the pushbutton input.

Wiring Details

MAHIR 1.mini

LED: Two Pin (red)

Pushbutton

5v relay

Code

There is no code provided for this circuit.