I am no piano expert nor do I have knowledge about notes, all I understand is that high frequency makes tweet-y sounds and low ones make beat-y sounds.
Think about a piano that has no keys, makes some tone from movement of hand. That's what this project is all about.
Working PrincipleThe micro:bit has an accelerometer and a magnetometer. By moving the board 360 degree round and upward/downward can be sensed with these sensors. There are block functions to generate square waves and showing text on 5X5 matrix. By adding an external speaker/buzzer/peizo tone can be created. Combining all these an air piano can be realized.
First a protoboard and some header pins are connected/soldered to micro:bit for breadboaring.
Next on a mini breadboard the TDA2822 Low Voltage Audio Amplifier circuit is built and a speaker is connected.
Finally the micro:bit is connected to the breadboard and the interfacing between board and external hardware is complete.
The firmware is developed in Microsoft Block Editor at https://www.microbit.co.uk/app/
Next the compile button is hit to generate the hex file, the hex is downloaded to the computer and transferred to the micro bit drive. Finally the battery is connected for portable operation:
When I was a kid, I was not fat, I was just healthy.
P.P.s
The Air Piano v2 is exactly the same as previous version. But the previous version was especially designed for FAT KIDS. Someone from the Micro:Bit higher-ups was offended by that design.
This time I specially designed the carbon copy (in my dreams) for the WIMPY KIDS!
P.P.P.s
Putting on a "Nice Guy" mask does not make me a nice person, that's true for every tainted heart!
Comments