You are in charge of designing the temperature control module (TCM) of a hydroponic system. Your TCM will read a temperature setting in Celsius degrees and compare it to the current temperature read from a digital thermometer. Temperature values will be presented in binary to the TCM. Values will have no fractional part. While allowable settings will range from 5 to 45 degrees, measurable temperatures will range from zero to 50 degrees. When the current temperature is above the setting, the TCM shall turn on a cooling control signal. However, if the current temperature falls below the setting, the TCM must turn on a heating control signal. Otherwise, the TCM shall turn on a signal to indicate that the current temperature matches the setting.
A. Draw a schematic circuit of your design indicating inputs and outputs.
B. Build your design using the MSP430 Launchpad using C code.
C. Show input and output values using clearly labeled LEDs.
D. Using the sec_hundredths_delay() function from Assignment #2, introduce a stabilization delay in your code to avoid having instantaneous changes in inputs produce similar changes in outputs, as you do not want changing inputs to quickly toggle on and off your cooling and heating devices.
I have uncertainty as to how to begin to implement this regarding the initial instructions... It is asking me for an input setting (I will be using two push buttons to increase/decrease a value for temperature) although, it is asking me to compare to the current temperature read from a digital thermometer where I do not understand where the reading is to be compared from/to in general. Also, I am being asked to use LEDs which for this case I will be using six which will count in binary values from 0 to 50. Can someone just clear things up a bit so that I can start working on my algorithm?
Thanks.
A. Draw a schematic circuit of your design indicating inputs and outputs.
B. Build your design using the MSP430 Launchpad using C code.
C. Show input and output values using clearly labeled LEDs.
D. Using the sec_hundredths_delay() function from Assignment #2, introduce a stabilization delay in your code to avoid having instantaneous changes in inputs produce similar changes in outputs, as you do not want changing inputs to quickly toggle on and off your cooling and heating devices.
I have uncertainty as to how to begin to implement this regarding the initial instructions... It is asking me for an input setting (I will be using two push buttons to increase/decrease a value for temperature) although, it is asking me to compare to the current temperature read from a digital thermometer where I do not understand where the reading is to be compared from/to in general. Also, I am being asked to use LEDs which for this case I will be using six which will count in binary values from 0 to 50. Can someone just clear things up a bit so that I can start working on my algorithm?
Thanks.
Last edited by a moderator: