borg-disco-cube
This is a mod of an interlocking brick set, adding colors, python and buttons to it. Enjoy
Idea
Let's see how it looks, when the borg queen give a party, can it be used as a light?
Needed
- one Borg cube bluebrixx's model could work
- several transparent plate brick plates, here big ones and small ones were taken
- one micro controller, xiao works
- several neo pixels 2x 10
- cables, rubber bands
How to
- build the set as instructed
- once build is done, enjoy the almost the pristine art
- now replace all 6 base plate constructions with transparent plates
- (don't think too much about that you could have done it while assembling the model, saving you to having to touch all the little plates at least twice)
- for the back face: build the transparent base plate in a way that a two by one hole exists
- needle the usb c power and data through the hole
- build a system to attach a push button to the top side of the hole
- connect the first 10x neopixel strip to A0
- connect the second 10x neopixel strip to A1
- connect the push button to A2 (ignoring the pull up / pull down resistors, you are a software engineer in the end!)
- install circuit python on the xiao
- push the main code file onto the xiao
- enjoy the green lights
- realize, you have a button attached
- press it several times, to wonder what the diffference between the first and the second mode is
Where from here
SPACE!!
Also you could investigate why the brightness is set to a non 1.0 value. Additionally more lights, better animation, usb_cdc and other things could be nice.