Home | Projects | Notes > Embedded Systems Design using UML State Machines > Finite State Machine (FSM)

Finite State Machine (FSM)

 

Finite State Machine

 

Benefits of Using State Machines (FSMs)

 

Types of State Machines

 

Mealy Machine

 

generic-mealy-model

 

Example: Light control system

 

mealy-machine-example

 

mealy-machine-state-transition-example

 

 

Moore Machine

 

generic-moore-model

 

Example: Light control system

 

moore-machine-example

 

 

moore-machine-state-transition-example

 

 

Harel State Chart

 

harel-machine

 

 

UML State Machines

 

uml-state-machine

 

UML Modeling Tool & Code Generator

 

Implementation of State Machine Handler