<div> </div>
<div>Hi all,</div>
<div>I have an idea for a master clock synth module that would be basically a very precise square wave including an LCD screen with a readout in Hz.  For easy generation of clock divisions to interface with my modular.  So far I have found this kit:
</div>
<div> </div>
<div><a href="http://www.invent-electronics.com/freq_Counter.htm">http://www.invent-electronics.com/freq_Counter.htm</a>#</div>
<div> </div>
<div>For the LCD etc... but now it is a matter of generating the square wave with precise control.</div>
<div> </div>
<div>I have found these cheap rotary encoders on Mouser, </div>
<div> </div>
<div><a href="http://www.mouser.com/?handler=data.listcategory&Ne=100&terms=rotary+encoder&Ntt=*rotary*%2b*encoder*&crc=false&Ns=SField&N=3180">http://www.mouser.com/?handler=data.listcategory&Ne=100&terms=rotary+encoder&Ntt=*rotary*%2b*encoder*&crc=false&Ns=SField&N=3180
</a></div>
<div> </div>
<div>*sorry for the wrap here's a PDF too*</div>
<div> </div>
<div><a href="http://www.mouser.com/catalog/specsheets/TW-700029.pdf">http://www.mouser.com/catalog/specsheets/TW-700029.pdf</a></div>
<div> </div>
<div>but I do not know how to connect them to PICs or whatever.  My understanding is that they put out a click of some kind with each "detent" they hit during rotation and they rotate freely 360 degrees.  Do you know how these could be hooked up to a PIC to produce a good square wave with precise resolution?  Somehow the PIC registers the click and goes up .01Hz or whatever.  Maybe one for coarse and one for fine, or maybe even three...?  I don't know how the PIC knows the difference between turning clockwise and counter-CW.
</div>
<div>
<div> </div>
<div>I have a friend who is helping me out somewhat with the digital/programming side of it, as my experience is mostly analog.</div>
<div> </div>
<div>Any help is appreciated.</div>
<div> </div>
<div>Cheers,</div>
<div> </div>
<div>Rafael</div></div>