- This topic has 2 replies, 2 voices, and was last updated 12 years, 10 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
Microcontroller › AVR › touch GLCD 128×64
hiii Engineers
i am working on project controlling motor from a touch GLCD( LEFT – RIGHT – START – STOP – PAUSE and display how manny revolution done.
need some help
1- how to use the touch pannel ?
2- how to programing the Atmega 16 to where i touch on screen ?
i degined a form to desplay it on LCD but it’s touch doesn’t work.
44 read & 6 mice and no one respond me !!!!
if here and admen help me plz ?
What kind of touch panel are you using, capacitive or resistive?
You can have a low cost resistive touch panel from the market, with 4 wires. Connect two wires two two ADC channels, say Xout and Yout, and give 5v to other two wires say Xin and Yin when required.
Design you program based on the following logic,
1) Give 5v to Xin
2) Read Xout which is the voltage equivalent to the X-cordinate of a touch
3) Give 5v to Yin
4) Read Yout which is the voltage equivalent to the Y-cordinate of a touch
5) Go to step 1