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
    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

    AAC Fanatic!

    Sep 25, 2008
    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


    Jun 26, 2012
    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!