Circuit Documentation
Summary
This document provides a detailed description of a circuit that includes a MAHIR 1.mini power source, a red LED, a pushbutton, and a 5V relay. The circuit is designed to control the LED using the pushbutton and relay, powered by the MAHIR 1.mini.
Component List
MAHIR 1.mini
- Pins: GND, 3.7v
- Description: A power source providing 3.7V.
- Purpose in Circuit: Supplies power to the circuit.
LED: Two Pin (red)
- Pins: cathode, anode
- Description: A red LED.
- Purpose in Circuit: Indicates the status of the circuit.
Pushbutton
- Pins: Pin 1 (in), Pin 2 (in), Pin 3 (out), Pin 4 (out)
- Description: A pushbutton switch.
- Purpose in Circuit: Used to control the relay and LED.
5V Relay
- Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
- Description: A relay that operates at 5V.
- Purpose in Circuit: Controls the connection between the power source and the LED.
Wiring Details
MAHIR 1.mini
GND is connected to:
- LED: Two Pin (red) - cathode
- Pushbutton - Pin 1 (in)
- 5V Relay - GND
3.7v is connected to:
- 5V Relay - Normally Open
- 5V Relay - VCC
LED: Two Pin (red)
cathode is connected to:
- MAHIR 1.mini - GND
- Pushbutton - Pin 1 (in)
- 5V Relay - GND
anode is connected to:
- 5V Relay - Common terminal
Pushbutton
Pin 1 (in) is connected to:
- LED: Two Pin (red) - cathode
- MAHIR 1.mini - GND
- 5V Relay - GND
Pin 3 (out) is connected to:
- 5V Relay - In
5V Relay
GND is connected to:
- MAHIR 1.mini - GND
- LED: Two Pin (red) - cathode
- Pushbutton - Pin 1 (in)
Common terminal is connected to:
- LED: Two Pin (red) - anode
Normally Open is connected to:
- MAHIR 1.mini - 3.7v
VCC is connected to:
- MAHIR 1.mini - 3.7v
In is connected to:
- Pushbutton - Pin 3 (out)
Code
There is no microcontroller code provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and code documentation.
