不是开关,软件逻辑。在锁定的转子或非常缓慢的速度,你不能计数脉冲,因为不会有任何或它们可能是非常缓慢的。高频脉冲宽度较短。你得到的分辨率将取决于CPU时钟。你需要看看PIC它的外设。和时钟。做一些数学来决定你得到什么,是否适合你的需要。您将需要编写某种类型的自动测距。
以上来自于百度翻译
以下为原文
Not a switch, software logic.
At locked rotor or very slow speeds you can not count pulses since ther will not be any or they may be very slow.
Pulse width at high frequency will be short. The resolution you get would depend on the CPU clock.
You need to look at the pic it's peripherials. And clock. Do some math to determine what you get and if it suits your needs.
You will need to code some type of auto ranging.
不是开关,软件逻辑。在锁定的转子或非常缓慢的速度,你不能计数脉冲,因为不会有任何或它们可能是非常缓慢的。高频脉冲宽度较短。你得到的分辨率将取决于CPU时钟。你需要看看PIC它的外设。和时钟。做一些数学来决定你得到什么,是否适合你的需要。您将需要编写某种类型的自动测距。
以上来自于百度翻译
以下为原文
Not a switch, software logic.
At locked rotor or very slow speeds you can not count pulses since ther will not be any or they may be very slow.
Pulse width at high frequency will be short. The resolution you get would depend on the CPU clock.
You need to look at the pic it's peripherials. And clock. Do some math to determine what you get and if it suits your needs.
You will need to code some type of auto ranging.
举报