Keypad with hardware debounce


Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154

    Default Keypad with hardware debounce

    I don't want to have PAUSE in my program,and I'd like to avoid using an interrupt for this if at all possible.

    18F44K22 @ 64MHz, Port D has ST inputs.

    Using this schematic from Mr. E's keypad thread:
    Name:  Keypad schematic.PNG
Views: 1781
Size:  418.7 KB

    Along with this debounce schematic from http://robotgestation.com/SensorForce.html :
    Name:  Keypad debounce.PNG
Views: 2531
Size:  46.6 KB

    I came up with this for my application:
    Name:  Keypad matrix with debounce.PNG
Views: 1809
Size:  12.1 KB

    I always used to have input pins pulled LOW, first time scanning them using HIGH as default.

    Anything stand out as a magic show waiting to happen?

    Robert
    Last edited by Demon; - 20th December 2014 at 19:07. Reason: ST inputs

Similar Threads

  1. 8 bit parallel debounce routine
    By cncmachineguy in forum Code Examples
    Replies: 0
    Last Post: - 26th July 2011, 14:54
  2. TMR1 counter debounce?
    By jderson in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 20th March 2008, 20:19
  3. Debounce routine comments?
    By gebillpap in forum General
    Replies: 3
    Last Post: - 20th February 2008, 19:56
  4. Switch Debounce using a 10F chip
    By modifyit in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 21st March 2006, 05:22
  5. Debounce PULSIN?
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 6th March 2005, 14:45

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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