brian47
Well-Known Member
- Posts
- 8,867
A PWM signal is however very simple to read and takes no decoding as such, it is simply a pulse, count the pulses and the software knows what to do.
Pulse Width Modulation (PWM) is as it's name suggests, "encodes" or modulates the width of a pulse to represent the value of the input, in this case, the speed of the vehicle. That implies that the faster the vehicle goes, the wider the pulse and the slower it goes, the narrower the pulse. In such circuits, the repetition rate of the pulses usually remains the same, however some PWM circuits do vary the pulse width or the mark while the space has a pre-set width. It's just the width of the pulse varies. Counting the pulses is meaningless.