Worlds most advanced Bauble
Fun with Cheerlights
6 November 20224 minute read
By Kevin McAleer
Share this article on
Fun with Cheerlights
6 November 2022
By Kevin McAleer
Share this article on
Watch the associated videos here:
In this tutorial weโll look at:
| Item | Description | Qty | Price |
|---|---|---|---|
| Pimoroni Plasma Stick 2040 W | Raspberry Pi Pico, aboard | 1 | ยฃ12.00 |
| Adafruit Jewel 7x Neopixel model | 7 RGB unit | 1 | $5.95 |
You can change the colour of all cheerlights globally by Tweeting (from Twitter):
#cheerlights blue
Checkout Hansโ amazing Cheerlights website here: https://www.cheerlights.com
Wheatley - the Portal 2 Character.

Portal & Portal 2 are amongst my favourite games, I played portal which was bundled as part of the Orange Box Xbox 360 game a couple of years ago.
Wheatley is an AI character from Portal 2, and is described as an Intelligence Dampening Sphere.
Heโs round, so Iโve chosen to make a model based on this design, and it was also a reason to design something fun in Fusion 360.

The design is made up of 4x 3d printable parts:
It was quite a complex design to model, involving the creation of a number of smaller and larger sphere, which are then use to subtrack material away from each other.
The design is also round - just like a Christmas Bauble! It also about the same size a regular Christmas Tree Bauble.
Grab the STL files here

As you can see in the slide above, the left half has a hollow center, where the electronics are housed.
It also has two recessed sections that enable the eye piece and the top loop to be locked into place.
The tolerances are such that using the eye piece between the two halves provides sufficient friction and purchase to keep both halves together.
If the fit is different on your 3dprinted model, you can also use 2x M2 screws to secure the two halves together.
The loop is simply for hanging the bauble from a tree (like a regular decoration).

It features:
Diffuses the LED lights.

The eye features:

The electronics for this project are super simple:

Download the project files from: https://www.github.com/kevinmcaleer/christmas-cheer
The main MicroPython code you will need is:
rgb.py - the RGB helper librarypattern.py - contains the code for cheerlight_bauble.pycheerlight_bauble.py - the main webserver codeindex.html - the web page templateheader.html - the web page header templatefooter.html - the web page footer templateThere are also a couple of stand-alone demo programs:
colour.py - a simple solid colour testspin.py - spins colours round the displayglow.py - glow colours on the displayGrab the 3d printable STL files here:
Kevin McAleer
I build robots, bring them to life with code, and have a whole load of fun along the way
Social Links:
If you found this high quality content useful please consider supporting my work, so I can continue to create more content for you.
I give away all my content for free: Weekly video content on YouTube, 3d Printable designs, Programs and Code, Reviews and Project write-ups, but 98% of visitors don't give back, they simply read/watch, download and go. If everyone who reads or watches my content, who likes it, helps fund it just a little, my future would be more secure for years to come. A price of a cup of coffee is all I ask.
There are a couple of ways you can support my work financially:
If you can't afford to provide any financial support, you can also help me grow my influence by doing the following:
Thank you again for your support and helping me grow my hobby into a business I can sustain.
- Kevin McAleer
Comments