Go Down

Topic: LCD and Keypad sharing data pins (Read 3692 times) previous topic - next topic

Updated sketch here: http://www.phpbbireland.com/kiss2/viewtopic.php?f=80&t=265

  • Allows three different passwords...
  • Lockout if tampering (allows three attempts and then lock the keypad for X seconds)...
  • Uses a piezo device to generate keyboard tone and door open tone...
  • Backlight off if inactive, any key to turn on backlight...
  • Software driven contrast (user can set level)...
  • Latched output (relay 3 seconds)...
  • A test menu with some options (just testing)...

Why not just use a couple shift registers (one for the display, one for the keypad)?  This method would only use 6 pins (or less), cheap (like $0.50), and to me far easier to make and program.  Heck, you could even make the individual keys lighted and still have pins left over.

Arduino - Teensy - Raspberry Pi
My libraries: NewPing - LCDBitmap - toneAC - NewTone - TimerFreeTone

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131