Exercises

11.1 It is required to design an event counter system. An event is recognised by the LOW to HIGH transition of an external digital signal. Assuming this signal is connected to port pin RC0 of a PIC microcontroller, write a program to display the number of events occurring.

11.2 Design a microcontroller based digital thermometer using the LM35DZ temperature sensor and display the temperature on the LCD. Use +5 V reference for the A/D converter.

11.3 Repeat exercise (2), but use a +3 V reference voltage for the A/D converter.

11.4 Repeat exercise (2), but display the temperature both in °C and in °F.

11.5 Repeat exercise (2), but use an external push-button switch such that the temperature is normally displayed in °C, but when the switch is pressed the temperature is displayed in °F.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.90.246