PDA

View Full Version : Question for Mark F re: IR serial touch screen



Mark F
October 13th, 2002, 12:55 PM
Standard disclaimer: I don't have one of these devices so the following are guesses from reading the document you referenced VERY quickly. From the document, a Windows mouse driver is available and would be the fastest way to get this working.

On to the fun stuff :smile:

At startup:
send a 0x2c to reset the panel
send a 0x26 to enable the panel
send a 0x29 for auto report transfer
send either a 0x22 (point) or 0x24 (continuous) reports

Sending hex numbers is easy. :wink:

In the Girder menus, go to file/settings ... and choose the hardware plugins tab. Hi-lite the Generic Serial Support and press the settings button. find the device in the dropdown list and press choose. Press the transmit button in the message definitions group box. make sure the Translate (hex->bin) is checked and nothing else. Press OK on each dialog until you are back at the main Girder screen.

Add a command to the tree, name it and choose the plugins tab. Hi-lite Serial Commands and press settings. Make sure the right device is on the button marked "serial port". If not, press the button and choose the right device. Choose the Send Data radio button and type the hex number into the edit field without the leading 0x or trailing h (type in 26 for 0x26 or 26h). Press OK.

I'm going to surf around their site some more to see if I can get a better feel for the right commands.

Mark F
October 13th, 2002, 12:55 PM
Check out this (http://www.vishay.com/document/37069/37069.pdf) file for a better description of the command and reply interfaces.

I think you want to use 2c(reset), wait a while and send 20(exit), 22(enter), 29(automatic) and 34(tracking).

Let us know how this works out. I used an IR based touch system in the past and hated it. Hopefully they have advanced a bit in the last 15 years. :smile:

Mark F
October 13th, 2002, 12:55 PM
Some more ideas. :smile:


Hardware Handshaking, software handshaking, baud rates and auto-baud features are jumper selected.
Make sure you have the jumpers set for the values you want.

Make sure the TX and RX lines are connected to the right pins. Attaching these lines backwards is a VERY common mistake. :smile: See this (http://www.airborn.com.au/rs232.html) site for a diagram.

mkc2000
October 13th, 2002, 12:55 PM
Hi Mark,
I'm playing around with this serial touch screen for a MP3 unit:
http://www.vishay.com/document/37025/37025.pdf
I have it wired according to their schematics, but I can't even get it to communicate with serialwatcher. It looks like I need to send a few HEX commands first to enable it. (26H and maybe 24H)
Do you have any ideas? Also with your serial plugin and serial send how would I send hex values?
:???:

mkc2000
October 13th, 2002, 12:55 PM
Thanks for the info Mark.
I tried the Windows driver before posting, but it wouldn't work for me.:sad: (Windows XP? plus the exact panel was not listed in the driver)
I have tried the codes that you suggested, but I still can't get any communications to/from this thing. I also tried hyper terminal just to simplify things.
The touch panel is an older one. (the TIP3220)
I'm leaving for the weekend, but I'll keep you updated if I have any luck.
Thanks:)