Manual

One row of contacts contains a 3V voltage input/output and pins
for SPI communication. The other row of contacts also contains
a 3V voltage input/output, the micro:bit pin P12 and pins for I2C
communication.
This makes it easy to connect other sensor modules to the
micro:bit.
The top of the board features two 3.2 mm holes for securing the
board in place.
Bluetooth
®
is a registered trademark of Bluetooth SIG, Inc.
Product features
• 8x sensor piano keys
• 1x TTP229-LSF chip (capacitive touch sensor)
• 4x WS2812 digital RGB LEDs
• 1x passive buzzer
• 2x3 contacts on the sides for expansion
• 2x5 contacts for pin or socket strips
• 2x 3.2 mm holes for mounting
• Slot for micro:bit single board computer
Requirements
The following components are required to use the board:
• 1 micro:bit, e.g. Conrad item no.: 2253828
Operation
Insert the micro:bit into the slot provided on the circuit board. The
5x5 LED matrix and the piano markings must face towards you.
Connect the micro:bit to your computer.
Test program
You can graphically program the code below using the micro:bit
MakeCode Editor:
» https://makecode.microbit.org/#editor
Then download the code and transfer it to the micro:bit. The exact
procedure for programming and transferring the program to the
micro:bit can be found in the micro:bit manual or online at:
» https://microbit.org
Download the sample program (microbit_piano.hex) (see QR
code at the beginning of this manual).
DragtheletoMakeCodeEditor(holddowntheleftmousebutton
and drag microbit_piano.hex into MakeCode Editor).
The program with the extensions will then be displayed in the pro-
gram window as shown in the next diagram.
BN 2268128
Piano Module TTP229-LS
for micro:bit
GB Operating instructions
Latest operating instructions
Download the latest operating instructions
at www.conrad.com/downloads or scan the
QR code shown. Follow the instructions on
the website.
Delivery contents
• Piano Module TTP229-LS for micro:bit
Description
The micro:bit is a powerful, low-cost, fully programmable single
board computer developed by the BBC. It was designed to en-
courage children to actively engage in technical activities such as
programming and electronics.
It features a 5x5 LED matrix, two integrated buttons, a compass,
an accelerometer and Bluetooth
®
.
It supports the graphical programming interface PXT (Make-
Code). This can be used on Microsoft Windows
®
, MacOS, iOS,
Android
TM
and many other operating systems without download-
ing an additional compiler.
The piano module is fully compatible with the micro:bit single
board computer.
It features an integrated TTP229-LSF chip (capacitive touch sen-
sor), 8 sensor piano keys, 4 WS2812 LEDs (digital RGB LEDs)
and a passive buzzer.
In addition, the board also has 2x3 contacts on each side.
Left:
GND, 3V, micro:bit pin P8
Right:
GND, 3V, micro:bit pin P2
Further contacts are available on the top of the board for soldering
pin or socket strips with a contact spacing of 2.54 mm.

Summary of content (2 pages)