Circuit Documentation
Summary
This document provides a detailed overview of a simple circuit consisting of a toggle switch, a red LED, and a power source. The circuit is designed to control the LED using the toggle switch. When the switch is toggled, it either completes or breaks the circuit, thereby turning the LED on or off.
Component List
Toggle Switch
- Description: A switch that can toggle between two positions, connecting the common pin (COM) to either L1 or L2.
- Pins: L1, COM, L2
LED: Two Pin (red)
- Description: A red light-emitting diode (LED) with two pins: anode and cathode.
- Pins: cathode, anode
MAHIR 1.mini
- Description: A power source providing 3.7V and ground (GND).
- Pins: GND, 3.7v
Wiring Details
Toggle Switch
- COM is connected to GND of the MAHIR 1.mini.
- L2 is connected to the cathode of the LED: Two Pin (red).
LED: Two Pin (red)
- cathode is connected to L2 of the Toggle Switch.
- anode is connected to 3.7v of the MAHIR 1.mini.
MAHIR 1.mini
- GND is connected to COM of the Toggle Switch.
- 3.7v is connected to the anode of the LED: Two Pin (red).
Code
There is no microcontroller code associated with this circuit.
This document provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and code documentation. The circuit is simple yet effective for controlling an LED using a toggle switch.
