Page 1 of 1

potentiometer + keypad input

Posted: Wed Mar 12, 2003 11:32 pm
by JohnC602
is there any way to hook up a potentiometer to the keypad input on a lcd display?

Posted: Thu Mar 13, 2003 12:11 am
by Henry
Why?

re:

Posted: Thu Mar 13, 2003 2:09 pm
by JohnC602
to use it as a volume control and/or a menu selection button.

Re: re:

Posted: Fri Mar 14, 2003 11:21 pm
by WildRice
JohnC602 wrote:to use it as a volume control and/or a menu selection button.
A pot is not really the correct thing to use in this case. The keypad is looking for button presses, so you want to use a device that turns switches on and off when the knob is rotated. I have the following on order from Mouser for just this purpose:

688-EC11B15242AF INCREMENTAL ENCODER
688-RKJXT1E12001 8-DIRECTIONAL SWITCH AND ENCODER with CENTER PUSH

Look those numbers up at

http://www.mouser.com/

and take a look at them by clicking on the catalog page link. You could use a POT, but the solution would be messy. -Chuck-

Posted: Sun Mar 16, 2003 4:44 pm
by JohnC602
could you please keep me posted and fill me in on exactly how these things work as for as wiring and things go.

Thanks,

JohnC

Posted: Mon Mar 17, 2003 1:08 pm
by Pheonix
Would I be right in thinking, these devices should just work by sending a number of pulses, so effectively its breaking and making the circuit, simulating many button presses as you move it up and down. So you would just hook it up to two of the keypad inputs?

Posted: Mon Mar 17, 2003 3:43 pm
by WildRice
Pheonix wrote:Would I be right in thinking, these devices should just work by sending a number of pulses, so effectively its breaking and making the circuit, simulating many button presses as you move it up and down. So you would just hook it up to two of the keypad inputs?
I believe that is correct, except that they are just switches. Nothing to generate ongoing button presses. If I remember, I chose the rotating encoder that gives 30 switch opens/closes per rotation, but there are various switch-counts-per-rotation versions on that catalog page. The Optical Encoders (elsewhere in the catalog) give thousands of switch changes per revolution, but they are quite expensive and you do not need that for this type application.

The Joystick like device just gives a single keypress (one of nine keys, depending on the direction and center push) so you would want to set the LCD to auto-repeat. -Chuck-

Posted: Wed Mar 19, 2003 11:51 am
by dtorner
Some confusion here:

Encoders, normally, not works by switching, works by generating pulses, these encoders also can have detents, little clicks in each position, if a encoder is incremental, it generates at least two channels of pulses (A and B) you must use these two channels to detect if encoder is rotating to left or right side, normally electronic circuits are used for this purpose.

Posted: Wed Mar 19, 2003 3:09 pm
by WildRice
dtorner wrote:Some confusion here:

Encoders, normally, not works by switching, works by generating pulses, these encoders also can have detents, little clicks in each position, if a encoder is incremental, it generates at least two channels of pulses (A and B) you must use these two channels to detect if encoder is rotating to left or right side, normally electronic circuits are used for this purpose.
Yes, but the pulses are just switch opens and closes. There are a pair of them and the direction depends on the order received. There is a good read on them at:

http://www.mcmanis.com/chuck/robotics/p ... atrak.html

Chuck, the author, is a friend from the local robotics club, and though we share the same first name, we are not the same person. He is much smarter than I am. :)

I am not sure that I can use them with the LCD, but I hope to! Will let you know when I get them hooked up. -Chuck-

RKJXT1E12001

Posted: Wed Mar 26, 2003 4:22 pm
by WildRice
Got the devices. Have not hooked them up, but the RKJXT1E12001 looks really, really cool. It is tiny. It could hide behind a quarter. It is a joystick with switched in eight directions, plus a pushbutton, plus a rotation encoder. It may require some electronics to hook it up, but it will be well worth it! -Chuck-

Posted: Thu Mar 27, 2003 4:08 pm
by linear
That's a nice article. Interesting ideas begin to form...

Posted: Tue Apr 22, 2003 11:56 pm
by jace055
I was looking around for some info on this topic and I ran across this site .

Would the circuit for "Up Down detection circuit" work to output the rotation of the encoder into something the keypad input would see as a "button press"

Posted: Fri Apr 25, 2003 11:57 am
by WildRice
jace055 wrote:I was looking around for some info on this topic and I ran across this site .

Would the circuit for "Up Down detection circuit" work to output the rotation of the encoder into something the keypad input would see as a "button press"
Cool info. Think I will give it a try. But you can hook the encoder up directly. It does work, but it is a bit slow to respond. I think that that is due to the debounce times which I have not had a chance to test. -Chuck-