Where can I find somecircuits about the keyboard connection?
daniel ding
Posts: 52
I want to study input words and commands through a propeller chip, anyone who can tell me where to get some circuits or examples .
thanks!
thanks!
Comments
For an easy start that will help you understand the principles of a scanned matrix keyboard, check out the 74C92X chip, a 16/20 key encoder chip that can be had through a few sources. After looking at that datasheet, if you are impatient enough, you could actually use 8 I/O pins of your prop chip to set up an 4*4 matrix and create your own 16 key keyboard. Once it sort of works, you could then play around with some delays to provide debounce of the switch presses. When you really get ambitious, you can then add in more delay sequences to cause things like short press single events, longer presses slower/faster/multiple events, etc. Then you can create your own commands determine how they cause/control process' you design. Keys can be abc, 123, start/stop, whatever you define them to be with software.
So, you can buy a chip to learn some of this, or you can build from scratch and get a feel and mastery of much more. Your choice. Check the OBEX to see how others have done it, look in half price book stores for old skool stuff like the 8080/z80 era homebuilt stuff to learn from. But either way,
Have Fun Doin It,
Frank
Check out my objects for the 74C922 16 key encoder IC http://obex.parallax.com/objects/725/
and for the 74C923 20 key encoder IC http://obex.parallax.com/objects/726/
By using the info in the included pdf file you can have the 74C922 become a 32 key encoder IC with additional parts.
Regards,