Pages: 1 [2]   Go Down
Author Topic: LCD and Keypad sharing data pins  (Read 3138 times)
0 Members and 1 Guest are viewing this topic.
Toledo, OH
Offline Offline
God Member
Karma: 36
Posts: 514
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Updated sketch here:

  • 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

Pages: 1 [2]   Go Up
Jump to: