Capacitive Touch Piano with 12 Keys
12-Key Capacitive Touch Piano with Arduino Uno — Turn Touch into Music While Mastering Capacitive Sensing
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-5 days.
Tap on twelve copper pads arranged like piano keys and hear a full chromatic scale resonate through a speaker. This kit guides you to build a no-moving-parts keyboard using the MPR121 touch controller and Arduino Uno, then amplifies the tones via a PAM8403 module — no soldering, no messy buttons. It’s a hands-on introduction to capacitance measurement, I2C communication, and microcontroller-driven audio.
What You'll Build
A responsive 12-note keyboard with capacitive touch plates. You’ll wire the MPR121 to sense finger proximity through simple copper tape or conductive traces, program the Arduino to interpret touch data and generate tones, and drive a 3W speaker for room-filling sound. The final instrument plays clear, stable notes and can be used for melodies or interactive sound installations.
What You'll Learn
- Interface the MPR121 over I2C bus with Arduino libraries (Wire.h and Adafruit_MPR121) to read 12 independent touch channels.
- Map sensor states to musical frequencies using the tone() function or PWM synthesis for clean audio output.
- Amplify low-level Arduino signals with a PAM8403 Class-D amplifier to drive an 8Ω speaker without distortion.
- Debounce capacitive readings and adjust sensitivity registers (touch/release thresholds, charge current) for reliable finger detection.
Kit Contents
| Component | Quantity |
|---|---|
| Arduino Uno R3 | 1 |
| MPR121 Touch Sensor | 1 |
| PAM8403 Amp | 1 |
| 3W 8Ω Speaker | 1 |
| 4.7kΩ Resistors | 5 |
| 100nF Capacitors | 5 |
| 400-pt Breadboard | 1 |
| M-M Jumper Wires | 20 |
| M-F Jumper Wires | 15 |
| 9V Battery Snap | 1 |
Why Buy This Kit Instead of Sourcing Parts Separately
| Factor | Sourcing Separately | Compoden Kit |
|---|---|---|
| Compatibility checks | You verify every part | Pre-tested as a system |
| Build support | Forums and scattered tutorials | AI companion trained on this exact project |
| Time to first working build | Days of debugging | Hours, with step-by-step guidance |
| Shipping coordination | Multiple sellers, multiple delays | One shipment from Bengaluru in 3-5 days |
Who This Kit Is For
This kit is ideal for CBSE Class 11–12 students building physics or computer science projects that demonstrate capacitive sensing and sound generation. B.Tech ECE and EEE students can use it as a mini-project to explore I2C peripherals and embedded C/Arduino programming. ATL Tinkering Labs and Smart India Hackathon participants will find a ready prototype for interactive touch interfaces and musical hacks. If you’ve ever wanted to combine electronics with creative art, this is your starting point.
Built and Backed by Compoden
Every Compoden kit ships with an AI build companion trained on this exact project — accessible via a QR code on the box, with WhatsApp and email backup. We've spent 10 years building projects for makers, schools, and institutions across India. If a part fails because of a manufacturing defect, replace it free within 7 days.
What if I get stuck during the build?
Scan the QR code on the kit box to access the AI build companion, which is loaded with wiring diagrams, code explanations, and common troubleshooting steps for this exact piano. You can also reach us on WhatsApp for human help within working hours.
Can I change the notes to a different scale?
Absolutely. The provided Arduino sketch uses an array of frequencies that you can edit to play any scale — major, minor, blues, or custom microtonal patterns. The AI companion will walk you through modifying the code.
Does the touch piano support multiple fingers at once (polyphony)?
The MPR121 can detect up to 12 independent touches simultaneously, so technically yes. The default example code plays monophonic tones (one note at a time) using the tone() function, but advanced sketches can implement polyphonic playback with timer interrupts or an external DAC. The AI companion can suggest resources to enable this.
My fingers don’t reliably trigger the keys — what can I do?
Capacitive touch sensitivity depends on board capacitance and your environment. You can adjust the MPR121’s touch and release thresholds via I2C registers. Our AI companion provides step-by-step instructions to tune sensitivity, recommend larger touch electrodes, and even suggest debouncing techniques for stable performance.
MPR121 12-key capacitive controller plays chromatic scale notes on PAM8403 audio amp and speaker.
What's in this kit
- Arduino Uno R3
- MPR121 Touch Sensor
- PAM8403 Amp
- 3W 8Ω Speaker
- 4.7kΩ Resistors x5
- 100nF Caps x5
- 400-pt Breadboard
- M-M Wires x20
- M-F Wires x15
- 9V Battery Snap
Other projects you can build
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items