This provided the first home page as well as will all Widgets and settings to the first case coming back.

Reset

Touch screen-touch screen - Touch screen

You ever touch screen device such as computers and photocopy machines, touch or have seen that even with the user can touch the screen to give commands to the device. Many such devices are only a touch screen is more sales looks and what the cost is still buy it up

Why

S because the touch screen and class s famous quote

Now if you want to create a device that technology be made and a touch screen to realize it is OK to do this easily and fast your machine to sell and let the whole class and touch screen s ...

In this section, you introduce a touch screen that size are the size of a graphic LCD is 128 x 64.

On Glcd put and pressing the page (if the special pen to do this saw is much better that this is your reason) realize it is doing its work and give orders to give the device.

touch-screen

Saying that did not touch these pages have different sizes that there is only one example is mentioned.

Under this form of Touch screen is given.

touch20screen-yazdkit-com

This type of touch screen with 4 wires is by two-wire intermediate can coordinate x and y point pressed on the page to obtain it is necessary to say that the output x and y as the voltage is depending on location pressure given page, the output voltage will change the coordinates to obtain two outputs to the A / D to give micro.

For that we can obtain the coordinates of point x to a page Zyrsym nutrition can connect

touch20screen-yazdkit-com203

Then the Y coordinates can be converted to get the basic shape to feed them and change the following connect.

touch-screen-yazdkit-com-4

Must act by changing the voltage to obtain X, Y be done fast so can not manually do this and this should do the micro.

If two photos have noticed La carefully you can see that the two should form the basis of the HI-Z (by impedance) is.

For this you can with micro this case there get to be as follows follow. (This command for AVR and basic language is.) Must to create this mode pin to the base is connected as input considered and then use RESET.

For example:

Config Porta.0 = input

Reset Porta.0

Feeding time in which you can connect to 5 volts.

In the following way to connect the touch screen micro ATMEGA 32 are drawn.

touch20screen-yazdkit-com201-1

But even if you have carefully Bashddr two points of connection mode, VCC and GND, as well as HI-Z is not one for the fast mode to get the base point X and then set the base state to obtain Y Nfqth change should following Act which is written in BASIC language.

Config Porta.0 = Output

Config Porta.1 = Input

Config Porta.2 = Output

Config Porta.3 = Input

Set Porta.0

Reset Porta.1

Reset Porta.2

Reset Porta.3

X = Getadc (1)

X = X / 4

Waitms 10

Config Porta.0 = Input

Config Porta.1 = Output

Config Porta.2 = Input

Config Porta.3 = Output

Reset Porta.0

Set Porta.1

Reset Porta.2

Reset Porta.3

Y = Getadc (2)

Y = Y / 8

Well so far on the touch screen told Hope that no longer in doubt and if there be it in the forum to express problems and write your comments section when you Kynd this case will not answer them.

Now turn lcd graphic appears. This is where the manner of communication System 2 LCD graphics micro explanation will one of their number Ts-12864A-2 and the other numbers KXM12864J-3 is that both of them KS0108 chip are made of and also quite like the basic layout and you can have that one.

Earlier in the same site (Yazd kit dot-com) with GLCD project bids had been placed to good works, but maybe you made it because you can not answer that Proteus convention map was drawn in by way layout Proteus with the basic file layout on the LCD with different graphics that this defect caused by Proteus library is weak and no one among these is not to blame.

Below the picture is given by graphic LCD has written a basic layout like base arrangement in the LCD stays true graphics.

touch-screen

touch20screen-yazdkit-com202

With the following command in the avr lcd graphics are clear.

hwstack = 32

swstack = 10

framesize = 40

$ Lib "glcdKS108.lib"

Config Graphlcd = 128 * 64sed, Dataport = Portd, Controlport = Portc, Ce = 0, Ce2 = 1, Cd = 4, Rd = 3, Reset = 2, Enable = 5

Ce in the above command post that has csb

Ce2 that is csa

Cd that d / I is

That Rd r / w is

Reset is the res

Enable e that should be attached.

How to connect to get full map TOUCH SCEEEN file below is in PDF format can Danlv.

Connection to download map touch screen click on the picture below.

Download Read 3176

For this circuit that users can easily make your own program written in BASIC have prepared for you that I personally use and have good answers have been with the program also must Bskam Version 1.11.9.0 do open.

Download the source file for the program and touch screen click on the picture below.

Download Read 2651

It should be noted that I fed the whole circuit is 5 volts, and basic nutritional ATMEGA32 this CD is a CD by a 10 to 5 volts to the ground base 11 connect.

Share this article:
balatarin cloob viwio Donbaleh Twitter Facebook Google Buzz Google Bookmarks Digg yahoo Technorati delicious

Similar subjects:


48 comments

  1. alireza Internet ExplorerWindows Says:

    Hello
    I wanted to ask what the codevision s orders based hi-z face launched

  2. Amir ISLAMIC REPUBLIC OF IRANMozilla FirefoxWindows Says:

    I plan with this type codevision s?

    If you could find me taking Sayttvn s I saw a link or email'm grateful.

  3. leila memarzadeh ISLAMIC REPUBLIC OF IRANInternet ExplorerWindows Says:

    salam mikhastam mano dar zamine rahandazi glcd rahnamai konid rastesh man barnamaro neveshtam toye poroteus ham run mishe vali amalan javab nemigiram ta vaghti payeha vasl nist hame chiz doroste yani payehaye micro voltage monaseb daren vali bad az etesale micro be glcd voltage payeha eshtebah mishe mamoon misham komak konid

  4. Maysam ISLAMIC REPUBLIC OF IRANInternet ExplorerWindows Says:

    The explanation in print Fyngr so. Grateful

  5. Farzan ISLAMIC REPUBLIC OF IRANMozillaWindows Says:

    I'm so graphic display 240 * 128 project, I wanted to work a little help me? And that on this particular program avr divisions x and y help me. I'm very thank you

  6. Farzan ISLAMIC REPUBLIC OF IRANMozillaWindows Says:

    I love my 128 x 240 graphics display project work I wanted a little help me? And that on this particular program avr divisions x and y help me. I'm very thank you. (This is true coordinates before, same false)

  7. Manager ISLAMIC REPUBLIC OF IRANMozilla FirefoxWindows Says:

    Hello
    Please questions raised in the Forum site to provide answers to yourself if there is complete

  8. redsacoo ISLAMIC REPUBLIC OF IRANMozilla FirefoxWindows Says:

    Hello
    I have a suggestion
    The description of the site gets leave, a pdf version of the Bzaryd it hard to always have
    Page can not save to my site
    Arrvr are ten

Comment


Video & Audio Comments are proudly powered by Riffly