Good afternoon~all,thanks for reading my post.
I am a student majoring in electronics. Recently I am involved in a project of using PIC16F887.(this is its datasheet: http://www.kynix.com/uploadfiles/pdf65976/PIC16F887-E2fPT_977607.pdf
)to capture the speed of machine. Unfortunately,The value is so unclear when there it’s lower that 31Hz. On the contrary,it’s normal if it’s higher that 31Hz. After that,I use lcd and pwm to try to solve this problems,it still doesn’t give the right value. Any body here can help me to analyze the troubles?
This is my main program:
The capture value:
Thank you in advance!