moc 7811 working with encoder disc

Discussion in 'Embedded Systems and Microcontrollers' started by vipul patel, Mar 7, 2016.

  1. vipul patel

    Thread Starter New Member

    Mar 7, 2016
    1
    0
    hi im using moc 7811 in my final project with encoder disc so how much holes should be there for counting pulses accurately and completly
     
  2. StayatHomeElectronics

    Well-Known Member

    Sep 25, 2008
    864
    40
    One hole for each pulse you want to count.

    Beyond that you need to provide much more detail about what you are trying to accomplish with the project.
     
  3. JohnInTX

    Moderator

    Jun 26, 2012
    2,338
    1,019
    The MOC7811 is a slotted interrupter module (datasheet attached). Presumably, you will have an optical disc in the slot that alternately blocks and transmits the IR light. How many holes depends on how many pulses per revolution you want - within the limitations of the interrupter.
    Note that with one interrupter, you can only determine the number of pulses, not the direction of the optical disc. That takes 2 detectors.

    Good luck!
     
Loading...