Circuit Documentation
Summary
This circuit consists of two LEDs (one red and one green), a directional switch, two resistors, and a power source. The directional switch controls which LED is illuminated based on its position. The resistors are used to limit the current flowing through the LEDs to prevent damage. The power source provides the necessary voltage to the circuit.
Component List
LED: Two Pin (red)
- Pins: cathode, anode
- Description: A red LED used to indicate a specific state in the circuit.
- Purpose in Circuit: Provides visual indication when the switch is in a specific position.
LED: Two Pin (green)
- Pins: cathode, anode
- Description: A green LED used to indicate a specific state in the circuit.
- Purpose in Circuit: Provides visual indication when the switch is in a specific position.
Directional Switch
- Pins: Out 2, IN, Out 1
- Description: A switch that directs the current to one of two outputs.
- Purpose in Circuit: Controls which LED is illuminated.
Resistor (200 Ohms)
- Pins: pin1, pin2
- Description: A resistor with a resistance of 200 Ohms.
- Purpose in Circuit: Limits the current flowing through the LEDs to prevent damage.
Resistor (200 Ohms)
- Pins: pin1, pin2
- Description: A resistor with a resistance of 200 Ohms.
- Purpose in Circuit: Limits the current flowing through the LEDs to prevent damage.
MAHIR 1.mini
- Pins: GND, 3.7v
- Description: A power source providing 3.7 volts.
- Purpose in Circuit: Supplies the necessary voltage to the circuit.
Wiring Details
LED: Two Pin (red)
- cathode is connected to Out 1 of the Directional Switch.
- anode is connected to pin2 of the Resistor (200 Ohms).
LED: Two Pin (green)
- cathode is connected to Out 2 of the Directional Switch.
- anode is connected to pin2 of the Resistor (200 Ohms).
Directional Switch
- Out 1 is connected to cathode of the LED: Two Pin (red).
- Out 2 is connected to cathode of the LED: Two Pin (green).
- IN is connected to 3.7v of the MAHIR 1.mini.
Resistor (200 Ohms)
- pin1 is connected to GND of the MAHIR 1.mini.
- pin2 is connected to anode of the LED: Two Pin (red).
Resistor (200 Ohms)
- pin1 is connected to GND of the MAHIR 1.mini.
- pin2 is connected to anode of the LED: Two Pin (green).
MAHIR 1.mini
- GND is connected to pin1 of both Resistors (200 Ohms).
- 3.7v is connected to IN of the Directional Switch.
Code
There is no code associated with this circuit.
