Skip to the content
2 layers152 × 110.6 mmBaseline project, the printed circuit board in 3D

Baseline project

maanavkoladia/DigiPiano

The DigiPiano is a velocity-sensitive digital piano designed using STM32 and ESP32 microcontrollers. It combines advanced sensor technology, high-quality audio playback, and Bluetooth connectivity to deliver a realistic…

Size
152 × 110.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
44
Nets
136
Pads
276
Tracks, vias
682, 47
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
7 Dec 2024
Updated
8 Dec 2024

Overview

Baseline project is an open-source printed circuit board by maanavkoladia, from the maanavkoladia/DigiPiano repository on GitHub. It is a 2-layer board of 152 × 110.6 mm with 44 parts on 136 nets, routed with 682 tracks and 47 vias.

It is built around the TM4C123GH6PMIR, ESP32-DEVKITC-VE and EK-TM4C123GXL, with the LM2937ET-3.3/NOPB and ABM3-16.000MHZ-B2-T among its other parts. Its parts include 15 capacitors, 9 connectors, 5 ICs, 2 resistors and 1 switch. It belongs with the ESP32 boards of this library.

Main components

5

README

README.md

DigiPiano

The DigiPiano is a velocity-sensitive digital piano designed using STM32 and ESP32 microcontrollers. It combines advanced sensor technology, high-quality audio playback, and Bluetooth connectivity to deliver a realistic and modern musical experience.

Project Overview

  • Key Tracking Mechanism:

    • Uses Hall effect sensors and magnets to detect key presses and releases.
    • Tracks key velocity to simulate the dynamics of a real piano.
  • Audio Playback:

    • Plays pre-recorded piano note samples stored in external memory.
    • Outputs sound via AUX to speakers or streams wirelessly over Bluetooth.
  • Custom Sustain Circuitry:

    • Includes a custom-designed sustain circuit to enhance the playing experience.
  • Communication Between Microcontrollers:

    • The STM32 and ESP32 communicate efficiently using SPI and UART protocols, enabling seamless data exchange for key detection and audio output.

Implementation Highlights

  • The firmware handles multichannel analog data acquisition and processes it to detect key strokes with precision.
  • Audio playback is managed through external memory, ensuring low-latency performance.
  • Bluetooth functionality allows for wireless connectivity, enabling modern use cases such as streaming to Bluetooth speakers or devices.
  • The hardware design incorporates a custom PCB layout for compactness and reliability, integrating sensors, microcontrollers, and audio components.

See It in Action

Check out this Instagram reel to see the DigiPiano in action!

The DigiPiano is a versatile and user-friendly project, blending traditional piano functionality with modern digital and IoT capabilities.

Parts

44
QtyValueFootprintReferences
7TestPointConnector_Pin:Pin_D1.0mm_L10.0mmTP13, TP14, TP19, TP20, TP21, TP22, TP23
50.1uFECE445L:C_Axial_200milC4, C5, C10, C12, C14
20.01uFECE445L:C_Axial_200milC9, C13
210pFECE445L:C_Axial_200milC6, C7
21uFECE445L:C_Axial_200milC8, C11
21uFECE445L:CP_Radial_Tantal200milC1, C2
2EK-TM4C123GXLECE445L:ti_EKTM4C123GXLU30_BACKUP, U101_LP_STANDALONE
110kECE445L:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR1
110uFECE445L:C_Axial_200milC15
11MECE445L:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR2
12.2uFECE445L:CP_Radial_Tantal200milC3
13.3V PadsConnector_AMASS:AMASS_XT30UPB-M_1x02_P5.0mm_VerticalJ12
15V PadsConnector_AMASS:AMASS_XT30UPB-M_1x02_P5.0mm_VerticalJ13
1ABM3-16.000MHZ-B2-TECE445L:ABM3Y1
1ADC1Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_VerticalJ10_ADC1
1ADC2Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_VerticalJ9_ADC2
1ADC3Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_VerticalJ11_ADC3
1Barrel_JackConnector_BarrelJack:BarrelJack_SwitchcraftConxall_RAPC10U_HorizontalJ1_Barrel
1Conn_01x06_Socket_DACConnector_Molex:Molex_KK-254_AE-6410-06A_1x06_P2.54mm_VerticalJ3_DAC
1ESP32-DEVKITCESP32-DEVKITC:MODULE_ESP32-DEVKITCU31_ESP32
1Header_5ECE445L:PinHeader_1x05_P2.54mm_VerticalJ2_JTAG
1LCD SD HEADERSConnector_Molex:Molex_KK-254_AE-6410-11A_1x11_P2.54mm_VerticalJ8_SDCARD
1LM2937ET-3.3/NOPBLM2937ET_3_3_NOPB:T03BU29
1RESETECE445L:SW_PUSH_6mmSW1
1TM4C123GH6PMIRECE445L:QFP50P1200X1200X160-64NIC1

