Inspiration
We had a lot of domino's boxes and redbull cans lying around and needed to clear some space.
What it does
Allows the user to make sweet sweet music simply by moving his discarded dominos box from the night before up and down.
How we built it
An Ultrasound sensor measures the height of a dominos box which is then converted into the corresponding frequency using a magic formula coded into the Micro:Bit, then the sound is finally outputted through a speaker using PWM.
Challenges we ran into
Too many to fit into this text box. Here are just a couple of them: -Ultrasonic sensor only working with C++, micro:bit music library only available in microPython -solved by transmitting frequency from a micro:bit running C++ to another micro:bit running micropython which then outputs the sound -radio transmission to slow (sound lags too heavily), hence we are now using one micro:bit utilising manual PWM programming in C++
What we learned
-Be creative with the limited resources available -24 hours isn't as long as you think -Not every day is Wednesday (my dudes)
Built With
- c++
- micro:bit
- micropython
Log in or sign up for Devpost to join the conversation.