Electronics Technician

Case File: The Timer That Was Off by Two Percent

A microcontroller timer counts clock ticks, divides them with a prescaler and starts again at a top value. Choose the prescaler and top value that give the closest frequency to a target, report the error, work out the average voltage of a PWM output, and convert servo pulse widths into angles, holding them at the ends of the range. Run it on requests that you cannot see, including an exact frequency and pulses just outside the range. The requests are generated for you alone.

50 min

Case File: The Timer That Was Off by Two Percent

A microcontroller timer counts clock ticks, divides them with a prescaler and starts again at a top value. Choose the prescaler and top value that give the closest frequency to a target, report the error, work out the average voltage of a PWM output, and convert servo pulse widths into angles, holding them at the ends of the range. Run it on requests that you cannot see, including an exact frequency and pulses just outside the range. The requests are generated for you alone.

In this lesson:

  • timer
  • pwm
  • servo
  • microcontroller
  • python
  • case-file

๐Ÿ”’ This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans