Microcontroller-based Measurement and Control Applications
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.
KeywordsProgram Source Code Serial Peripheral Neon Bulb Maximum Circuit Special Function Register
Unable to display preview. Download preview PDF.