Question: Figure 1 shows a temperature control system using the LPC1768 microcontroller. A temperature sensor (LM35) is used to measure temperature of water in manufacturing plant
Figure 1 shows a temperature control system using the LPC1768 microcontroller. A temperature sensor (LM35) is used to measure temperature of water in manufacturing plant and send the equivalent temperature reading in analog voltage to the microcontroller. Based on the temperature reading, the microcontroller controls a heater and a cooler in order to achieve the desired temperature in the manufacturing plant. At the same time, the temperature data are sent to the computer by using the asynchronous serial communication protocol. The desired water temperature should be maintained in the range between 50C to 70C. (a) Draw a flowchart and write a program to implement the system to meet the given specifications. (b) If a switch is connected to the microcontroller to stop the operation of the system manually, modify your program to implement this operation by using interrupt instead of polling to read the state of the switch. (c) To score high marks for this assignment, suggest additional features i.e., include PWM control, additional sensors, etc! Figure 1: Temperature control system in a manufacturing plant
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