The 40 most common of 44 parts.

Similar boards

  • 2 layers125.4 × 77.6 mmECE445L Lab7, the printed circuit board in 3D

    ECE445L Lab7

    Andres-Wearden/Lab10

    The typical explanation for the repo structure. Lab specific instructions can be found further below.

    81 parts
  • 2 layers114.4 × 88.9 mmECE445L Lab7, the printed circuit board in 3D

    ECE445L Lab7

    aidanaalund/ece-445l-final-project

    My final mechatronics project from the Spring 2025 Embedded Systems Design Lab course. Taught by Dr. Jonathan Valvano. Team was Aidan Aalund, Alexa Aguilar Izquierdo, Paul Schnoebelen, Eric Zang, and Brian Ahn.

    56 parts
  • 2 layers132 × 78 mmECE445L Lab7, the printed circuit board in 3D

    ECE445L Lab7

    AndrewYin04/VR-Goggles-Embedded-Lab

    The typical explanation for the repo structure. Lab specific instructions can be found further below.

    124 parts
  • 2 layers134 × 58.5 mmECE445L Lab6, the printed circuit board in 3D

    ECE445L Lab6

    chengkun-yang/ece-445l-lab-6-chengkun-yang

    The typical explanation for the repo structure. Lab specific instructions can be found further below.

    48 parts
  • 2 layers103.5 × 35.7 mmController PCB, the printed circuit board in 3D

    Controller PCB

    jAnAnIshreee/Just-Dance-

    A from-scratch reimagining of the Wii game "Just Dance": custom motion controller hardware (TM4C ARM Cortex-M4, SPI IMU, DAC audio) running on-device ML for real-time dance recognition, with MQTT syncing multiple…

    40 parts
  • 2 layers114.4 × 88.9 mmLab6, the printed circuit board in 3D

    Lab6

    Jesus61302/ECE445L-Lab1-jh69848

    IMPORTANT (for those not using Github Classroom): To clone this repository, click the green "Use this template" button and create a PRIVATE repository.

    32 parts
  • 2 layers86.4 × 61 mmCjh4858 gam3769 project, the printed circuit board in 3D

    Cjh4858 gam3769 project

    K0-p/Garfield-Wheel

    HID-compliant game controller with embedded button mapping firmware and gyroscope controls

    40 parts

Questions

How big is the Baseline project PCB?

It measures 152 × 110.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Baseline project use?

44 parts, built around the TM4C123GH6PMIR, ESP32-DEVKITC-VE, EK-TM4C123GXL and LM2937ET-3.3/NOPB. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Baseline project KiCad files?

From the maanavkoladia/DigiPiano repository on GitHub, at the commit this page was made from: the board is hw/baseline_project.kicad_pcb and its schematic hw/baseline_project.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Baseline project design in my own project?

Its repository states no licence, so its author keeps all rights: ask maanavkoladia before reusing the design.