Circuit Documentation
Summary
This circuit consists of a power source, a red LED, two pushbuttons, and a resistor. The circuit is designed to control the LED using the pushbuttons. The power source provides the necessary voltage to the circuit, and the resistor limits the current flowing through the LED to prevent damage.
Component List
MAHIR 1.mini
- Pins: GND, 3.7v
- Description: Power source providing 3.7V.
- Purpose in Circuit: Supplies power to the circuit.
LED: Two Pin (red)
- Pins: cathode, anode
- Description: Red LED.
- Purpose in Circuit: Emits light when current flows through it.
Pushbutton
- Pins: Pin 1 (in), Pin 2 (in), Pin 3 (out), Pin 4 (out)
- Description: Pushbutton switch.
- Purpose in Circuit: Used to control the LED.
Pushbutton
- Pins: Pin 1 (in), Pin 2 (in), Pin 3 (out), Pin 4 (out)
- Description: Pushbutton switch.
- Purpose in Circuit: Used to control the LED.
Resistor
- Pins: pin1, pin2
- Description: 1000 Ohms resistor.
- Purpose in Circuit: Limits the current flowing through the LED.
Wiring Details
MAHIR 1.mini
- GND is connected to pin2 of the Resistor.
- 3.7v is connected to Pin 4 (out) of the Pushbutton.
LED: Two Pin (red)
- anode is connected to Pin 1 (in) of the Pushbutton.
- cathode is connected to pin1 of the Resistor.
Pushbutton 1
- Pin 1 (in) is connected to anode of the LED.
- Pin 3 (out) is connected to Pin 1 (in) of the second Pushbutton.
Pushbutton 2
- Pin 1 (in) is connected to Pin 3 (out) of the first Pushbutton.
- Pin 4 (out) is connected to 3.7v of the MAHIR 1.mini.
Resistor
- pin1 is connected to cathode of the LED.
- pin2 is connected to GND of the MAHIR 1.mini.
Code
There is no code associated with this circuit.
