Button with bad contact


Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Feb 2006
    Location
    Australia, Gold Coast
    Posts
    31

    Default Button with bad contact

    Hello,

    Awhile back, I made an automated weekly timer for my fish tank, to power on the heaters, co2 etc. In the recent weeks, the buttons have not been responding as they used to.

    I used Darrel's routine for external interrupts on RB0 to detect button push in combination with other pins. Unfortunately I couldn't use the timers for it as they were used in other parts of the program. Nonetheless the exisiting setup had been working well for the last 8mths.

    The buttons are normall held high via 10k resistors and pulled low on button press. I have included the part with the button connections (See attached JPG)

    However, I suspect the buttons are not the best, contacts may have corroded over time, sort of cheap and nasty. They have 1.2 Ohm, sometimes 1.8O hm resistance across the terminals on press. The pic sometimes has difficulty detecting this.

    Now the sensible thing to do, is to replace the buttons with higher quality ones, right?

    Bit of a dilemma, I machined a nice aluminium case for it, so I would prefer not to change the case.

    Any suggestions on how to detect presses on a crappy button would be appreciated.

    Cheers
    Attached Images Attached Images  
    "Never under estimate the powers of an idiot"

Similar Threads

  1. Sony SIRC IR Issue
    By Ryan7777 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 8th August 2015, 08:10
  2. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 02:43
  3. Code check -- button not working
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 2nd March 2006, 22:43
  4. Button Push within 3 second Window
    By Tissy in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 22nd December 2005, 10:06
  5. Button subfunction 16F628
    By Jųan in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 19th August 2005, 16:44

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