Quote:
Originally Posted by Ether
Highly recommended if using a one-count-per-rev sensor: use the FPGA to measure the period between the last 2 counts. Do not filter that value, since it represents an entire revolution... and there is no issue with noise due to physical edge location since it's the same edge being measured each time.
|
That works.
We started the build season with a different encoder, and for a reason I can't recall, it got swapped. I'm remembering that the encoder was noisy, and needed to be debounced. The students didn't want to rewrite all of their code, so I gave them the band-aid. Our shooter wheel was very consistent that year, unfortunately the foam basket balls weren't.
__________________

Be Healthy. Never Stop Learning. Say It Like It Is. Own It. Like our values?
Flexware Innovation is hiring!. We're looking for Senior Automation, Software, and System Engineers.
Check us out!