HW Interview
EM-09 · Chapter 8 · Low-Speed Interfaces & Embedded Hardware

Elevator-door state machine

Design the state machine for an elevator door with open and close buttons, an obstruction (light-curtain) sensor, a fire-service override and a power-failure mode.

Level●● onsite technical
TrackEmbedded & wearables
Really testingState-machine design and edge cases.
Full worked answer: in the book, page 218 — what to say first, how to explain it, the numbers worth quoting and the follow-ups. About the book →

Going deeper

Extra explanation that is not in the book: worked numbers, where people go wrong, and how to say it in the room.

Going deeper for this question is coming.

Errata

No corrections known for this question. All errata

Ask about this question

Stuck on a step, or think something is wrong? Send it with EM-09 in the subject. Good questions get answered on this page, and corrections go into the next printing.

Ask about EM-09

Related

← EM-08 Direction from a rotary knobEM-10 Processor or FPGA selection →