8. Finite State Machines

(due Thursday, October 29)

Design and build a device (physical object with embedded electronics) that has three states.   In each state the device has a different behavior: it responds differently to its sensor inputs.   There must be transitions between the states, triggered by particular conditions.  (Typically, the trigger conditions are specific sensor inputs or input combinations, but a trigger may also be a time-out condition).  Be sure to design the device so that it can’t get stuck in a state: each state must have a transition out to some other state.   Include the state diagram in your write-up for the device.

(For a simple code example, see “finite state machines” in the class notes section).

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: