AED 17.85
Low stock
1
Description
The TTP229 capacitive touch sensor module is perfect for adding capacitive touch inputs to your project. This capacitive touch sensor module uses the TTP229 integrated circuit, making it easy to add capacitive touch input to your project. It features 16 sensitive touchpads that make an ideal replacement for the old fashioned keypads.
Quick Spec
- Operating voltage:2.4V~5.5V
- Stand-by current At 3V, 2.5uA
- On-Board Power Indicator LED
- Operates In 8 Or 16 Channel Mode
- Output Can Be Configure to Be Active High Or Low
- Output Mode Can Be Configured To Toggle Or Momentary
- 0.5 Second Startup Calibration Delay
- Configurable Output Mode
- 8 Key or 16 key modes
- Separate outputs to 8 keys in 8 key mode
- PCB Size At 49.3 x 64.5mm
Pin-outs
- VCC (2.4 - 5.5V)
- GND
- SCL (serial clock in)
- SDO (serial data out)
- OUT 1 (key 1 state)
- OUT 2 (key 2 state)
- OUT 3 (key 3 state)
- OUT 4 (key 4 state)
- OUT 5 (key 5 state)
- OUT 6 (key 6 state)
- OUT 7 (key 7 state)
- OUT 8 (key 8 state)
Resources
Arduino Code Sample
/*********************************** CIRCUIT **********************************\ | 16 Buttons Mode: | | * TTP229 VCC to pin VCC | | * TTP229 GND to pin GND | | * TTP229 SCL to pin 2 | | * TTP229 SDO to pin 3 | | * TTP229 TP2 to GND via 1 Megohm resistor! | | | | Important: | | * Must reconnect the TTP229 power so the mode changes will take effect | | * The 1 Megohm resistors already exist on some TTP229 modules | \******************************************************************************/ #includeconst int SCL_PIN = 2; // The pin number of the clock pin. const int SDO_PIN = 3; // The pin number of the data pin. TTP229 ttp229(SCL_PIN, SDO_PIN); // TTP229(sclPin, sdoPin) void setup() { Serial.begin(115200); Serial.println("Start Touching One Key At a Time!"); } void loop() { uint8_t key = ttp229.ReadKey16(); // Blocking if (key) Serial.println(key); // uint8_t key = ttp229.GetKey16(); // Non Blocking // Serial.println(key); }