A state machine
IDLE, MOVING and DOORS_OPEN, and the events that move between them: a call, an arrival, a dwell that runs out, a call that comes in while the doors are open, and a call at the floor the car is already on.
Open it in the simulatorA four-floor model lift on a stepper: calls and the elevator algorithm, a state machine, homing a lead screw hoist, doors with an eye, a safety chain, and a rush hour to measure it.
0 of 6 done
6 lessons in 3 chapters, about 6 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.
IDLE, MOVING and DOORS_OPEN, and the events that move between them: a call, an arrival, a dwell that runs out, a call that comes in while the doors are open, and a call at the floor the car is already on.
Open it in the simulatorDoors that open on arrival, dwell and close; an infrared eye across the doorway that reopens them; nudging after three tries; and the dwell time set for the people using the lift.
Open it in the simulatorThe whole lift in service: home it, call it from the buttons, run a scripted rush hour that measures floors traveled and waiting times, then switch to first come first served and compare.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
Latched calls, the elevator algorithm and its direction preference, and a state machine that says what it is doing.
Four call buttons on a model lift: calls that are remembered until served, stops made on the way, the elevator algorithm against first come first served, and why a car going up finishes going up.
0 of 5 steps
IDLE, MOVING and DOORS_OPEN, and the events that move between them: a call, an arrival, a dwell that runs out, a call that comes in while the doors are open, and a call at the floor the car is already on.
0 of 5 steps
Steps per millimeter, homing and a top limit, and doors that reopen and nudge.
A stepper hoist on an 8 mm lead screw: steps per millimeter and a floor table, refusing to move blind, homing to a bottom switch with a backoff and a slow touch, a drift check, and a normally closed top limit.
0 of 8 steps
Doors that open on arrival, dwell and close; an infrared eye across the doorway that reopens them; nudging after three tries; and the dwell time set for the people using the lift.
0 of 5 steps
Inhibits, the safety chain, faults and a watchdog, then the whole lift in a rush hour.
The rules that come before the logic: no motion with the doors open, a normally closed safety chain that stops the car dead, a fault that only a person can clear, overtravel, and a watchdog on every move.
0 of 5 steps
The whole lift in service: home it, call it from the buttons, run a scripted rush hour that measures floors traveled and waiting times, then switch to first come first served and compare.
0 of 4 steps
All 6 lessons, in order, each with what it covers. Any of them opens in the editor right away.
Build an elevator is part of the maker track, a ladder of courses from zero to expert.
Build the buoy oceanographers moor in a bay: water temperature, significant wave height, position, solar power and compact LoRa telemetry.
Open the next courseFollow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.
See every course on the trackEvery lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.
Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kitYes. All 6 lessons of Build an elevator are free and run in your browser, with nothing to install and no parts to buy before you start.
No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.
About 6 hours: 6 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.
Each chapter ends in a project that puts it together: A state machine, Doors and Project: a four-floor model.
With "Floors and calls", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.