Embedded Elevator Control Prototype

mhafezan·Embedded_Elevator_Control_Prototype·02_pcb_interface_board_design/kicad_project_files/elevator_io_interface_board.kicad_pcb

Embedded Elevator Control Prototype PCB layout, top view — open source STM32 board by mhafezan

About the Embedded Elevator Control Prototype PCB

Embedded Elevator Control Prototype is an open source STM32 PCB design by mhafezan, published on GitHub under the MIT license. It is a 2-layer board measuring 94.2 × 102 mm, with 60 components from 28 distinct parts.

Its main chip is the STM32F103C8T6, from the STM32 family. Other key parts include the AMS1117-3.3. By type, the board carries 17 resistors, 15 connectors, 8 capacitors, 4 transistors, 4 relays and 4 LEDs.

From the project

This project implements a simplified embedded elevator controller firmware in C, demonstrating FSM-based control logic, FIFO floor-request handling, motor command generation, and safety mechanisms such as emergency stop, door obstruction, and limit-switch protection. It provides both terminal-based and GUI-based simulation environment.

A C-based embedded elevator controller prototype that simulates the core logic of a multi-floor elevator system using a finite-state machine. The project includes both a terminal-based simulator and a graphical simulator built with raylib.

This project demonstrates embedded control concepts such as state-machine design, safety input handling, request queue management, motor control logic, and separation between controller firmware logic and user-interface visualization.

Main components on the Embedded Elevator Control Prototype

Embedded Elevator Control Prototype bill of materials (BOM)

60 components, 28 distinct parts.

QtyPartRefs
1
STM32F103C8T6
U1
1
AMS1117-3.3
U2
4
2N2222
Q1, Q2, Q3, Q4
1
Power Input
J1
1
MCU Input Header
J2
1
Floor 1 Button
J3
1
Floor 2 Button
J4
1
Floor 3 Button
J5
1
Door Sensor
J6
1
Emergency Stop
J7
1
Upper Limit Switch
J8
1
Lower Limit Switch
J9
1
MCU Output Header
J10
1
Motor UP Output
J11
1
Motor DOWN Output
J12
1
Door OPEN Output
J13
1
Door CLOSE Output
J14
1
SWD_IO
J15
4
Relay_SPDT
K1, K2, K3, K4
1
SW_Push
SW1
Show 8 more
QtyPartRefs
1
SW_SPDT
SW2
4
Status_LED
LED1, LED2, LED3, LED4
4
1N4007
D1, D2, D3, D4
4
10uF
C2, C3, C4, C5
4
100nF
C6, C7, C8, C9
9
10k
R1, R2, R3, R4, R5, R6, R7, R16 +1
4
1k
R8, R9, R10, R11
4
330
R12, R13, R14, R15

Embedded Elevator Control Prototype design files

The KiCad project lives in the mhafezan/Embedded_Elevator_Control_Prototype repository on GitHub; these links point at the commit this page was built from.

Embedded Elevator Control Prototype: common questions

What microcontroller does the Embedded Elevator Control Prototype use?

The Embedded Elevator Control Prototype is built around the STM32F103C8T6, from the STM32 family.

How big is the Embedded Elevator Control Prototype PCB?

The Embedded Elevator Control Prototype measures 94.2 × 102 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the Embedded Elevator Control Prototype?

60 components, from 28 distinct parts. The full bill of materials is listed on this page.

Where can I download the Embedded Elevator Control Prototype design files?

From the mhafezan/Embedded_Elevator_Control_Prototype repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.

Can I use the Embedded Elevator Control Prototype design in my own project?

Yes, under the terms of its MIT license, which mhafezan chose for the repository.

Can I test firmware for the Embedded Elevator Control Prototype without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.

Similar boards