n° of serial receiver


Results 1 to 8 of 8

Threaded View

  1. #6
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hello,

    I have built to separate alarm monitoring systems this summer . One system has 20-16F74's talking to an 18F452. The other system operates the same and has 20 16F872's talking to a 16F877A. The serial lines on the 20 boards of each system have a 1K resistor on each board. NO PULLUPS on the senders! THIS IS IMPORTANT! The boards are all programmed as inputs normally and use the SEROUT2 command to send data. As soon as they are done sending the data, the command TRISA.#=1 is given to return the pin to an input state. The receivers (18F452 and 16F877A) have a 1K resistor inline with the input pin and a 100K resistor for a pullup. I did much hair pulling before writing to Stephen Collins (author of SIXPICS.BAS on MELABS site) for help. He sent me in the right direction. It took several days to get things straight but my systems have been working great since then. I have had to set up my "senders" to send the message 3 times with a 10ms pause between each one to eliminate missing and signals. I also have a "busy" line between all boards. The senders put the line to low to let the receiver know data is forth coming and go back to high when done. The receiver puts the line low and holds it there until an operator acknowledges receiving the alarm signal. Each sender sits in a loop waiting for the busy line to go high should any additional alarms get triggered while they are processing the previous alarm.

    Hope this helps you out. Let me know if I can be of further assistance.

    BobK
    Last edited by BobK; - 8th November 2005 at 02:48.

Similar Threads

  1. Replies: 33
    Last Post: - 19th March 2010, 03:02
  2. Serial Comms through TX/RX pair jumbled
    By altech6983 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th July 2009, 21:04
  3. Dynamic USB Serial Number (PIC18F4550)
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th July 2009, 17:03
  4. PIC to PIC "wired" serial one-way communication - SERIN2/SEROUT2
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th April 2008, 20:02
  5. interfacing to the pc serial port
    By kelangfei in forum General
    Replies: 4
    Last Post: - 7th October 2007, 22:35

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