Circuit Documentation
Summary
This document provides a detailed description of a simple electronic circuit consisting of a power source, an LED, a pushbutton, and a resistor. The circuit is designed to control the LED using the pushbutton. When the pushbutton is pressed, the LED lights up.
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: Controls the flow of current to the LED.
Pushbutton
- Pins: Pin 1 (in), Pin 2 (in), Pin 3 (out), Pin 4 (out)
- Description: Pushbutton switch.
- Purpose in Circuit: Additional pushbutton for circuit control.
Resistor
- Pins: pin1, pin2
- Description: 1000 Ohms resistor.
- Purpose in Circuit: Limits the current flowing through the LED to prevent damage.
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 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. This should serve as a useful reference for understanding and replicating the circuit.
