Skip to content
World 9 · Sensors · 9 min · PRO

The rotary encoder

Two switches a quarter-cycle apart, read by polling

PRO · Electronics & Arduino

World 9: Sensors is part of PRO

The first world of Electronics & Arduino is free. PRO opens the other 232 lessons in 17 worlds — simulations, quizzes and all.

  • What a sensor gives you
  • The DHT22: temperature and humidity
  • Feels like: the heat index
  • The thumb joystick
  • The encoder on an interrupt
PRO includes
  • All 26 labs — every world, every lesson
  • Practice exams and certificates

$8.33/mo, billed yearly ($99.99) · or $39.99 monthly

Report a mistake

What is wrong?
0 / 2000 · at least 10 characters
Sent along with your report
  • Page
  • About The rotary encoder — Electronics & Arduino · electronics/sn5-encoder-polling
Plus your browser type. Reports go to our support system; see the privacy notice.