More in SERVO Magazine
Understanding the PIC Compare Module
August 2014, Page 42
The ability to determine the frequency of a waveform is key to modern robotics — think quadrature detectors, ultrasound, IR, and laser range finders. Learn how to use the compare mode to generate accurate timing pulses or repeat waveforms of a specific frequency.
Understanding the PIC Capture Module
July 2014, Page 50
The capture module is so handy, it’s a shame not to know how to use it. Why, you ask? Its primary purpose is to accurately measure the period or duty cycle of an incoming pulse wave — a capability that’s invaluable in reading a wide variety of sensors.