mohammed123
Newbie level 2
- Joined
- May 13, 2013
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,308
i need help in this project using pic16f877A
Elevating System Controller:
Design a system for controlling one elevator in a four story building:
The controller must determine the weight of the passengers with the limit of 600 KGs.
The elevator request inputs for moving up or down will come through one of the ports and will be as one bit each
o Example PORTB:
RB0 for the ground. (only upward movement is possible).
RB1 for the 1st floor up.
RB2 for the 1st floor down.
RB3 for the 2nd floor up.
RB4 for the 2nd floor down.
RB5 for the 3rd floor up.
RB6 for the 3rd floor down.
RB7 for the 4th floor. (only downward movement is possible).
Another input will indicate the floor requested from inside the elevator. One bit per floor.
One bit input to simulate something blocking the door.
Two 7-segment displays to show on which floor the elevator is at the moment. One at the ground floor and the other one in the elevator itself.
Two one-bit outputs for opening and closing the door of the elevator. Opening and closing the elevator doors require 3 seconds.
Two one-bit outputs to give the direction of movement up or down. The appropriate output will be active continuously while the elevator is moving. Both outputs will be inactive when the elevator is stopped.
Some specifications:
o The controller must compare between the position of the passengers who requested the elevator and the direction of the movement and it will go to the nearest one. With priority for continuing in the same direction.
o An alarm will be sounded if the total weight inside the elevator exceeds the limit, or if there is something blocking the door.
o The controller must not close the door if the alarm is on.
Elevating System Controller:
Design a system for controlling one elevator in a four story building:
The controller must determine the weight of the passengers with the limit of 600 KGs.
The elevator request inputs for moving up or down will come through one of the ports and will be as one bit each
o Example PORTB:
RB0 for the ground. (only upward movement is possible).
RB1 for the 1st floor up.
RB2 for the 1st floor down.
RB3 for the 2nd floor up.
RB4 for the 2nd floor down.
RB5 for the 3rd floor up.
RB6 for the 3rd floor down.
RB7 for the 4th floor. (only downward movement is possible).
Another input will indicate the floor requested from inside the elevator. One bit per floor.
One bit input to simulate something blocking the door.
Two 7-segment displays to show on which floor the elevator is at the moment. One at the ground floor and the other one in the elevator itself.
Two one-bit outputs for opening and closing the door of the elevator. Opening and closing the elevator doors require 3 seconds.
Two one-bit outputs to give the direction of movement up or down. The appropriate output will be active continuously while the elevator is moving. Both outputs will be inactive when the elevator is stopped.
Some specifications:
o The controller must compare between the position of the passengers who requested the elevator and the direction of the movement and it will go to the nearest one. With priority for continuing in the same direction.
o An alarm will be sounded if the total weight inside the elevator exceeds the limit, or if there is something blocking the door.
o The controller must not close the door if the alarm is on.