Input buffer


Closed Thread
Results 1 to 4 of 4

Thread: Input buffer

  1. #1
    Join Date
    Apr 2004
    Posts
    34

    Cool Input buffer

    Hi,

    I'm creating an application that reads the state of 4 relays (NO contacts) to PortA0 - 3 of a Pic16F876A.
    I was wondering whether I need to implement a buffer circuit to shape the input pulse or not.
    Attached is an example of the buffer.

    Thanks.

    Best regards
    Attached Images Attached Images  

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Wink

    Hi, Jrt

    Capacitors close to your inverter inputs would be much better for debouncing.
    a 40106 or 4584 W/Schmitt trigger inputs instead ,one step better.

    now, if your NO contacts are just used for reading relay state, debounce can be achieved by the PIC itself ...

    Alain

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    i agree with alain, everything can be done by the PIC. No adds, only by software.

    Probably one resistor in serie will be enough if your your load at the relay output provide enough low impedance for the low level or OFF signal.
    Last edited by mister_e; - 23rd March 2005 at 04:34.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Apr 2004
    Posts
    34


    Did you find this post helpful? Yes | No

    Default

    Hi guys,

    Thank you for the information !!!
    Now I can finalize my PCB :-)

    Best regards

Similar Threads

  1. Timing input pulses and re-outputting them
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th February 2007, 01:50
  2. USB Interface using PIC
    By Tissy in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 22nd May 2006, 16:04
  3. Serial input buffer size?
    By Chris DeHut in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th January 2006, 22:23
  4. serial input buffer
    By vsingh in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 14th June 2004, 05:55
  5. USART input buffer help
    By kacho in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th June 2004, 14:14

Members who have read this thread : 1

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