Exploring Cutting Edge Technology With the Parallax 4x4 Matrix Membrane Keypad (#27899)
microcontrolleruser
Posts: 1,194
Puttering Around didn't have enough punch in it.
Here's the product page.
https://www.parallax.com/product/27899
Here's the little manual from that page.
https://www.parallax.com/sites/default/files/downloads/27899-4x4-Matrix-Membrane-Keypad-v1.2.pdf
Plan is to run BS2 code for it.
Any tips on this?
Here's the product page.
https://www.parallax.com/product/27899
Here's the little manual from that page.
https://www.parallax.com/sites/default/files/downloads/27899-4x4-Matrix-Membrane-Keypad-v1.2.pdf
Plan is to run BS2 code for it.
Any tips on this?
Comments
Will use resistors or maybe pulldown resistors.
Tonight will get parts together and do run code.
Happy Hoidays!
Got keypad out.
Do you change the asterisk and pound sign to letters E and F to enter hex?
Just found out the other day that is why these keypads are 16 buttons. Hex.
BTW - I don't get your "cutting edge" title. Keypads are about as blunt edge as you can get. The software though is not really trivial if it is done right but with the BS2 if you are not checking/scanning it when a button is pressed then you will miss it. The Propeller can easily scan this in the background and on other micros they use interrupts.
" need more than 16 keys '
This says you can enter numeric or hex with a 4x4 matrix keypad.
http://www.futurlec.com/Mini_Keypad.shtml
I will find out how that is done a few months. Hopefully.
" I don't get your "cutting edge" title. Keypads are about as blunt edge as you can get.'
It's tongue in cheek humor. Will call next one 'Fumbling Around With'
Like to keep it interesting and entertaining.
Laugher is a vacation-Milton Berle
Your program can interpret the keypad any way that you want.
You can add pushbuttons for more keys or as Peter said get a bigger keypad such as a 20 key one.
I'm not going to skip ahead in my lessons to look it up I have a full plate already.
Futurlec has been around as long as Parallax and if they say it can be done it can.
I am going to work on this in the morning.
I'll remember next Stamp project. I know it's not stepper motor.
I'm having an interesting "vacation" already!
Edit: if you get stuck I'm sure Futurlec will be able to tell you (something)
Here is how it is done with a 'different micro'.
https://www.google.com/search?q=pic+hexagon+input+with+matrix+keypad&ie=utf-8&oe=utf-8&client=firefox-b-1
Shouldn't be hard to convert that to Pbasic.At least the concept.
I saw something about reading keypad with SERIN.
You can always add a single pushbutton for ENTER.
I don't think my book lessons are going to cover hex input.
Okay.Back to doing the Parallax keypad manual code.
I need to go get the pack of 1k resistors.
Happy Holidays!
For better or worse. It was I who brought that up.
"widely varying levels of experience "
I caught that oblique comment to you keep referring to what I know and don't know.
When it comes to a 'different micro' assembler, I will leave you in the dust.
Not because of the years put it but because what I've learned is rock solid.
Back to Stamp keypad.
Can't find 10 pack of 1k resistors.Looking through other tackle box of resistors.
Edit:Here's a good resistor guide.Very handy.
http://resistor.cherryjourney.pt/
Plenty, but it sounds like you just don't understand the tips.
Futurlec says it's can be used for hex and that is good enough for me. So I'm done with it.DONE.
Found 1k resistors!
I will assemble this keypad circuit and run code.
Thank you Mike!
The Stamp Professional board has a header for a Parallax parallel (14 pin not serial) LCD. but not one for a keypad.
I don't think I have seen a lot of Parallax boards or kits with a keypad.
"Second BTW - I use the FutureLec *Touch Keypad* with the RS-232 option to save on input pin use"
I have not spotted that one yet.
Here's what they call a 'Decoder' . I just noticed it includes a serial connection. Like the Parallax serial LCD.
http://www.futurlec.com/Keypad_Decoder_Board.shtml
Thank you Mike!
"The article shows how to interface to a Basic Stamp and an LCD"
I think adding keypad and LCD makes a controller more interesting to work with.
You can do more in your project.
I am going to see about finishing this keypad experiment and do the stepper motor one next/
Put the hardware together.
Ran the program and got 'unexpected results'.
It continuously puts lines of nonsense on the debug terminal.
I will look at it in the morning for copy and paste errors.
Will look at comments and see what it is supposed to.
Maybe that will help find where the error is.
Have the IC out for running the stepper motor manual code next.
Is this program supposed to scroll constantly?
Let me run it again and see exactly what it is doing.
It didn't look right to me so I just figured something was wrong.
What program?
Genetix
The one in the manual. The download on the product page at Parallax.com
Been using those to demo these parts we've had laying around.
You really should post links. Even I don't know which program, which manual, which product page you are referring to.
These are critical to answer your questions.
Remember that it's a demo program so you can see the keypad working.
It continuously scans the keypad and updates the screen as keys are pressed or released.
https://www.parallax.com/sites/default/files/downloads/27899-4x4-Matrix-Membrane-Keypad-v1.2.pdf
Publison
Yes. I should.Will do. Genetix found the right one.
Genetix
Let me run it again tonight and pay attention to what program is doing.
Happy Holidays!