TactivergeLite

Lite / Building Machines That Respond / Week 23

Week 23: Simple state machines

Term 3: Embedded Intelligence

This week you will

Lessons

  1. States, events and transitions · about 30 min
    An automatic door is closing when someone walks up. Should it keep closing? How would a machine even know what it is doing?
  2. Timed sequences: the traffic light · about 35 min
    A traffic light has no buttons in its basic form. What makes it change, and how do you prove it is never green both ways?
  3. A state machine in twelve lines · about 30 min
    Can a whole automatic door fit in one variable and a handful of ifs?
← Week 22Week 24 →