Arduino Projects    |   Raspberry Pi  |     Electronic Circuits    |    AVR    |    PIC    |    8051    |    Electronic Projects   |   Free TI Design & Simulation Tools 

Interfacing 4-wire Resistive Touchscreen with ATMega16 Microcontroller

Description

Contributor: 
Ganesh Selvaraj
Process
      1.      First apply some flux paste neatly on the touch screen strip.
      2.      Take some solder on the tip of the soldering iron and apply it on the strip.

      Spread it evenly so that the solder gets attached only to the copper part of the strip and make sure none of the 4 is shorted.
      3.      Now strip the tiny wires so that a part of the copper wire is out. Then tin then neatly using the soldering iron.
      4.      Then solder the wires one by one to the touch screen strip by putting the wire on the copper part of the strip (which has some solder now) and applying some heat gently using the solder iron.
       5.      When you are done with that then solder the other end of the 4 wires to the small PCB along with the 4-pin male header, each wire to one pin.
Wire soldering
 
Soldering Wires
 
4 pin male header soldered
 
Soldering wire onto PCB
 
 
    Note: If you don’t want to do so much of soldering work then it is better to buy a touch screen with a readymade breakout board (highly recommended). Trust me it saves a lot of time and energy.
Readymade Connector
Even readymade connectors are not directly compatible with all touch screens. For example I bought a Nintendo touch screen and a breakout board compatible with it. But it still needs a modification to work properly.
Problem: Thickness of the ribbon cable (or simply the strip) emerging from the Nintendo touch screen is 0.1mm thick whereas the connector fits well only with cables which are at least 0.3mm thick.
Soldered vs Readymade cable
Solution: We add some insulation tape to the ribbon cable to make it thicker. Make sure you stick the tape on the back side of the strip where the copper part is not exposed and also cut the extra tape out or else the strip will not go inside the connector.
Touchscreen
Next, you need to slightly slide out the black part of the breakout board connector. Insert the ribbon cable inside the connector and then slide back the black part to get a firm connection.
4 wire resistive touchscreen Now that we have now into the working and interfacing part.
Touchscreen As the connector is ready, now we can go into the working and interfacing part.

Circuit Diagram

Source Code

This Code is only visible to Registered users. Please Login/Register

 

Comments (12)

Very Good, Thanks.

Very Good, Thanks.

ok i will

ok i will

Hi Ganesh i like ur project i

Hi Ganesh i like ur project i am very impressed with it . But actually i am working on project to interface 4-wire touch screen with PC/laptop so that i can control the laptop through touch screen. Can you please help me in it. I m just a beginner hobbyist engineer. Can you suggest me the code req for it.!!!!!

Hi Sumit. Sorry for the late

Hi Sumit. Sorry for the late reply. Look at my latest project titled "4 Wire Touch screen based Digital Magic slate". The project uses a software named Processing on the PC side and that can be used to control the laptop. You have many examples pre-loaded in the software.

Thank you for the reply

Thank you for the reply friend!!!!!!!!

i ll definately go th'gh ur latest project and get u soon  thank you!!!!!!!!

 

tahnku buddy for all that...

tahnku buddy for all that...

i want code for this project

i want code for this project

hi,do we need to use a

hi,do we need to use a touchscreen driver when using the touchscreen with atmega 16? i am making a digital drawing pad using glcd and touchscreen interfaced with microcontroller atmega16. i have written the code for checking both the x and y co-ordinates so will a driver for the touchscreen be necessary?

 

i am also working on similar

i am also working on similar project with 128x64 glcd and 4 wire touch screen, but facing problem like my touch screen coordinates are coming in random order there is no order b/w them.

I need u r help in getting

I need u r help in getting information abt ts.and i want code

i dont want 

i dont want 

i have make this ckt and burn

i have make this ckt and burn above code but it is showing only

0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 

 

please help me

You are here