473,508 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Programming a TouchScreen

Hi,

For a 3rd year electronic engineering project i will need to program a
touch screen. I will have to interface the screen, a 5 wire resistive
model to an ATMEL AVR 90s8535. I have no idea where to begin. Does
anyone know how i will be able to set a resolution, then re-route the
signal as a serial mouse command?

If anyone has any expereince in this please let me know, alex

alexdocherty at sympatico.ca

Nov 15 '05 #1
10 15191
On 21 Sep 2005 10:53:34 -0700, "a doc" <al**********@sympatico.ca>
wrote:
Hi,

For a 3rd year electronic engineering project i will need to program a
touch screen. I will have to interface the screen, a 5 wire resistive
model to an ATMEL AVR 90s8535. I have no idea where to begin.
Don't your textbooks and your class work give you any idea where to
start? In any case, you've posted to the wrong newsgroup. This
newsgroup deals with questions about the standard C language.

I don't know the proper newsgroup offhand, but since you're posting
from Google Groups, you have no excuse for not being able to find one.
Does
anyone know how i will be able to set a resolution, then re-route the
signal as a serial mouse command?

If anyone has any expereince in this please let me know, alex

alexdocherty at sympatico.ca

--
Al Balmer
Balmer Consulting
re************************@att.net
Nov 15 '05 #2

"a doc" <al**********@sympatico.ca> wrote
For a 3rd year electronic engineering project i will need to program a
touch screen. I will have to interface the screen, a 5 wire resistive
model to an ATMEL AVR 90s8535. I have no idea where to begin.

You need to begin with what you have.
For instance do you have hardware, or do you have to build it yourself?
I also have no idea what an AMTEL AVR 90s8535 is? Is it some sort of
microprocessor?

Presumably you have a C compiler and processor somewhere in your system. At
a low level, processors usually talk to peripherals via memory-mapped ports.

So the place to start is to get some IO device hooked up to your processor,
and a C program performing IO - eg inputting a number, incrementing it, and
outputting it.
Once you know the C system is working, the next thing to do is to get the
touch screen working - so you accept input and produce some sort of output.
The final stage is to get the C program to produce the output you want for
specified input via high-level logic.
Nov 15 '05 #3
a doc wrote on 21/09/05 :
For a 3rd year electronic engineering project i will need to program a
touch screen. I will have to interface the screen, a 5 wire resistive
model to an ATMEL AVR 90s8535. I have no idea where to begin. Does
anyone know how i will be able to set a resolution, then re-route the
signal as a serial mouse command?

If anyone has any expereince in this please let me know, alex


How is this a C question ?

You have a design problem. Get information about the hardware, the
interfaces, the flowchart, the timings.

Then write the algorithms, and finally, translate the algorithms into
code (C or whatever).

news:comp.arch.embedded could be helpful for design details.

--
Emmanuel
The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html
The C-library: http://www.dinkumware.com/refxc.html

"Mal nommer les choses c'est ajouter du malheur au
monde." -- Albert Camus.
Nov 15 '05 #4
<al**********@sympatico.ca> wrote:
For a 3rd year electronic engineering project i will need to program a
touch screen. I will have to interface the screen, a 5 wire resistive
model to an ATMEL AVR 90s8535. I have no idea where to begin. ....


Try the following groups:
comp.arch.embedded -
comp.robotics.misc -(even if your project has nothing to do with
robotics, this group can provide a wealth of embedded SW and
electronics/interface related info.)

And the following web sites:
http://www.avrfreaks.net/
http://r.webring.com/hub?ring=avr
http://www.ipass.net/hammill/newavr.htm

Come back to this group when you have a C language question.

Roberto Waltman

[ Please reply to the group, ]
[ return address is invalid. ]
Nov 15 '05 #5
well, thanks to for the information, those of you who helped. The program
must be written in C and read by a microcontroller.

alex
"Roberto Waltman" <us****@rwaltman.net> wrote in message
news:d6********************************@4ax.com...
<al**********@sympatico.ca> wrote:
For a 3rd year electronic engineering project i will need to program a
touch screen. I will have to interface the screen, a 5 wire resistive
model to an ATMEL AVR 90s8535. I have no idea where to begin. ....


Try the following groups:
comp.arch.embedded -
comp.robotics.misc -(even if your project has nothing to do with
robotics, this group can provide a wealth of embedded SW and
electronics/interface related info.)

And the following web sites:
http://www.avrfreaks.net/
http://r.webring.com/hub?ring=avr
http://www.ipass.net/hammill/newavr.htm

Come back to this group when you have a C language question.

Roberto Waltman

[ Please reply to the group, ]
[ return address is invalid. ]

Nov 15 '05 #6
At about the time of 9/21/2005 11:26 AM, Malcolm stated the following:
"a doc" <al**********@sympatico.ca> wrote
For a 3rd year electronic engineering project i will need to program a
touch screen. I will have to interface the screen, a 5 wire resistive
model to an ATMEL AVR 90s8535. I have no idea where to begin.


You need to begin with what you have.
For instance do you have hardware, or do you have to build it yourself?
I also have no idea what an AMTEL AVR 90s8535 is? Is it some sort of
microprocessor?


