Finite State Machine (Traffic Light)

This interactive simulator explores Finite State Machine in Engineering. Traffic-light Moore machine: timed green–yellow–red cycle or manual step; state graph. Use the controls to change the scenario; watch the visualization and any graphs or readouts to connect the model with lectures, labs, and homework.

Who it's for: Suited to beginners and first exposure to the topic. Typical context: Engineering.

Key terms

  • finite
  • state
  • machine
  • finite state machine
  • engineering

How it works

A minimal Moore-style machine: each state drives the lamp outputs; time events trigger the next state. The graph on the right is the state diagram.