Class 5, 15 Sep – State changes

Class Admin

who needs access to A10? We can only do it Tue night during class hours.

bookstore has not shipped yet. we will get tracking #’s when they do.

This is in the kit: ELEGOO UNO Project Super Starter Kit with Tutorial and UNO R3 Compatible with Arduino IDE

trying to deal with lost class time: an assignment for next tue, then a crit on the 24th that includes the assignment?

Review Assignments

what went right?

what went wrong?

The “thing like a pot” is a rotary encoder

Finite vs. abstract state machines

finite: what we’re doing in class, fixed states and paths

abstract: can modify itself to adapt to changes in data.

What’s a state machine in nature with interaction?

Reactive state machines:

Hourglass timer – set time, start, stop, reset

Arcade game – attract / play / reward

gambling devices slot machines

Murphy bed attached to lights

Interactive state machines:

content predictors on Amazon/Netflix/eBay, “if you like…”

advertising predictors, “if you like xxx we want you to buy yyy”

microwave that can adjust cooking time based on humidity (I have one of these!)

traffic lights with IR detectors for EMS vehicles

Picker robots

Music instrument as state machine:

https://www.humaninstruments.co.uk/instruments

What if state machines were smart(er)? What are interesting problems for them to solve?

What are predictive states machines? console gaming turned in to physical gaming

auto-aiming / target tracking

catch a frisbee (dogs know calculus)

Can made predictions based on history/sensors? Your car notices you’re a sloppy driver (exhausted) and limits your speed. Duolingo detects you’re having vocab problems and changes your exercises (this is an ASM, arguably).

Visual changes in state

  • Doppler shift in nature
  • lives / health in a video game
  • traffic slowdowns in Waze
  • intensity of light => time of day

Mini-assignment for Thursday

post some interesting state machines to Looking Outward

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.