Now that our rotary encoder or quadrature encoder hardware is up and running it’s time to tell our arduino what to do with the signals. We want it to count the pulses of the simple encoder. The quadrature encoder counting up and down depending on the turning direction is what we also want. Continue reading
In this post we will add a second photointerrupter to our rotary encoder. This will give you information about the direction your rotary device turns. So you will be able to count forward and backword depending on the turning direction. This is necessary e. g. for many positioning application. The encoder we will make is also called a quadrature encoder. Continue reading
In the first and second post of this series you saw the basics of how to use photointerrupters. Now it’s time for practice. We make a rotary encoder. Here we take a single photointerrupter that gives us the pulses we can count. In a later post we will take two of them to get information about the direction of rotation. But now let’s start with the simple version.