No video
Microbit paper piano
The keys are covered by tin foil. All the keys are connected to 3.3 Volt that is supplied by the 3V pin of the microbit. There are 3 strips of tin foil laying under the keys perpendicularly. Each strip is connected to a digital input pin on the microbit. When a key is pressed it connects 3V to the digital input through the tin foils. The way microbit can recognize the different keys is that every key can contact to different combination of strips as we cover some of the strips with paper (see picture in the Instruction). When the key is pressed microbit will read 0 where the strip is covered and 1 where it is not.
Description: drive.google.c...
Code: makecode.micro...
Пікірлер: 34