Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Using a VGA touchscreen with Duinomite Me
Author | Message | ||||
Lopezjm2001 Regular Member Joined: 08/07/2012 Location: AustraliaPosts: 42 |
I am still waiting on delivery of a Duinomite Mega. I am just a newby to this forum. I would like to know if connecting a VGA LCD using a touchscreen will work. Is there a driver for a touch screen for using mmbasic? Will it work with a mouse driver? I am planning on using the Mega as a Canbus monitor for my Prius. Any comments. Thanks. Otherwise I will have to use digital inputs via pushbuttons to navigate between pages and execute different functions. Lopez |
||||
darthmite Senior Member Joined: 20/11/2011 Location: FrancePosts: 240 |
If it's a resistive touch screen i will use 2 ADC pin for get the X,Y coords. No button needed. Cheers. Theory is when we know everything but nothing work ... Practice is when everything work but no one know why ;) |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
I have been using the touch LCDs from 4D Systems (expensive but nice). I posted more details plus a MMBasic driver in this topic: http://www.thebackshed.com/forum/forum_posts.asp?TID=4969&KW =4d&PN=0&TPN=2 Geoff Geoff Graham - http://geoffg.net |
||||
Lopezjm2001 Regular Member Joined: 08/07/2012 Location: AustraliaPosts: 42 |
It just happens that I have a 7" VGA LCD touch screen (brand is RESPONCE) which uses a four wire resistance touch screen which may be standard with most 7" touch screens. I confirmed this by measuring the resistance between the four wires ( or flat tape wires) with a DMM whilst touching the touch screen at different spots. I can disconnect the four wires from the driver board which goes to a USB plug and connect them directly to the Duinomite Mega GPIO two analogue input pins and two digital output pins. Then it is just a matter of writing a basic program to calibrate the four corners and accept the x and y coordinates.l Thanks. Your suggestion is the best so far. Lopez |
||||
MicroBlocks Guru Joined: 12/05/2012 Location: ThailandPosts: 2209 |
Hi Lopez, Did you get it to work? I have a similar screen lying around and would be interested to learn how you solved it. Microblocks. Build with logic. |
||||
Lopezjm2001 Regular Member Joined: 08/07/2012 Location: AustraliaPosts: 42 |
I am getting around to it one day. It has already been done by TassyJim at the link below. TassyJim - Small VGA Monitor Lopez |
||||
Print this page |