Day 12 - 30 Days Lost in Space

Inventr - Adventure Kit 1
Published on Friday, 29 December 2023

https://inventr.io/

🏫 Lesson 12

Today was an extension of Day 11, I got to use a new device, the passive buzzer, let's make some noise.

"Day 12"

Passive Buzzer

We are still using the keypad:

Keypad

Clicking each button from S1 to S16 outputs the following to the Serial Monitor, with differing tones 🎶, "the tones Kevin".

11:19:51.087 -> Key: 1   Freq: 31
11:19:51.925 -> Key: 2   Freq: 93
11:19:52.837 -> Key: 3   Freq: 147
11:19:53.650 -> Key: A   Freq: 208
11:19:54.419 -> Key: 4   Freq: 247
11:19:55.158 -> Key: 5   Freq: 311
11:19:55.790 -> Key: 6   Freq: 370
11:19:56.482 -> Key: B   Freq: 440
11:19:57.208 -> Key: 7   Freq: 523
11:19:57.884 -> Key: 8   Freq: 587
11:19:58.540 -> Key: 9   Freq: 698
11:19:59.307 -> Key: C   Freq: 880
11:20:00.045 -> Key: *   Freq: 1397
11:20:00.738 -> Key: 0   Freq: 2637
11:20:01.480 -> Key: #   Freq: 3729
11:20:02.205 -> Key: D   Freq: 4978

Parts

  • Hero Board
  • Type B USB Cable
  • 8 cables (M-F)
  • 8 cables (M-M)
  • Keypad
  • Passive Buzzer

👩🏻‍💻 Code

Libraries

📼 Videos

Side Quest

Other Lessons