Adventures in Science: How to Use Rotary Encoders: A New video by SparkFun Electronics
Adventures in Science: How to Use Rotary Encoders
Rotary encoders are useful tools for measuring rotation on a shaft. They come in many different forms, including optical, mechanical, and magnetic. In this video, we show you how they work and how to use them on DC motors to ensure that a robot drives in a straight line for a set distance.
Optical encoder demo: http://ift.tt/2tzX5pk
Code for making Fred drive in a straight line: http://ift.tt/2vB9iay