Christmas Decoration: Village in a Tree
by gubutek in Circuits > Raspberry Pi
409 Views, 4 Favorites, 0 Comments
Christmas Decoration: Village in a Tree
In this project you will build a lamp in the shape of a Christmas tree. The inside of the tree is a winter Chirstmas village lighted up by RGB LEDs. The tree can turn in one side to show the inside village or to the other side with Santa Claus and his reindeer. You can check on my video for more details
Supplies
3d printed part
Electronics components
- 1 servo motor 9g
- 5x LEDs RGB W2812B (can be more if you want more light)
- 1 Raspberry Pi Pico (or Pico W)
Tool
- sodering iron
- cutter pliers
- 2M screws 2x
Print the Parts
You will need to print all the part in the stl file. Be careful when you clean up the village because it has small details
Assembly the Rotating Parts
- Glue the Santa piece to the village, make sure that you have their holes mate together
- Press the servo horn (cut short) into the wing holder
- Add the wing holder into the santa piece
Mount the LEDs
You can place the Leds on the big tree part. Their position will be more or less under those holes of the houses. The number of Leds can be more if you prefer more light. Then pass the wire through the hole to the base
Mount the Servo Motor
Add the servo motor to the base and pass the cable of the LEDs to the base
Mount the Base
Mount the base into to big cone part and tighten it with 2M screws
Connect the RP Pico
Add the RP Pico into the base cap and connect it with the LEDs and servo motor wires then close the cap
Glue the Leds
Secure the LEDs with hot glue. This is to make sure that it won't stuck to the moving parts when it rotates
Add Python Code to RP Pico
Add these two files on RP pico. I used Thorny to do it but you can use what ever you prefer.
Test It
Power the RP pico and test it. You can also modify the code to change the position and light settings
Enjoy
Enjoy your light or give it to the one you love.
Merry Christmas! (and happy making :) )