Reading motor speed using optical encoders.

[color=#030303][font=Roboto, Noto, sans-serif]I am trying to figure out how interface the AU to some optical encoders, can i just hook them together. Trying to read RPM from a motor.[/font][/color]

[color=#030303][font=Roboto, Noto, sans-serif]The encoders are 3.3v and they have 3 connectors, pwr, gnd and signal.[/font][/color]

[color=#030303][font=Roboto, Noto, sans-serif]I have been using AVR and Rpi’s so this didn’t seem like a big deal, I am unsure about how to go about this with the AU.[/font][/color]

[color=#030303][font=Roboto, Noto, sans-serif]Thanks for any guidance on this,[/font][/color]
[color=#030303][font=Roboto, Noto, sans-serif]JT[/font][/color]

Hey JT,

If the output is 3.3V, then yes you can just hook it up to any pin. You simply need to declare an input in your top level module then assign the pin in a constraint file.

Justin