KS0440 Keyestudio Piano Shield for Micro:bit (Black and Eco-friendly): Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:




[[image:Ks0438-1.png|thumb|400px|right|Keyestudio Piano Shield for Micro:bit]]
[[image:Ks0440-1.png|thumb|400px|right|Keyestudio Piano Shield for Micro:bit]]


<br>
<br>
Line 10: Line 10:
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. <br>
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. <br>
The shield has two 3.2mm fixed holes, convenient for mounting on other devices.
The shield has two 3.2mm fixed holes, convenient for mounting on other devices.
<br>[[File:Ks0440-1.png|450px|frameless|thumb]]<br>   
<br>[[File:Ks0440-2.png|450px|frameless|thumb]]<br>   


<br>
<br>
Line 25: Line 25:
== Hookup Guide ==
== Hookup Guide ==
Insert firmly the micro:bit main board into the keyestudio piano shield.
Insert firmly the micro:bit main board into the keyestudio piano shield.
<br>[[File:Ks0440-1.png|450px|frameless|thumb]]<br>   
<br>[[File:Ks0440-3.png|450px|frameless|thumb]]<br>   


<br>
<br>
== Source Code ==
== Source Code ==
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"  
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"  
<br>[[File:Ks0440-1.png|450px|frameless|thumb]]<br>   
<br>[[File:Ks0440-4.png|450px|frameless|thumb]]<br>   


<br>
<br>
== Result ==  
== Result ==  
Send the code to micro:bit, the 4 WS2812 LEDS on the piano shield turn on red for 1 second, green for 1 second, blue for 1 second.  
Send the code to micro:bit, the 4 WS2812 LEDS on the piano shield turn on red for 1 second, green for 1 second, blue for 1 second.  
<br>[[File:Ks0440-1.png|450px|frameless|thumb]][[File:Ks0440-1.png|450px|frameless|thumb]][[File:Ks0440-1.png|450px|frameless|thumb]]  <br>     
<br>[[File:Ks0440-5.png|450px|frameless|thumb]][[File:Ks0440-6.png|450px|frameless|thumb]][[File:Ks0440-7.png|450px|frameless|thumb]]  <br>     


<br>
<br>
When touch the different piano keys, buzzer will make a tone, and the 4 WS2812 LEDS show shiny colors.
When touch the different piano keys, buzzer will make a tone, and the 4 WS2812 LEDS show shiny colors.
<br>[[File:Ks0440-1.png|450px|frameless|thumb]]<br>   
<br>[[File:Ks0440-8.png|450px|frameless|thumb]]<br>   





Revision as of 11:16, 5 July 2019


Keyestudio Piano Shield for Micro:bit


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 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.
thumb


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


Hookup Guide

Insert firmly the micro:bit main board into the keyestudio piano shield.
thumb


Source Code

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"
thumb


Result

Send the code to micro:bit, the 4 WS2812 LEDS on the piano shield turn on red for 1 second, green for 1 second, blue for 1 second.
thumbthumbthumb


When touch the different piano keys, buzzer will make a tone, and the 4 WS2812 LEDS show shiny colors.
thumb



Resource

  • Download all the relevant info. from the link:

https://drive.google.com/open?id=1GAbl9d3nYM0pzoEVQLI7oefxQRenxsKG


Buy from

  • [ Official Website]