Arduino Projects    |   Raspberry Pi  |     Electronic Circuits   |   Electronics Reference Design Library  |   AVR    |    PIC    |    8051    |    Electronic Projects

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 (20)

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

Hi ganesh i like your

Hi ganesh i like your project, and i need some of the components you used in your project, so can you email me your project so that i can modify more in that.

Everything is here. What else

Everything is here. What else do you want me to mail you?

hello, this website is

hello, this website is awesome site for student.i help me to choose my semester project as well as help me to make it.

I like your project, and i need  your project Detail with its c code, so can you email me your project so that i can modify more.thanx.

 

 

All the details are here. You

All the details are here. You can access the code and circuit diagram for free now. Just login/Register.

@Ganesh Selvaraj,I have

@Ganesh Selvaraj,I have interfaced 4 wire resistive touchscreen (Y1 1083) with atmega 32 output pins by doing the soldering as you have told but directly using female connector.I am not getting proper response i.e.not expected cooordinates

 on lcd.I doubt that it is because of improper hardware connections.May be i am not able solder properly so will you please tell me where will I get a touchscreen module with connector online or in mumbai.Awaiting your reply.... 

You can buy them at

You can buy them at Rhydolabz. com

1.Nintendo Touch screen and 2.Touch screen connector break out board

 

Nice project. And nice

Nice project. And nice presentation.

I liked it. I'll surely try this at home.

It is also possible with 89V51RD2 uC, right?

Stop using outdated

Stop using outdated microcontrollers please. It won't work since it doesn't have an in-built ADC .... you can make it work by adding a seperate ADC IC but I would suggest you to switch to latest micro controllers instead (Most probably you attended some workshop on robotics/embedded system and got that 89V51RD2.. I believe) ... at least to the one I used in this project.

APPLICATIONS & TECHNOLOGIES

Learn about the latest applications and industry trends with tutorials and white paper design resources on vertical markets.

Automotive
Energy Harvesting
MEMS Technology
OpenSource Hardware
RFID & NFC
RF Wireless
Sensor
Solar
Touch
Wireless Charging

 

You are here