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
Project images are for reference only. Actual production is based on the manufacturing files on the project page.
Please review the designer's notes (e.g., PCB thickness) and select the appropriate options.
PCBWay is not responsible
for issues caused by unsuitable parameter selections.
For more important ordering information, please refer to
Read More
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
-
Émetteur Récepteur Optique Expérimental (communication UART ATtiny + fibre optique)
140 0 1 -
SmallOLED - Live PC Stats, Animated Clocks & Audio Visualizer
990 0 3 -
"Talking Multimeter": Arduino-Based Speech Add-on for Multimeters with SCPI Protocol
566 0 1 -
Programmable Mist Maker - XIAO / QT PY Extension
3037 2 3 -
RadioHAT - Raspberry Pi radio development platform
2584 0 4 -
QWIIC-VL53L4CD Time-of-Flight Distance Sensor Module
2809 0 2 -
-







