Guest
#4505370
Hi guys, I am looking to add a rpm detector to my project to help smooth things out. I currently have a 8 bit encoder attached to a shaft that will run up to 8000 rpm and I would like to detect rpm at least 8 times per revolution for internal use, may output to some led's or logic analyzer to ensure it's working correctly. I am using a lattice machxo2 and 50mhz on board osc. I was thinking of have a 16bit value representing rpm. I have an understanding of what I have to do, just curious if anyone has a proven and sound method of doing this. I already have the encoder inputs filtered for a single clock wide pulse output for the 8 points. I would appreciate any help or guidance. Thank you, Chris.