Shop OBEX P1 Docs P2 Docs Learn Events
key pad entry — Parallax Forums

key pad entry

ArchiverArchiver Posts: 46,084
edited 2002-07-02 22:29 in General Discussion
I need to input time values into a porgram on the BS2.
The program has to take input for a specific time to
run a motor. The time can be entered in minutes. Two entrys
one for the run time and another for the delay between the
run cycles need to be entered. Basically the first entry gives the
actual motor ON time. (input from user 10) for 10 minutes. The second
entry is the OFF time of the motor. (say 180 minutes). The motor
should come on for 10 minutes the shut off for 180 minutes then run
again for the 10 and keep doing this until stop switch is pressed.

I found that solutions cubed has a pocketwatch board that can provide
the current time via serial input. I need a way for the user to type
in the two time limits on a key pad. 4 x 4 type would work. My
delima is that I cant find the code to do this with the
memkey device also provided by solutions cubed. Or the code to
do the comparison of start time and stop times.....
any ideas on where to start...??? The motor control portion is
no problem neither is the LCD, The keypad and time calculations
are the big ones..

HELP


thanks


Dave decourt

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-07-02 16:05
    At 07:59 PM 7/1/2002 +0000, you wrote:
    >I need a way for the user to type
    >in the two time limits on a key pad. 4 x 4 type would work. My
    >delima is that I cant find the code to do this with the
    >memkey device

    Good morning,

    You might want to have a look at our EDE1144 Keypad Encoder IC. It will
    allow connection of a 4x4 matrix keypad and provides auto-repeat, keybeep,
    and debouncing. Interfaces well to a Stamp because it has a Keypress
    signal that allows you time to jump to the Serin routine. Full datasheet
    is at www.elabinc.com



    Todd Peterson
    E-Lab Digital Engineering, Inc.

    (816) 257-9954 FAX: (816) 257-9945
    www.elabinc.com
  • ArchiverArchiver Posts: 46,084
    edited 2002-07-02 22:29
    We use these ICs. They are great chips and offload a lot of code from the
    Stamp at a decent price.

    Ray McArthur
    ************************
    >
    > You might want to have a look at our EDE1144 Keypad Encoder IC. It will
    > allow connection of a 4x4 matrix keypad and provides auto-repeat, keybeep,
    > and debouncing. Interfaces well to a Stamp because it has a Keypress
    > signal that allows you time to jump to the Serin routine. Full datasheet
    > is at www.elabinc.com
    >
    >
    >
    > Todd Peterson
    > E-Lab Digital Engineering, Inc.
    >
    > (816) 257-9954 FAX: (816) 257-9945
    > www.elabinc.com
Sign In or Register to comment.