There are many applications in which the microcontroller is used as a PWM generator for controlling purpose. For instance, the servo motor control or even the temperature controller can be driven on the basis of ON time modulation. However, in the following application, the PWM waveform generated by IC 555 timer is monitored by the microcontroller AT89S52 through port pin 2.4. The ON-time and OFF-time of the PWM are displayed on the LCD. The application may be used to interface resistive sensors like thermistor to display the temperature directly. The main advantage of the PWM-based measurement is the possibility of theoretically infinite resolution of the measurement.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2007 Springer
About this chapter
Cite this chapter
(2007). Microcontroller-based Measurement and Control Applications. In: Exploring C for Microcontrollers. Springer, Dordrecht. https://doi.org/10.1007/978-1-4020-6067-0_7
Download citation
DOI: https://doi.org/10.1007/978-1-4020-6067-0_7
Publisher Name: Springer, Dordrecht
Print ISBN: 978-1-4020-6066-3
Online ISBN: 978-1-4020-6067-0
eBook Packages: EngineeringEngineering (R0)