JLJEFFREY LAU
All engineering projects

2026

Automatic Piano Player

Team project · Embedded software and electromechanical design

Automatic Piano Player — completed buildImage to be provided

A modular system that plays 84 piano keys using solenoids. Built with a team of three, it connects a Python audio-processing application to an Arduino Mega and MOSFET driver circuitry.

Dates
January–April 2026
Team
Jeffrey, Ivan, and Michael
Hardware
Arduino Mega · 84 solenoids · 84 MOSFETs
Software
Embedded C++ · Python

Project overview

The system converts digital note events into physical keystrokes. A Python web application handles MP3 processing and audio-to-MIDI transcription, then streams time-stamped note events over serial.

Project contributions

Three people worked on the build: Jeffrey, Ivan, and Michael. The project included mechanical assembly, actuator circuitry, Arduino firmware, and a Python application.

Individual responsibilities will be added after the team’s division of work is confirmed.

Actuation and electronics

Modular solenoid arrays press the piano keys. MOSFET circuits drive the actuators, while an Arduino Mega and eleven 74HC595 shift registers provide the control outputs.

Solenoid module and driver circuitImage to be provided

Audio processing and firmware

  1. The Python application processes an MP3 and transcribes it to MIDI.
  2. Time-stamped note events are sent over serial.
  3. The Arduino firmware maps the events to the corresponding solenoids and sequences their actuation.
System diagram and application screenshotImage to be provided

Specifications

Keys actuated
84
Actuators
84 solenoids
Drivers
84 MOSFETs
Main controller
Arduino Mega
Output expansion
11 × 74HC595 shift registers
Communication
Serial

Demonstration

The team gave a live demonstration at Tian Nian Health Management Inc., a local nursing home. The project was also featured in the Overseas Chinese Daily News.

Watch the project video
Piano performance or demonstration photoImage to be provided

Next steps

Planned improvements include tuning volume expression and adding pedal control.

Back to all projectsView résumé