i'm using 1 channel incremental encoder and PIC16F877A.i use timer 1 to count pulse on background.to get the speed i use "count" instruction but it take a 0.5 second.is there any faster solution to calculate speed?
i decide to use incPID program to control speed,but how can i tune to find Kp,Ki, and Kd value..
Bookmarks