SIK Keyboard Instrument

Pages
Contributors: Shawn Hymel
Favorited Favorite 5

What You Should See

Once you have uploaded the code to the RedBoard, try lightly pressing on the soft potentiometer. You should hear some musical notes from the speaker!

Playing the keyboard instrument

Want to play a song? How about Twinkle, Twinkle, Little Star ('C' is the first 'C' on the left in this case):

C, C, G, G, A, A, G (hold)
F, F, E, E, D, D, C (hold)

What other songs can you play? Here are some ideas to get you started.

Troubleshooting

No Sound

Given the size and shape of the piezo buzzer it is easy to miss the right holes on the breadboard. Try double checking its placement. Additionally, check the wiring for the soft pot.

Can't Press More than One Key

The soft potentiometer is incapable of detecting more than one press at a time. What happens if you try to press two keys at once?