On Monday, 10 July 2017, Michael Zacherl <<a href="mailto:sdiy-mz01@blauwurf.info">sdiy-mz01@blauwurf.info</a>> wrote:<div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How would you tell the direction of the movement?<br></blockquote><div><br></div><div>There are two tracks shaped as cos and sin. If you graph one rotation, you would get cos and sin, aka sin and 90 degree out of phase sin. Another (in this case helful) representation is the unit circle, where the x and y axis are repreented by cos and sin. Since every position on the pot is indexed uniquely by an angle (that is, each pair of values is unique to a single angle) everything else follows naturally. It's a quadrature source and you could also draw direct a comparison to a rotary encoder, which essentially does thesame thing, but per step instead of full cycle, and discrete instead of continuous.</div></div><br><br>-- <br>/Ove<br><br>Blog: <<a href="http://blog.gg8.se/" target="_blank">http://blog.gg8.se/</a>><br><br>"Here is Evergreen City. Evergreen is the color of green forever."<br><br>