From Microchip Technology, Inc.
The PIC17C42 is equipped with two high frequency Pulse Width Modulation (PWM) outputs. In a pulse width modulated signal the period of the signal is (usually) kept fixed, while the duty cycle is varied. In this application note, we will discuss options in selecting PWM frequency and resolution. This application note assumes that the internal clock is used for the time-base, which is typically the preferred setup. Also, throughout this application note, PWM1 output is used in examples, Timer1 is assumed to be the time-base. less than 7-bits. Useful and Common PWM Modes While a variety of period values can be selected, the following modes would be most commonly used: 10-bit Mode: In this mode PWM duty cycle has full 10-bit resolution (maximum offered by the PIC17C42). The period register PR1 is set at FFh. PWM period = 1024TOSC = 64 ms. PWM frequency is 15.625 kHz. The user must write both PW1DCH and PW1DCL to update PWM output. See Appendix A for an example of code that modulates 10-bit resolution PWM output
Product Announcements
|
|
The Pura is a highly accurate, fast responding dewpoint transmitter, which incorporates the Kahn Advanced Ceramic Moisture Sensor, and is equipped with VCR fittings for measurement of dewpoint in high...
(read more)
|
|
|
|
We've been providing the most innovative and easy to use instruments for over 40 years. Today, we offer the industry's widest choice of air quality instruments and systems. Our solutions add...
(read more)
|
|
|
|
Kahn Instruments, Wethersfield, CT, a leading manufacturer of advanced moisture-measuring instrumentation, is proud to introduce the new HygroPort Portable Hygrometer. The HygroPort has a dewpoint...
(read more)
|
|
|
Topics of Interest
Overview
Analyzers are used to measure analytical values. The most frequently used analyzers in the process industries are pH and conductivity analyzers. Of all the typical measurements, such as...
Infrared moisture analyzers have had a variety of heating element materials over the
last several decades. The two most common on today's market are quartz and halogen.
Advanced instrumentation lets developers quickly get to the bottom of knotty wireless problems. Edited by Leland E. Teschler It's hard to pick up a magazine or trade journal today and not read about...
Jian Wei, John E. Pillion, Steven M. King, and Matt Verlinden, Millipore Widely considered the most significant contaminant in semiconductor process gases, moisture can cause particle formation and...
Most electric utilities and independent power producers use Sulfur Hexafluoride (SF6) as an arc quenching and insulating gas in high voltage circuit breakers and switchgear installed in their...