Sensors and I/O
EDA-Piano: 12-Key Touch Piano (ESP8266 + SC12B)
A low-cost 12-key touch piano based on ESP8266 and SC12B, with chord support, OLED display, and WiFi control.
Sensors and I/O
touchaudiooledwifi
ESP8266, SC12B, TP4056
Official path: https://oshwhub.com/course-examples/eda-piano2
01 Overview
EDA-Piano is an ESP8266-based 12-key touch piano project designed for low cost and easy learning.
Core components are the ESP8266 module and the SC12B touch controller; the TP4056 charger is optional.
It supports simultaneous 12-key detection, chord playing, real-time OLED feedback, and WiFi-based web control.
02 Hardware
MCU: ESP8266 module, providing WiFi and GPIO interfaces.
Touch sensing: SC12B chip, supports 12-key simultaneous detection with high accuracy for chords.
Audio output: buzzer driven via PWM or GPIO.
Display: OLED screen showing current keys and note information.
Power: TP4056 Li-ion charging module (optional; can be removed to cut cost).
Total BOM cost is low, dominated by the ESP8266 and SC12B.
03 Software flow
Firmware features: 12-key simultaneous touch detection with chord playing.
OLED shows real-time key presses and note names.
WiFi connectivity with a web-based control interface.
Flashing instructions and 3D structure files are provided in the attachments.
04 Core points
ESP8266 firmware development
SC12B touch driver
OLED display driver
Web control interface