There are many techniques available for detecting the peaks of an input waveform and generating a corresponding output. However, to achieve an accurate output that is not severely delayed from the input waveform, developers need to select a method that accommodates the characteristics of the specific waveform. This white paper describes three methods for detecting the peak of a waveform: Sample and Hold, using an SIO pin, and Peak and Hold. Issues such as correct clock rate, addressing noise in slowly changing signals, and how to measure signals that are faster than the available ADC can measure the peaks are considered.