TINKER PiEDESIGN IN INDIA

Touch sensor TTP223 with TinkerPie

A capacitive touch pad on its own little board.

TypeDigital sensors
Connect toany accessory pin
Givestrue while touched
SimulatorYes: a control appears under the simulated board

How it works

The TTP223 is a capacitive touch sensor. Your finger changes the tiny electrical field around the pad, and the chip notices the change and switches its output.

How to wire it

Signal (DO / OUT / S) to any accessory pin: S1-S4, P10-P13, P43 or P44. Power from 3.3 V where the module allows it.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
sensors.touchModule(Pin.S1)

// Arduino C++
sensors::touchModule(Pin::S1)

Good to know

Try it in TinkerPie Studio

Similar modules

More projects to try

Questions

Can I try the Touch sensor TTP223 without buying one?

Yes. In TinkerPie Studio the simulator shows a control for it under the board, so you can test your program before you build it.

Why does the touch sensor trigger by itself?

It recalibrates when powered on, so do not touch it during start-up, and keep it away from long wires and metal.