PIC16F877 4 LAYER ELEVATOR CONTROL CIRCUIT Schematic Circuit Diagram
The PIC16F877 is a 40-pin (DIP) microcontroller known for its speed, with instructions executing in just 200 nanoseconds.
I’d like to share an elevator control circuit I designed during my high school years. The elevator system comprises 4 floors, each equipped with a display indicating the elevator’s position, a Call button, and a busy LED. Additionally, the elevator cabin features displays indicating the floor level, along with buttons corresponding to each floor. The central control uses the PIC16F877 microcontroller.
To streamline the connections, all circuit boards are interlinked in a cascading manner. This means cables run from the mainboard to the 1st Floor card, then from the 1st Floor card to the 2nd Floor card, and so on until reaching the 4th-floor card. Similarly, the cabin card is connected to the 4th-floor card. Using flexible and thin cables is essential for ensuring smooth movement of the elevator cabin without cable entanglement. Keeping the cables thin minimizes clutter and enhances the overall functionality of the system.
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.
Circuit diagram;
For the 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 almost forgot to mention, you should incorporate a magnetic switch (Reed Switch) on every floor. These switches should be connected to the respective cards on each floor. By attaching a small magnet to the cabin in a way that doesn’t obstruct its movement, and aligning it with the magnetic switch on each floor, the circuit will accurately determine the floor position.
I constructed the elevator model using MDF.
That covers all the details I wanted to share. I can assure you the circuit functions perfectly. Be extremely careful with the cable connections; a single wire soldered in the wrong place can cost you hours of troubleshooting.