Ttp226 8way Touch Sensor
Ttp226 8way Touch Sensor
Ttp226 8way Touch Sensor
Description
The TTP226 is a touch pad detector IC which offers 8 touch key. The touching
detection IC is designed for replacing traditional direct button key with diverse pad size.
Capacitive touch allows electronics to sense when your finger is within a few millimetres
of a surface to simulate a button press just like how the pushbutton works. Capacitive
sensing may be used in any place where low to no force human touch sensing is
desirable.
Specifications
Pin Configuration
10 9 8 7 6 5 4 3 2 1
7 7 7
1. GND: ground
2. VCC: 2V to 5.5V DC
3. OUT1: high/low output
4. OUT2: high/low output
5. OUT3: high/low output
6. OUT4: high/low output
7. OUT5: high/low output
8. OUT6: high/low output
9. OUT7: high/low output
10. OUT8: high/low output
Schematic Diagram
Wiring Diagram
10 9 8 7 6 5 4 3 2 1
Sample Sketch
int i;
void setup(){
for(i=1; i<9; i++) pinMode(i, INPUT);
Serial.begin(9600);
}
void loop(){
for(i=1; i<9; i++){
if(digitalRead(i) == HIGH) Serial.println(i+1);
}
delay(100);
}
How to test
The figure below shows when the 4 channels were tapped. A red
LED should also flash simultaneously. Note that the number of tap lines
depends on how long the module was tapped and on the delay in the
sample sketch.