I needed it few hours ago and was unable to find anything "ready to use" so I made it myself.... The principle is fairly simple ... add few resistors to the keypad so you get different resistance for each key, use that resulting keypad as voltage divider (vpp to gnd) and feed the output to ADC of your uC... read the adc, decode the key pressed
nigel, I first spent 10min on advanced search of this forum, then another 15 on google and then 10 making the circuit as I was unable to find anything on-line (I'm sure there's ton's of it as it is - easy to make, useful...) but seams I was using wrong keywords to find it...
Nigel Goodwin;707156(because JVC obviously didn't) the result was that any button you pressed was read as 'record' and wrote over the tape you were perhaps wanting to watch :D[/QUOTE said:
now that's safe
Anyhow, I would never use the AD for anything in production... maybe it is safe, maybe it is not, but there's just too much room for error... I need this for everyday testing ... insted of
a:
- undefine that
- define this
- compile
- test
goto a
I make a big switch instead of big ifdef and test different things on "press of a button"and this give's me 12 switches on one pin
Searching and finding things isn't easy
Notice I didn't attempt to give you a direct link to the previous threads
Have you figured out how to add a tag to a post or thread ?
Anyhow, I would never use the AD for anything in production... maybe it is safe, maybe it is not, but there's just too much room for error...
I would suggest you've probably got at least one item (and probably more) in your home that does this.
The theory justifying the resistor values was not hard to follow.
can u send me the 4x3 keypad header files for PIC 18F4620.....
Thanks Mike, the method is not new .. it's kind of "hot water" thing, but I need it for "testing purposes" .. (reducing number of switches going to breadboardmethod is very clever and creative
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?