Keyboard and mouse
mukarram
Posts: 16
Do you have any idea how I can connect a keyboard or mouse to my BASIC Stamp.....
Any help will be appreciated.....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Any help will be appreciated.....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
[b]Mukarram[sup]Emc[sub]2[/sub][/sup]Ahmad[/b]
Comments
You can use several of the off-the-shelf co-processor chips, but for the newest solution the Propeller could do the job very well. No such pre-written BASIC Stamp interface has been done for these devices, but it's a matter of object integration (three of them: keyboard, mouse, UART) to interface it to a BASIC Stamp. It's a matter of time before somebody programs Propeller exactly for this purpose.
Ken Gracey
Parallax, Inc.
another easy option is a PS/2 to serial convertor. i think i saw one on ebay for $15-ish.. i found it by searching "serial keyboard". there is an appnote on using a serial 'keypad', just the numeric section of a full size keyboard. maybe that would help.. alternately, you can possibly find an old serial terminal(green screen, 25pin serial port, keyobard, ansi terminal) - this would provide a nice screen and keyboard... no lcd needed.. the problem would be size.. a good thing is that many of the terminals were very small, and probably have room inside for the stamp.
by appnote i meant nuts n voltz article
AWC also has a mouse-specific chip (the Pak XI) but I've no experience using it since I did not need one for the project.
The only drawback I see with these chips is the cost ($30 for the Pak VIa and $25 for the Pak XI) but they do solve the hardware interface and data-conversion problems very nicely which is well worth it to me.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I wouldn't connect that if I were you...