# KS0440 Keyestudio Piano Shield for Micro:bit (Black and Eco-friendly) ![](media/image-20260116150755155.png) ## 1. Overview Keyestudio piano shield is fully compatible with the micro:bit development board. The piano shield for micro:bit integrates the TTP229-LSF chip, 8 touch piano keys, 4 WS2812 LEDS and a passive buzzer element. It can display different colors and emit different sounds. It also comes with 6 edge connectors, containing two 3V power input/output connectors, 2 signal connectors. So it provides an easy way to connect other sensors/modules to micro:bit main board. Besides, it extends 2 rows of header pad interfaces, easy for soldering the pin headers/female headers of 2.54mm pitch. One row contains 3V power input/output and SPI communication; the other contains 3V power input/output, signal pin and I2C communication. The shield has two 3.2mm fixed holes, convenient for mounting on other devices. ![](media/image-20260116151101682.png) ## 2. Technical Details - Power supply from: ①**Micro:bit main board:** Micro USB port (5V); external power jack 3.3V ②**Piano shield:** edge connectors (3V); header pad interface (3V) - Control chip: TTP229-LSF - Dimensions: 124mm * 55mm * 10mm - Weight: 29.9g ## 3. PINOUTS ![](media/image-20260116151149687.png) ## 4. Hookup Guide Insert firmly the micro:bit main board into the keyestudio piano shield. ![](media/image-20260116151214477.png) ## 5. Source Code Download code : [Code](./Code.7z) Copy the hex file code to your micro:bit just like copying a file to a USB drive. You can right click and choose "Send To→MICROBIT". ![](media/image-20260116151307608.png) ## 6. Result Send the code to micro:bit, the 4 WS2812 LEDS on the piano shield turn on red for 1 second, green for 1 scond, blue for 1 second. ![](media/image-20260116151348648.png) ![](media/image-20260116151356609.png) When touch the different piano keys, buzzer will make a tone, and the 4 WS2812 LEDS show shiny colors. ![](media/image-20260116151414627.png)