My initial idea... was much harder than I thought I could handle... But I'm glad that I pushed my idea farther than my current skillset to really challenge my thinking on creating an idea combined of a keyboard and combination lock.

Initial Idea: Sing-along game: The speaker will play 3-4 notes (C, A, B, G) and the player will have to repeat what is played. The LED light will turn start off with red, and then the LED light will turn green if the tune is played correctly.

My first challenge was just getting the switch buttons to play individually. I made the mistake to start off with having the switches be in a parallel, when they should all be treated separately.

Then when I finally had all the buttons on the board, each button would play including the button before it, then I readjusted the wiring to be much more simpler.

Creating the housing was definitely my favorite part. I had an idea of a mat where I hit each one with a mallet. Then realized as I was creating my circuit that I would need an individual mallet for each note, which wasn't in my scope for this project. I then just continued with the idea for a pop-up buttons for time's sake. I chose colors that matched the buttons and blobby shapes to keep it super playful! I then replaced the switch buttons with wires and connected them with foil. The letters on the buttons represent the note.

Combining the combination lock idea to recreate "Simon Says"

I realized as I created const int variables with words versus numbers, I did not do myself a favor as creating combination locks requires a for loop using numbers.

What I learned/got better at understanding:

  • if/else statements and not needing switchState
  • utilizing int ___[] = {___, ___, ___ } and how these start at 0!!!
  • Learned about more complicated if statements, creating own voids, and utilizing for loops to make combination locks and patterns.