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

resistive touch screen wire 4 interfacing with 8051

9 posts / 0 new
Last post
sajjad
sajjad_hussain's picture
Offline
Joined: 11/09/2013
Posts: 3
Points: 5
resistive touch screen wire 4 interfacing with 8051

plzz any body help me how i interface resistive touch screen with 8051

 

AJISH ALFRED
ajishalfred's picture
Offline
Joined: 10/01/2012
Posts: 1457
Points: 6920

Hi Sajjad,

Resistive touch screen requires ADC module. If your microcontroller don't have ADC module you need to interface the ADC with the microcontroller first and then touch screen with the microcontroller

sajjad
sajjad_hussain's picture
Offline
Joined: 11/09/2013
Posts: 3
Points: 5

thanks brother:

the problem is...........

the switching process that we done for finding x and y coordinates is how take place its 2 quick how we handle it through programe...plz help me

 

AJISH ALFRED
ajishalfred's picture
Offline
Joined: 10/01/2012
Posts: 1457
Points: 6920

Hi,

Whay don't you use a 'delay' function in between the switching??

Darpan
Darpan747's picture
Offline
Joined: 08/02/2013
Posts: 20
Points: 65

i am trying to interface touchscreen with p89v51rd2 which does not have an adc onboard.

The problem with interfacing an external adc with the muc is that the polling sequence of touchscreen requires you  to ground a pin and in the next sequence check the same pin for analog voltage.

If i give touchscreen wire as my adc input, how am i suppose to ground it for polling the other axis..

kindly help if someone has a solution for this :D

AJISH ALFRED
ajishalfred's picture
Offline
Joined: 10/01/2012
Posts: 1457
Points: 6920

Hi Darpan,

One way to do this is to switch each analog pin to the ADC input or Ground using analog switch cd4066, but I'm sure there would be better soulutions.

A M Bhatt
A M Bhatt's picture
Offline
Joined: 21/12/2010
Posts: 373
Points: 3085

i suggest just get the readily available resistive touch screen controller chips that gives serial output and interface it with 89C51

Ganesh Selvaraj
strangeganesh's picture
Offline
Joined: 15/07/2011
Posts: 78
Points: 355

I suggest you people to use a microcontroller with in-built ADC like ATMega16. And also you can get the code for it here only

http://www.engineersgarage.com/contribution/expert/interfacing-4-wire-re...

SHAH DISHANT H.
shahdishant's picture
Offline
Joined: 12/06/2012
Posts: 250
Points: 1245

Hi,

Why don't you use Relay? Connect common point of relay with input pin of ADC. NO & NC pins with input of X and Y of touch screen. 

When input of relay is 0, you can read Y cordinate from ADC output and when relay input is 1, read X cordinate..!!

 

Login or register to post comments

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