Fluctuating digital inputs


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Fluctuating digital inputs

    Robert, An alarm system hey, When I worked for Westinghouse alarm company about 40 years ago we would use from 15 to 20 Ma. for our contact wetting current in loops. When using switches, you can't rely on anything less to break the oxidization of NO contacts. The system I designed for my home uses a cunstant current source for the NC loop as well as current source's the all NO switches inseries with the LED's powered by 12 volts. I have never had a problem with it. Using constant current allows for some loop resistance variation over time as switches and wiring connections age. No false alarms...... Also you DON'T have to worry about shielding the wiring due to electrical noise.
    Dave Purola,
    N8NTA
    EN82fn

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,159


    Did you find this post helpful? Yes | No

    Default Re: Fluctuating digital inputs

    So you just have a resistor and LED on every line amd that's it?

    That could help diagnostics in case the keypad/display circuit acts up.

    Robert

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Fluctuating digital inputs

    Robert, I don't know what you mean by a resistor and led on each line. I am talking about all of the sensor loops, and individual sensors coming into the control board from some distance away. Having an additional led in series with each of the curcuits would also be an ideal way to visually diagnose the system externals though. What I was talking about was using something like a constant current diode or what I used is a LM317 in a TO-92 package and a resistor configured as a current regurator of 20 Ma. in each of the source circuits for the individual sensor circuits and the loop circuits. They were all powered by the 12 volt power supply.
    Dave Purola,
    N8NTA
    EN82fn

Similar Threads

  1. How to Measure 2 or more digital inputs a the same time
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 29th April 2013, 02:23
  2. PIC 18f4680 DIGITAL INPUTS
    By MegaADY in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 30th July 2008, 07:34
  3. Digital inputs are some pin NOT working (PIC18F458)
    By san6302 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th July 2008, 06:50
  4. Setting up digital inputs
    By quester in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd March 2008, 22:14
  5. Digital inputs
    By Christopher4187 in forum General
    Replies: 5
    Last Post: - 1st August 2007, 23:14

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