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

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

Features:
  • 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.

Tim
Logged

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

Pages: 1 [2]   Go Up
Jump to: