Raspberry Pi Christmas tree
A Raspberry Pi Christmas tree for programming beginners. It was desinged for my 4 years old doughter and she had fun with it.
It can be controlled by any computer language that runs on the Raspberry Pi OS, including Python and C++.
This tree requires 40 pin socket, 9 LED/resistors pair to be soldered.
I try this thing as simple as possible for biggners, so there is no brightness control(PWM), just ON or OFF.
If you wish to change the brightness, adjust resistor value for the LED.
Resistor values are depending on your LEDs, for the maximum brightness typically 200ohm ~ 500ohm range.
Bonus: I've added few i2c pins and push button to the PCB so you can play with it.
import RPi.GPIO as GPIO
import time
leds = [6, 5, 13, 11, 16, 19, 9, 12, 26]
GPIO.setmode(GPIO.BCM)
for pin in leds:
GPIO.setup(pin, GPIO.OUT)
while(True):
for pin in leds:
GPIO.output(pin, GPIO.HIGH)
time.sleep(0.1)
for pin in leds:
GPIO.output(pin, GPIO.LOW)
time.sleep(0.05)
GPIO.cleanup()
Raspberry Pi Christmas tree
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(1)
- Likes(7)
-
Engineer
Sep 18,2024
-
yn1v
Nov 07,2022
-
James Hauser
Dec 27,2021
-
Engineer
Dec 22,2021
-
Massimo Del Zotto
Dec 15,2021
-
Tor-Eirik Bakke Lunde
Dec 10,2021
-
(DIY) C64iSTANBUL
Dec 09,2021
- 1 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
10design
-
1usability
-
7creativity
-
8content
More by Kota
-
A Compact Charging Breakout Board For Waveshare ESP32-C3
458 3 4 -
AI-driven LoRa & LLM-enabled Kiosk & Food Delivery System
471 2 0 -
-
-
-
ESP32-C3 BLE Keyboard - Battery Powered with USB-C Charging
673 0 1 -
-
mammoth-3D SLM Voron Toolhead – Manual Drill & Tap Edition
661 0 1 -
-
AEL-2011 Power Supply Module
1333 0 2 -
AEL-2011 50W Power Amplifier
1212 0 2







