4-wire Touchscreen Interfacing With Arduino
by DIY Tutorials in Circuits > Arduino
6861 Views, 21 Favorites, 0 Comments
4-wire Touchscreen Interfacing With Arduino
In this post, we are going to interface 4-wire touch screen with arduino and make 4*3 keypad from them and labelling them as 0-9, * and #.
List of Components:
- Arduino Uno
- 4-wire touch screen
- Glue gun
- Connecting wire
- Soldering iron
- Base for touch screen
Soldering the Touch Screen
Carefully solder the touch screen such that no two points are shorted. After soldering, apply glue gun at the point of soldering. Put touch screen on some base (hard paper) so that it can sustain the pressure applied on it.
Connection and Uploading the Program
INTERFACE 4 WIRE RESISTIVE TOUCH SCREEN WITH ARDUINO:
________________
| |
| TOUCH |
| SCREEN |
| |
| |
________________
|| || || ||
X1| |Y1| |X2| |Y2|
|| || || ||
A0 A1 A2 A3
FOR Y-AXIS:
X1 GND X2 +5V MAKE Y1 AND Y2 AS INPUT MEANS HIGH IMPEDANCE NOW READ ANALOG VALUE ON Y2
FOR X-AXIS:
Y1 GND Y2 +5V MAKE X1 AND X2 AS INPUT MEANS HIGH IMPEDANCE NOW READ ANALOG VALUE ON Y2
Make connection as mentioned above.
After uploading the program, just make 4*3 keypad and label them from 0-9, * and #.
Hope, you had enjoyed the tutorial.
Feel free to comment.