Circuit Documentation
Summary
This circuit consists of multiple LEDs of different colors connected to a Raspberry Pi 5. The LEDs are controlled via the GPIO pins of the Raspberry Pi. The circuit is designed to demonstrate the control of LEDs using a microcontroller.
Component List
LED: Two Pin (green)
- Pins: cathode, anode
- Description: A green LED used for visual indication.
LED: Two Pin (yellow)
- Pins: cathode, anode
- Description: A yellow LED used for visual indication.
LED: Two Pin (red)
- Pins: cathode, anode
- Description: A red LED used for visual indication.
Raspberry Pi 5
- Pins: Type-C, Micro HDMI 1, Micro HDMI 2, Camera 1, Camera 2, PoE, Fan, PCIe, USB 3.0, USB 2.0, Ethernet, 5V, GND, 3.3v, GPIO 14, GPIO 15, GPIO 18, GPIO 23, GPIO 24, GPIO 25, GPIO 8, GPIO 7, GPIO 1, GPIO 12, GPIO 16, GPIO 20, GPIO 21, GPIO 2, GPIO 3, GPIO 4, GPIO 17, GPIO 27, GPIO 22, GPIO 10, GPIO 9, GPIO 11, GPIO 0, GPIO 5, GPIO 6, GPIO 13, GPIO 19, GPIO 26
- Description: A versatile microcontroller used to control the LEDs.
Wiring Details
LED: Two Pin (red)
- Anode connected to GPIO 17 of Raspberry Pi 5
- Cathode connected to GND of Raspberry Pi 5
LED: Two Pin (yellow)
- Anode connected to GPIO 5 of Raspberry Pi 5
- Cathode connected to GND of Raspberry Pi 5
LED: Two Pin (green)
- Anode connected to GPIO 18 of Raspberry Pi 5
- Cathode connected to GND of Raspberry Pi 5
LED: Two Pin (red)
- Anode connected to GPIO 27 of Raspberry Pi 5
- Cathode connected to GND of Raspberry Pi 5
LED: Two Pin (yellow)
- Anode connected to GPIO 6 of Raspberry Pi 5
- Cathode connected to GND of Raspberry Pi 5
LED: Two Pin (green)
- Anode connected to GPIO 23 of Raspberry Pi 5
- Cathode connected to GND of Raspberry Pi 5
LED: Two Pin (red)
- Anode connected to GPIO 22 of Raspberry Pi 5
- Cathode connected to GND of Raspberry Pi 5
LED: Two Pin (yellow)
- Anode connected to GPIO 13 of Raspberry Pi 5
- Cathode connected to GND of Raspberry Pi 5
LED: Two Pin (green)
- Anode connected to GPIO 24 of Raspberry Pi 5
- Cathode connected to GND of Raspberry Pi 5
LED: Two Pin (red)
- Anode connected to GPIO 10 of Raspberry Pi 5
- Cathode connected to GND of Raspberry Pi 5
LED: Two Pin (yellow)
- Anode connected to GPIO 19 of Raspberry Pi 5
- Cathode connected to GND of Raspberry Pi 5
LED: Two Pin (green)
- Anode connected to GPIO 25 of Raspberry Pi 5
- Cathode connected to GND of Raspberry Pi 5
Documented Code
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt
