Keyboard Matrix with a Twist


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by k3v1nP View Post
    Can this be used with normally closed switches?
    What's up with the switches?
    Are they what you have on hand and want to use them up?
    Are you short of pins on your present project, yet still need to hook up the switches?
    Just trying to get a feel for a good solution. The '4067 isn't a bad solution, for an N.O. switch. But I'm thinking, if you're going to go that route, may as well whip up another PIC to do the tough work for you...

  2. #2
    Join Date
    Oct 2008
    Posts
    11


    Did you find this post helpful? Yes | No

    Default

    I'm trying to make an alarm system and I don't want it to be limited by to few switches. Now I know everyone is going to say how many doors do you have that you want to put a sensor on. Well its only 3 so far but there are other things like outside gates, garage door, mailbox (then I can have my computer go "you've got mail" and it be real mail ... lol). I'm sure there are other things as well but thats all I've got right now. If i'm going to use up eight pins I might as well get as many switches as I can out of them.
    The using a whole other pic might not be a bad idea. hmmmm

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by k3v1nP View Post
    If i'm going to use up eight pins I might as well get as many switches as I can out of them.
    Well, if you've got a batch of precision resistors, theoretically, you could get 1024 switches on each analog input pin on a PIC with a 10bit ADC.
    Or a 74C150, 16 switches per pin, 4 pins, 4 select bits, 64 switches total. But again, a secondary PIC might be easier.

  4. #4
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    I don't recommend using analog for this application, due to the false allarms generated the system will result useless. Stay on digital!

    Al.

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by aratti View Post
    I don't recommend using analog for this application, due to the false allarms generated the system will result useless. Stay on digital!

    Al.
    Well, I don't recommend it either...but it is possible. Yes, it would be noisy. Ya think a filter might work?

Similar Threads

  1. 10x4 matrix keyboard using only portB
    By aratti in forum Code Examples
    Replies: 19
    Last Post: - 16th November 2011, 09:39
  2. AT/PS2 Keybord - PIC Interface?
    By Kamikaze47 in forum Code Examples
    Replies: 73
    Last Post: - 9th August 2009, 16:10
  3. reading and conecting 10x6 matrix keyboard
    By ustredna in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 9th August 2006, 03:04
  4. LCD + keyboard matrix minimal I/O
    By RFsolution in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 21st June 2006, 19:49
  5. Matrix keyboard problem
    By MegaADY in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 9th May 2005, 18:50

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts