Breathe. Glow. Lumaire
lumaire.mp4
Lumaire is a light that can be controlled by breath. Blow to turn it on, suck to turn it off.
-
3D printed half-sphere shaped outer part, see
3d-model/model.stl. Needs to be printed with transparent material. -
1500mAh LiPo battery, e.g. this one
-
TP4056 Lithium LiPo Battery Charging Module, either USB C or Micro USB
-
4 x screws (1.6 x 10 mm)
-
if you want to be fancy and also reduce the sensitivity of the lamp to the noise it makes when sliding it over a hard surface you can attach a thin layer of black filt to the bottom. You'll need to cut out the precise shape.
- print the 3d model
- solder the electronic parts (for now check the code to figure out how things need to be connected)
- load code onto the Trinket M0
- assemble everything
The code can be found in the arduino/ directory. Basically, the audio signal from the microphone is transformed using FFT and then a machine learning model predicts whether the sound it hears is a 'blow', a 'suck' or a 'nope'. The two ML random forest classifiers that are being used are the result of the gen_model.py script (needs cleaning up).
