Matrix keyboard and sleep


Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115

    Default Matrix keyboard and sleep

    I am trying to get rid of double keypress of the same key in the matrix keyboard that is scanned by the PIC 16F886 after it wakes up from sleep.

    Not always but random times some of the key presses are detected two times. I think either a debounce or waiting for key release could help but cannot find a way to make it work.

    After any key press a beep is generated to give feedback.

    The 886 is in sleep and IOC is enabled to detect keypress of the matrix.

    Then flag pressed is set and main routine takes over.

    Attached is the program. Just delete the .txt extension.

    Ioannis

    RCT-100.pbp.txt
    Last edited by Ioannis; - 11th December 2022 at 14:17.

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. Matrix keyboard for up to 32 keys
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 21st June 2009, 01:43
  3. Keyboard Matrix with a Twist
    By k3v1nP in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 29th October 2008, 10:51
  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