# TTP229 16-key touch module: specs

> 16-key capacitive touch keypad board of the TonTek TTP229 type. Boards of this type commonly use the TTP229-BSF, which has a 2-wire serial interface,…

[HTML version](https://soldr.ai/docs/components/ttp229-16-key-touch)

[Docs](https://soldr.ai/docs) / [Components](https://soldr.ai/docs/components)

16-key capacitive touch keypad board of the TonTek TTP229 type. Boards of this type commonly use the TTP229-BSF, which has a 2-wire serial interface, not I2C; the chip on the supplied board is not documented by a maker source.

Every value cites its sourcePinout not published

[Buy on Compoden](https://compoden.com/products/ttp229-16-channel-capacitive-touch-sensor-module-with-i2c-interface)

## Specs

| Spec | Value | Source |
|---|---|---|
| Chip type | Not documented for the supplied board. Boards of this type commonly use the TTP229-BSF (SSOP-28 in the TonTek list). | source Page 2, TTP229 series list |
| Keys | TTP229-BSF: 16 keys in serial mode (first function); 8 keys in direct mode (second function) | source Page 2, TTP229 series list |
| Serial interface type | TTP229-BSF: 2-wire serial output (SLSERT fixed to 1); SLSERT = 0 would select I2C | source Page 1, option table; page 2 list (SLSERT = 1 for TTP229-BSF) |

## Pinout
We don't publish a pin table for this part: no official source we could verify gives one. Check the labels printed on your module, and see the notes below.

The package list covers option pins only. The module&#x27;s header labels, pull-ups and supply range are not covered by any official document.

## Build with it
Project ideas for the TTP229 16-key touch module. Each link opens Soldr with the prompt filled in; Soldr assigns the pins, checks power and shows how to wire every part.

- [16-key touch pad reader on an Uno](https://app.soldr.ai/?prompt=I%20want%20to%20build%20a%2016-key%20touch%20pad%20reader%20with%20an%20Arduino%20Uno%2C%20a%20TTP229%20touch%20module%20and%20a%2016x2%20LCD%20that%20shows%20the%20key%20number): If the chip is a TTP229-BSF the module speaks a 2-wire serial protocol (clock and data), not I2C, so read it with a bit-banged TTP229 routine. The package list gives no supply range; check the module&#x27;s own page before choosing 3.3 V or 5 V.
- [Touch code entry demo](https://app.soldr.ai/?prompt=I%20want%20to%20build%20a%20touch%20code%20entry%20demo%20with%20an%20ESP32%2C%20a%20TTP229%20touch%20module%20and%20an%20OLED%20display%20that%20shows%20entered%20digits): Demo only, not a security lock. Check the module&#x27;s supply range against the ESP32&#x27;s 3.3 V pins before wiring.
- [Touch piano](https://app.soldr.ai/?prompt=I%20want%20to%20build%20a%20touch%20piano%20with%20a%20Raspberry%20Pi%20Pico%2C%20a%20TTP229%20touch%20module%20and%20a%20passive%20buzzer%20module): Sixteen keys map to sixteen notes played with PWM on the passive buzzer. Confirm the module&#x27;s logic level suits the Pico&#x27;s 3.3 V pins.

## Common mistakes

- Wiring and coding it as I2C: if the chip is the TTP229-BSF, SLSERT is fixed to 1 (2-wire serial output); I2C is selected only when SLSERT is 0 ([source](https://www.elecrow.com/download/TTP229.pdf))
- Expecting 16 keys in direct mode: direct mode gives 8 keys; 16 keys come from the serial mode ([source](https://www.elecrow.com/download/TTP229.pdf))
- Assuming a supply voltage: the TonTek package list gives no supply range, so check the module&#x27;s own documentation before choosing 3.3 V or 5 V ([source](https://www.elecrow.com/download/TTP229.pdf))

## Not covered by the official source

- Supply range, logic levels and current are not in the TonTek package list. The chip variant on the supplied board is not confirmed.
- The package list does not name the module&#x27;s header pins or onboard components.

## Sources

- [link](https://www.elecrow.com/download/TTP229.pdf) (TonTek TTP229 Appendix A Package List V1.3, 2010/02/04; hosted by Elecrow)
