I am evaluating whether it can use "resistive touch film" in project-based cards using USBizi Chipset-100 in place of a conventional keyboard.
I would like to see some similar design to see howto make interface.
Any suggestions?
-
\$\begingroup\$ I'm not sure what kind of keyboard you are trying to mimic, but resistive touch screens/film is not multitouch, unless the type you are using deviates significantly from common resistive position sensors. \$\endgroup\$– Connor WolfCommented Jan 14, 2011 at 23:40
1 Answer
I'm assuming you want help with connections to the touchscreen, not with making your FEZ look like a keyboard to the computer (or with configuring a keyboard as input for the FEZ, depending on your project).
There are essentially two options: Use ADC (analog-to-digital converter) lines on your FEZ to directly connect to the touchscreen, or use a touchscreen controller IC to do the low-level stuff and then connect with SPI or I2C to the controller to get the digital data.
The first option is cheaper (you don't have to buy anything special), but will take more processing time on your FEZ, and will require you to do a little bit of analog design work. Atmel's appnote AVR341 is a good reference, and easily translates to other microcontrollers. Page 7 gives some good requirements: You need a fairly accurate A/D source, 15-25mA source/sink currents, and a processor capable of taking new measurements 70-200 times per second. I'm not sure how well the FEZ works with frequent interrupts like that, so the second option might be more attractive.
The second option eases the processing you'll have to do. Chips like TI's TSC2200 even go as far as to give you a keypad interface so that you can simply wait for the chip to tell you that someone's pressed a key (it's 4x4 keys, not a keyboard!). However, the more features you ask of it, the more complexity will be present in the interface. For a .NET application, you probably want to see an interface rather than connecting right to the hardware,
Regarding the suitability of a touchscreen interface, consider that it can be uncomfortable to type on a rigid surface for a long time, and resistive touchscreens are even worse because you need to apply significant pressure. Don't expect to sustain high typing speeds for very long without causing pain in your fingertips. Also, you'll want some kind of feedback mechanism. The Apple iPod/iPhone/iPad screens are as nice as they are because they (1) indicate the letter you're touching and (2) increase the sensing radius of letters that are likely to come up with predictive algorithms and dictionaries. It's very hard to get a touchscreen keyboard to feel natural.
-
\$\begingroup\$ Is expected to use only for reprogramming of parameters, so simply simulate a few keys, arrow, up, down, enter. \$\endgroup\$– lsalamonCommented Jan 13, 2011 at 18:36
-
\$\begingroup\$ @lsalamon - In that case, if you're committed to the touchscreen plan, I'd use the TSC2200's integrated keypad. Otherwise, a simple 4-button (physical buttons) interface is a common sight: You navigate up and down menus, and enter/backup with the left/right buttons. \$\endgroup\$ Commented Jan 13, 2011 at 19:47