I do. It's a 8-bit RISC microcontroller (embedded control processor)
that is manufactured by Atmel. Info here:
http://www.atmel.com/products/AVR/

I personally have used the ATMega series controllers for my embedded stuff.
--
Daniel Rudy

Email address has been base64 encoded to reduce spam
Decode email address using b64decode or uudecode -m
Nov 15 '05 #7
"a doc" <al**********@sympatico.ca> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Hi,

For a 3rd year electronic engineering project i will need to program a
touch screen. I will have to interface the screen, a 5 wire resistive
model to an ATMEL AVR 90s8535. I have no idea where to begin. Does
anyone know how i will be able to set a resolution, then re-route the
signal as a serial mouse command?

If anyone has any expereince in this please let me know, alex


I do this everyday. It is called a Palm. You tap the little stylus on
the screen and the OS sends an event to your program. The latest Treo is
also a phone, a jukebox, and a camera. The programming environment is
pure C, but no one here likes to talk about it... :-(

Whatever you are trying to do with wires is like learning how to create
a Difference Engine (Google "Babbitt") to add a column of numbers. Not
worth the effort. But good luck with that degree.

An EE is like saying you were in the Marines. It's not what you learned
doing it, it is just really impressive that you got through it alive and
sane. Of course, no one has...

--
Mabden
Nov 15 '05 #8


Mabden wrote On 09/22/05 09:40,:
[...]
Whatever you are trying to do with wires is like learning how to create
a Difference Engine (Google "Babbitt") [...]


Google gives me the title character in Sinclair Lewis'
novel, the twentieth-century American twelve-tone composer,
various firms that manufacture Babbitt bearings, and assorted
other references -- none of which have any obvious connection
to the Difference Engine of Charles Babbage.

Has there been a slippitt in your verbiitt? Have you
suffered a mental blockitt? What produced this cleavitt
between languitt and usitt? Are you simply unappreciative
of our herititt, like so many other New Itt underitt
teenittrs? I hope the damitt is by now assuittd.

--
Er*********@sun.com

Nov 15 '05 #9
On Thu, 22 Sep 2005 10:37:38 -0400, Eric Sosman said to the parser:
Google gives me the title character in Sinclair Lewis'
novel, the twentieth-century American twelve-tone composer, various firms
that manufacture Babbitt bearings, and assorted other references


Thank goodness I was ve-wy ve-wy quiet while you were hunting babbitts.

--
Michael Coyne
http://turthalion.blogspot.com

Nov 15 '05 #10
On Wed, 21 Sep 2005 23:33:55 -0400, "adoc"
<ca************@hotmail.com> wrote:
well, thanks to for the information, those of you who helped. The program
must be written in C and read by a microcontroller.


I hope you realize that the best help you got was the advice to post
in a group where the subject is topical. Perhaps not - I haven't
noticed the query in comp.arch.embedded, which would be one of the
more obvious choices.

The fact that the program "must be written in C" does not make it
topical here, unless you encounter C language problems or questions
while you are writing it. If you do, please post here.

You cannot expect C programmers, in general, to know much about ATMEL
AVR 90s8535 chips. Also, keep in mind that any information you get
about them here is NOT going to be reviewed and verified by
knowledgeable peers, and could be utter hogwash.

BTW, the advice you got about using the resources you have and
investigating the subject yourself was good, as well. When you
graduate, and work in the real world, you can't count on having
someone else hand you the solution.

Do the best you can, and go for help when you get stuck.
--
Al Balmer
Balmer Consulting
re************************@att.net
Nov 15 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2464
by: user | last post by:
Hi all, At the outset, I regret having to post this slightly OT post here. However, I strongly feel that people in this group would be the best to advise me on my predicament. I am working as...
25
17492
by: Michelle | last post by:
Hi, I am new it vb.net and am looking at writing for touch screens as one of my clients wants their application written for touch screens. I'm sure someone that done this before. Are there links...
1
1489
by: Ryan | last post by:
Can someone give me an idea how they would approach a touchscreen application... and why you would use web over windows... and vice-versa? If an application is webbased, you could set up a kiosk...
30
32210
by: Jakle | last post by:
I have been googling, but can seem to find out about C GUI libraries. My main platform is Windows, but it would be nice to find a cross platform library. I've been programming with php, which...
1
1846
by: Lee | last post by:
Hi- I am QA'ing a kiosk application using IE6 and a touchscreen. If the user 'drumrolls' his fingers over multiple links very quickly the web page does not navigate and effectively freezes. I...
1
1796
by: drumsticksplinter | last post by:
Hi, this is kind of the next stage to a dimmer lighting project i posted about previously. I just wondered if it was possible to write programs for CE using Visual Basic 6? i'm developing a lighting...
2
2099
by: panteraboy | last post by:
Hi everybody at bytes. Im a newbie and am currently developing a touchscreen database of a catalogue of the products that we sell. I have my customised navigation buttons set up for click events and...
18
3043
sunlight8
by: sunlight8 | last post by:
I am planning to buy a new touchscreen mobile. Which mobile is good according to you?
1
3098
by: tanil | last post by:
Does anyone know how to test if the monitor is a touchscreen or not in Microsoft Visual C++?
0
7226
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7328
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7049
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5631
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3199
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3186
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
767
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
422
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.