TactivergeLite

Lite / Building Machines That Respond / Week 25

Week 25: Timing and control sequences

Term 3: Embedded Intelligence

This week you will

Lessons

  1. Timers: hardware that counts for you · about 30 min
    Your loop is busy reading sensors. Who is keeping track of the time?
  2. PWM: dimming with an on/off switch · about 30 min
    A pin can only be fully on or fully off. So how does it dim an LED to 30% or run a motor at half speed?
  3. Doing several things at once (without waiting) · about 35 min
    Blink an LED every half second, read a sensor ten times a second and never miss a button press. With one CPU and no waiting. How?
← Week 24Week 26 →