Ks0260 keyestudio TTP229L 16-key Touch Sensor: Difference between revisions
Keyestudio (talk | contribs) |
Keyestudio (talk | contribs) |
||
Line 36: | Line 36: | ||
} | } | ||
</pre> | </pre> | ||
Library Download of TTP229L_I2C : [http://www.keyestudio.com/files/index/download/id/1506415012/] | |||
==Result== | ==Result== |
Revision as of 16:39, 26 September 2017
Keyestudio TTP229L 16-key Touch Sensor
Introduction
This is a 16-key digital capacitive touch switch sensor, using the working mode of capacitive sensing trigger. Its communication is I2C communication, with simple and convenient wiring.
Specification
- Onboard TTP229 capacitive 16-key touch sensor IC
- Onboard power indicator
- Working voltage: 2.4V-5.5V
- Support to set the output mode, key output mode, the longest output time and fast / low power options
- Size: 85mm * 55mm
- Weight: 15.5g
Connection Diagram
Sample Code
#include "TTP229L_I2C.h" void setup() { Serial.begin(9600); } void loop() { unsigned int dat; dat=TTP229_i2c_read(); Serial.println(dat); delay(1000); }
Library Download of TTP229L_I2C : [1]
Result
After uploading the code to the UNO board, connect the UNO board to TTP229L module. Powered up, you can see the red LED on the module is on, then open the serial monitor, touch the key with finger and you can see the corresponding value as the figure shown below:
Resources
PDF File:
http://www.keyestudio.com/files/index/download/id/1505195942/
Library Download of TTP229L_I2C:
http://www.keyestudio.com/files/index/download/id/1506415012/
Get One Now
http://www.keyestudio.com/keyestudio-ttp229l-16-key-touch-sensor-black-environmental-friendly.html