Radio Shack 3x5 Matrix Keyboard (p/n: 270-215) (modified from Parallax 4x4 Help
T&E Engineer
Posts: 1,396
A few months ago I found on clearance at Radio Shack·a 3x5 Matrix Keypad (part number 270-215). It's not sold anymore but you may be able to pick one up in a clearance bin like I did for a couple of bucks.
I decided to modify the SX/B HELP code example of the 4x4 Matrix Keyboard design. For anyone interested, here is my modified code and schematic attachments.
Enjoy!
I decided to modify the SX/B HELP code example of the 4x4 Matrix Keyboard design. For anyone interested, here is my modified code and schematic attachments.
Enjoy!
Comments
Thanks,
Den
thanks
den
You are in an SX forum not the Basic Stamp forum. You tried to run an SX/B program written for an SX-28 on a Basic Stamp 2 which is not possible unless the program is modified for the Basic Stamp 2. If I have time tonight or tomorrow night, I will convert it to the Basic Stamp 2 for you. However, I like to work with the SX chips because they are cheaper than the Basic Stamp 2.
I would not have realized that.
Thanks,
den
Although the BS2-SX incorporates an SX chip the SX chip inside the BS2-SX can not be easily reprogrammed. It certainly can not be reprogrammed using the Basic Stamp software that you have. Although the Basic Stamp and the SX/B basic compiler share many similarities common to the Basic language they are, in fact, separate languages. Their programs are not directly interchangeable.
The good news is that you may be able to look at a program written in SX/B and be able to figure out how a similar program can be constructed to run on the Basic Stamp. (Or T&E Engineer might rewrite this one for you.) Unfortunately, the program T&E Engineer first posted is not designed to run directly on your BS2-SX. You require a Basic Stamp program.
- Sparks
I would appreciate it if you can give me some pointers on how to modify the codes for the keypad. It is possibly better to start with your codes than starting from scratch trying to interface the the keypad with BS2 sx.
Thanks,
den
Keep in mind that the original Drawing can be used indicating:
SX-28·············· BS2 series
RB.0 to RB.7 ->·P0-P7
RC.0 to RC.7 -> P8-P15
Post Edited (T&E Engineer) : 11/19/2007 5:30:57 PM GMT
Please help at your convenience.
Regards,
Denmarc
Please help at your convenience.
Regards,
Denmarc