I would like to share with you an elevator control circuit that I did in high school years . I designed the elevator as 4 floors. Each floor has a display that indicates that the elevator is at a distance, the Call button, and the busy led. In the same way, there is a display in the cabin, leds indicating the floor and one button for each floor. PIC16F877 as a microcontroller.
All Cards must be connected to each other cascaded. So each floor does not go from the motherboard to the separate cable. Instead, I did the cables from the motherboard to the 1st Floor card, from the 1st Floor card to the 2nd Floor card. I will connect the card from the 4th floor card to the card in the cabin. The flexibility of the cable is important for the cab to move comfortably up and down. The cables are pretty much. I recommend that you keep the cables as thin as possible to avoid cable clutter. 🙂
The connection between cards must be in the following order.
The engine that moves the lift up and down can be any low speed gearmotor. Two relays are controlled on the main board.
For high resolution to follow the link below.
Motherboard PCB View
In these pictures, the top view and the PCB image of the cards are found on each floor.
I’il forget about that. You need to add a magnetic switch ( Reed Switch ) on each floor . The connections of this magnetic switch must be made to the cards on each floor. If you place a small magnet on the cabinet so that it does not obstruct the movement, if the cabin and amyetic switch are facing, our circuit will know which floor is on. Read more..