Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Netduino and a touch screen as input interface


  • Please log in to reply
7 replies to this topic

#1 dops

dops

    Member

  • Members
  • PipPip
  • 28 posts

Posted 10 August 2011 - 10:06 PM

Hello, as title, i need a 2,5" - 3,5" netduino compatible touch screen (with drivers) that act as input interface. For example, at this moment on my netduino i've connected 16 realys and 2 74hc595 shift registers. All work well, i can act all i want relays (thanks to Stefan 74hc595 drivers) but now i have only output (yes and only one onboard input button), so i need input ... :D and if is possible this inputs must be virtual buttons (designed on touch screen) that acts my ralays. Exists this touch screen i need? where i can find and buy it? Thank you ;)

#2 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 10 August 2011 - 10:18 PM

Hello, as title, i need a 2,5" - 3,5" netduino compatible touch screen (with drivers) that act as input interface.
For example, at this moment on my netduino i've connected 16 realys and 2 74hc595 shift registers. All work well, i can act all i want relays (thanks to Stefan 74hc595 drivers) but now i have only output (yes and only one onboard input button), so i need input ... :D and if is possible this inputs must be virtual buttons (designed on touch screen) that acts my ralays. Exists this touch screen i need? where i can find and buy it? Thank you ;)


The company 4D Systems has a few serial touch screens. http://www.4dsystems...au/products.php . I've used this one: http://www.4dsystems...prod.php?id=114 and I'm happy with it. It can be used with serial commands or programmed with 4D's 4dgl language. You can read about it, and see if it works for you. If you need help with it, I'd be glad to help.

#3 dops

dops

    Member

  • Members
  • PipPip
  • 28 posts

Posted 11 August 2011 - 07:33 AM

The company 4D Systems has a few serial touch screens. http://www.4dsystems...au/products.php . I've used this one: http://www.4dsystems...prod.php?id=114 and I'm happy with it. It can be used with serial commands or programmed with 4D's 4dgl language. You can read about it, and see if it works for you. If you need help with it, I'd be glad to help.

Dear Omar, this is really great, but as i can understand, this is external platform mean this lcd screen do not need netduino to work. Because i use netduino to manage shiftregisters ports (then realys) i need a touch screen that is commanded from netduino and not another device completely separated from netduino :(

#4 Fred

Fred

    Advanced Member

  • Members
  • PipPipPip
  • 302 posts
  • LocationUK

Posted 11 August 2011 - 09:47 AM

I've got a simpler 4D product (OLED-128 with no touch screen) and I'm very impressed with it. The 4D devices have two modes depending on the firmware you've installed on it. One (GFX) means you'll be using an on-board programming language. The other (SGC) means you'll send and receive serial commands to draw, etc. but the device is "dumb". You'll want to use one in serial mode.

#5 dops

dops

    Member

  • Members
  • PipPip
  • 28 posts

Posted 12 August 2011 - 08:48 PM

i don't understand, do not exists simple netduino compatible touch screen (without serial communications). I know that most of arduino shield is compatible with netduino. So arduino users don't have support of touch screen?

#6 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 13 August 2011 - 02:31 AM

i don't understand, do not exists simple netduino compatible touch screen (without serial communications). I know that most of arduino shield is compatible with netduino. So arduino users don't have support of touch screen?


I don't know of any touch screen shields out there right now. the screen I linked is not too hard to use, if you're looking or an extremely easy solution I don't think you'll find it at this point. You can try this website http://shieldlist.org/ to find a shield that might work with the netduino. I havent tested any touch screen shields myself though

#7 dops

dops

    Member

  • Members
  • PipPip
  • 28 posts

Posted 13 August 2011 - 03:06 PM

I don't know of any touch screen shields out there right now. the screen I linked is not too hard to use, if you're looking or an extremely easy solution I don't think you'll find it at this point. You can try this website http://shieldlist.org/ to find a shield that might work with the netduino. I havent tested any touch screen shields myself though

Ok i can buy this model as you suggest: µLCD-32PT(GFX). But really i don't understand how i can use it for my purpose.
If you read all my first post, you'll see what i need. Substantially i need virtual buttons to touch on the screen and activate specific ports of shift registers. Obviously i need other function like create list of string to memorize in a sd card (so the touch screen must show the list with scrollbars) and other..
So i ask you: with simple netduino (not netduino plus) i can connect the µLCD-32PT(GFX) and operate? I think that i need to communicate with serial port because activating shift register.. right? This serial port need another shield? because with normal netduino i don't see a serial port.
If you can help me to understand, i'm grateful ;)

#8 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 15 August 2011 - 12:07 PM

Ok i can buy this model as you suggest: µLCD-32PT(GFX). But really i don't understand how i can use it for my purpose.
If you read all my first post, you'll see what i need. Substantially i need virtual buttons to touch on the screen and activate specific ports of shift registers. Obviously i need other function like create list of string to memorize in a sd card (so the touch screen must show the list with scrollbars) and other..
So i ask you: with simple netduino (not netduino plus) i can connect the µLCD-32PT(GFX) and operate? I think that i need to communicate with serial port because activating shift register.. right? This serial port need another shield? because with normal netduino i don't see a serial port.
If you can help me to understand, i'm grateful ;)


You can use that screen with a regular netduino. You can use it by connecting it to one of the two serial ports on the netduino. If you post an image of what you'd like the graphical interface (whats on the screen) to look like, I'd be glad to help you with programming the screen. Its best to program the screen using their language, and then just send a number to the netduino which corresponds with the button pressed or whatnot.

So here is a bit of explanation of how it will work.

[screen side]
1 Draw screen graphics
2 Wait for a touch on the screen
3 Identify which button was pressed based on location of touch
4 Send data to the netduino like the number 1 for button 1 / relay 1.
[netduino side]
5 Netduino will read the number
6 Do whatever is necessary like shiftclass.TurnOn(number);




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.