Circuit Documentation
Summary
The circuit in question appears to be a simple LED array powered by a single 18650 Li-Ion battery, with the ability to control the LED states using a toggle switch and a rocker switch. The LEDs are arranged in two groups, with red and green LEDs in each group. The toggle switch controls one group of LEDs, while the rocker switch is used to supply power to the circuit. There is no microcontroller or embedded code involved in this circuit.
Component List
LEDs
- LED: Two Pin (red): A basic red LED with two pins, anode and cathode.
- LED: Two Pin (green): A basic green LED with two pins, anode and cathode.
Power Source
- 18650 Li-Ion: A standard 18650 format lithium-ion rechargeable battery with a positive and a negative terminal.
Switches
- Rocker Switch: A simple on-off switch with two terminals.
- Toggle Switch: A single-pole double-throw (SPDT) switch with three terminals: Vcc, Sig, and Gnd.
Wiring Details
LED: Two Pin (red)
- Cathode: Connected to the negative terminal of the 18650 Li-Ion battery.
- Anode: Connected to the Vcc terminal of the Toggle Switch.
LED: Two Pin (green)
- Cathode: Connected to the negative terminal of the 18650 Li-Ion battery.
- Anode: Connected to the Gnd terminal of the Toggle Switch.
18650 Li-Ion
- Positive: Connected to terminal 1 of the Rocker Switch.
- Negative: Connected to the cathodes of all LEDs.
Rocker Switch
- Terminal 1: Connected to the positive terminal of the 18650 Li-Ion battery.
- Terminal 2: Connected to the Sig terminal of the Toggle Switch.
Toggle Switch
- Vcc: Connected to the anodes of the red LEDs.
- Sig: Connected to terminal 2 of the Rocker Switch.
- Gnd: Connected to the anodes of the green LEDs.
Documented Code
There is no embedded code provided for this circuit as there are no microcontroller components involved. The circuit's functionality is purely hardware-based, controlled by the physical position of the switches.
This documentation provides an overview of the circuit's components and their wiring. The circuit is straightforward and does not include programmable elements or complex control mechanisms.
