Help PLEASE - Stuck on a project! 16F877A


Results 1 to 17 of 17

Threaded View

  1. #1
    Join Date
    Nov 2009
    Location
    London
    Posts
    251

    Default Help PLEASE - Stuck on a project! 16F877A

    Hello, I am trying to make a system which should allow an operator to call for assistance from other departments. I have one code for my 16F877A for operator unit (RF Tx & Rx attached) & other code for another 877A for the department (RF Tx & Rx attached). There are 15 operators in total and 3 departments.
    If I can make the system work for 1 department, other two should be less pain.
    Working:
    When operator presses the button for assistance, corresponding LED in the department unit should glow, sending a confirmation signal to operator unit, once this confirmation is received, led at operator unit should blink. When anyone leaves the department to attend the operator, he presses a corresponding button at the department unit, which sends another signal to the operator unit making the blinking LED at operator unit to get stable. Then when work is finished at the operator’s machine, the operator presses the second button which sends another signal to the Department’s unit switching OFF the LED there and waits for the confirmation signal to arrive before it switches OFF its own led as well.

    Problem:
    Upto the knowledge I have, I have made this and tested the system many times and it works up till the person leaves the department and led at operator unit gets stable. After that system behaves erratically. I have even tried to arrange the code in such a way so that operator unit keeps sending the signal automatically if it does not receive the confirmation signal in a certain time. But the system fails most of the time and cannot put the led off at the department unit, despite of repeated signals from the operator unit.
    I attach the code for reference. Hope to find an answer soon.
    Attached Files Attached Files

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