Embedded sketch for the connected piano hardware.
Embedded sketch for the connected piano hardware.
A connected physical piano prototype using embedded code and controller hardware to read interactions. It is the hardware counterpart of the wider interactive-piano concept.
*File metrics count tracked files after excluding common generated build folders. The project status is an editable draft classification.
Capabilities evidenced by project documentation and source structure; some behaviours require platform configuration.
Embedded sketch for the connected piano hardware.
Physical controller input and output integration.
Hardware diagrams and companion-learning context.
Technical architecture drawn from the repository and supplied documentation.
The project uses Arduino, ESP32, C++ as its documented technical foundation.
The source tree and supplied README describe the primary modules; individual files and runtime behaviour may vary by platform.
Arduino piano using I²C expander and LCD
#include <Wire.h>
#include <LiquidCrystal.h>
#include <PCF8574.h>
LiquidCrystal lcd(13, 12, 11, 10, 9, 8);
#define EXP_ADDR 0x20
PCF8574 expander(EXP_ADDR);
const uint8_t directPins[4] = {4, 5, 6, 7};
#define BUZZER_PIN A1
const uint16_t noteFreq[12] = {
262,277,294,311,330,349,370,392,415,440,466,494
};
The source combines a PCF8574 I²C expander, direct digital inputs, a buzzer and LCD; the twelve frequency constants cover a chromatic octave.
const uint16_t noteFreq[12] = {
262, 277, 294, 311, 330, 349,
370, 392, 415, 440, 466, 494
};
LiquidCrystal lcd(13, 12, 11, 10, 9, 8);
PCF8574 expander(EXP_ADDR);
void setup() {
Serial.begin(9600);
Wire.begin();
expander.begin();
lcd.begin(16, 2);
}
Screenshots from supplied documentation and repository media. Missing visuals remain placeholders rather than invented screens.
Technology overview: Arduino, ESP32, C++. The list reflects documented tools, dependencies and proposed components; for planned projects it does not prove implementation.
File types identified: 2 .pdf, 1 .ino, 1 .png
Explore the public repository, source code and project documentation on GitHub.