Microcontroller

Thread Starter

sam_1988

Joined Jun 17, 2011
2
Hey i am looking to build a quadrature encoder and i was wondering if i could use a microcontroller to create the outputs or do i need a separate input?
Also if you can what would be the best microcontroller to use?
 

SgtWookie

Joined Jul 17, 2007
22,230
Microchip posted a Technical Bulletin for using a PIC10F2xx uC as a quadrature encoder simulator.
Link: http://ww1.microchip.com/downloads/en/devicedoc/91091A.pdf
Source code is available here: http://projects.mestcs.com/idcplg-IdcService=SS_GET_PAGE&nodeId=2121&fragment6_NextRow=326.htm

Here's a quadrature decoder using flipflops and a few gates: http://www.fpga4fun.com/QuadratureDecoder.html

Here's a simple quadrature encoder circuit using phototransistors and Schmitt triggers:
http://keeganmann.wordpress.com/2011/01/02/quadrature-encoder-circuit/
You could use a 4093 quad NAND Schmitt trigger for that portion of the circuit.

You could probably build a quadrature encoder simulator using some D-type flip flops with a clock input.
 

ErnieM

Joined Apr 24, 2011
8,377
i was wondering if i could use a microcontroller to create the outputs or do i need a separate input?
A separate input for each output is always a requirement, but only in professional plumbing applications.

:D

(try posting again, as your post needs more sense: your post makes none.)
 

Thread Starter

sam_1988

Joined Jun 17, 2011
2
Thanks for all your input guys i will have a look and see if i can get a working model! I will post my results! Thanks again!
 
Top