Skip to content

jakopako/lumaire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lumaire

Breathe. Glow. Lumaire

lumaire

lumaire.mp4

Lumaire is a light that can be controlled by breath. Blow to turn it on, suck to turn it off.

Parts

  • 3D printed half-sphere shaped outer part, see 3d-model/model.stl. Needs to be printed with transparent material.

  • Adafruit Trinket M0

  • Adafruit Max 4466

  • Adafruit NeoPixel Jewel

  • 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.

Assembly

  • 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

Code

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).

About

Breathe. Glow. Lumaire

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages