Example Code for Arduino-Digital Touch Sensor Control
Last revision 2025/12/15
This article provides a comprehensive guide on controlling an Arduino digital touch sensor, including detailed hardware preparation, wiring diagrams, software tips, and example code to enable effective sensor integration.
Hardware Preparation
- ITA-Touch module with Digital sensor cable(1 unit)
- 3x3cm copper with the sticky part(1 unit)
- 15cm wire(1 unit)
Wiring Diagram
| 
Sample Code
void setup(){
Serial.begin(57600);
Serial.println("Start");
pinMode(13,OUTPUT);
pinMode(3,INPUT);
}
void loop(){
int val = digitalRead(3);
digitalWrite(13,val);
Serial.println(val,BIN);
delay(20);
}
Reference
Click here to watch the demo video: Sensor in Use
Was this article helpful?
