กลับไปหน้ารวมไฟล์
seven-note-keyboard-5dad7d-en.md

This project allows you to turn Arduino into a 7 note keyboard. As you play, the music is recorded and you can listen to your performance again by obscuring the photoresistor. The photoresistor can be replaced by a button in a larger bread board.

By pressing button 7 + 1 or 2 or 3 or 4 at the same time it is possible to listen to 4 tracks included in the program. The songs are copied from the PDF at this link: https://www.bontempi.com/assets/download/Bontempi_song.pdf. The colors in which the LED lights up follow the same note encoding used by the PDF.

It was a lot of fun when I had my 8 year old try playing Ode to Joy and then I made him listen to exactly what he had played !! His expression of wonder is the greatest satisfaction for the commitment and time spent on this project.

EXPANDED TECHNICAL DETAILS

Polyphonic-Feel Synthesizer Hub

This project builds a functional digital piano using a linear button array, ideal for teaching basic music theory and signal processing.

  • Resistor Ladder Networking: (Specific variant) Uses a series of 7 buttons connected to a single analog pin using a resistor ladder. This allows the Arduino to detect 7 different notes based on the specific voltage drop, saving 6 digital pins for other uses.
  • Chromatic Note Mapping: The firmware maps the button inputs to a standard C Major scale (C, D, E, F, G, A, B). Every press triggers the tone() function on a piezo speaker, providing responsive audio feedback.

Interaction

  • LED Pulse Visualizer: Seven independent LEDs illuminate when their corresponding key is pressed, providing a visual guide for the player.

ข้อมูล Frontmatter ดั้งเดิม

title: "Seven Note Keyboard"
description: "Play and listen to your performance"
author: "zaffaroby"
category: ""
tags:
  - "audio"
  - "music"
  - "kids"
views: 980
likes: 0
price: 699
difficulty: "Intermediate"
components:
  - "4x Resistor 10k ohm"
  - "1x Photo resistor"
  - "4x Resistor 221 ohm"
  - "1x Resistor 4.75k ohm"
  - "1x Arduino UNO"
  - "1x Resistor 100 ohm"
  - "1x Buzzer, Piezo"
  - "1x Resistor 1k ohm"
  - "1x RGB Diffused Common Cathode"
  - "7x Tactile Switch, Top Actuated"
  - "1x Resistor 1M ohm"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "3d7ba81234ae1ad7b26202fc3a4c44161b1f5e03c7b35ed443dfed734741f654"
encryptedPayload: "U2FsdGVkX1+92OITi5eXHcCp4LrdawVaPJzF6Dif7iwqOUeKRTLMdzjODiEceIp/ADwqKTa0jyPpvIgwz6SHCkywdRlMUW2fIoNFuXfI66g="
seoDescription: "Build a Seven Note Keyboard with Arduino. Play and listen to your musical creations in this simple DIY project."
videoLinks:
  - "https://www.youtube.com/embed/Kjxak4ZgbZs"
  - "https://www.youtube.com/embed/CIp20SqOB9c"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/seven-note-keyboard-5dad7d_cover.jpg"
lang: "en"