Question
The figure below shows the microcontroller for a microwave oven. The LED digital display is a countdown timer and shows the remaining time in minutes
The figure below shows the microcontroller for a microwave oven. The LED digital display is a countdown timer and shows the remaining time in minutes and seconds (MM:SS) until the unit turns off. All the pins in Port1 and two pins in Port2, P2.0 & P2.1 are connected to the LED display. A library function DISPLAY is available for use and does the conversion from seconds (R14) into minutes and seconds and displays thistime on the LED (you do not need to code DISPLAY).When the pins connected to the LED are configured as outputs, this function will take the seconds value stored as a word in register R14, convert that into minutes and seconds and display the resultonthe LED.Several pins in Port2 are used to control the oven. A SET button is connected toP2.2. Each time this button is pressed, 3 minutes get added to the timer, up to a maximum of 15 minutes. While the timer shows a value greater that zero, the oven is on. The ovens heating element is connected to P2.4. A voltage level of 3.3 Volts (or logical 1) on P2.4 turns the heating element on, and a value of 0V (logical 0) on P2.4 turns in off. A RESET button is connected to P2.3. When this button is pressed, the timer is reset back to 00:00 and the oven turns off. A 1 Hz stable oscillator is connected to P2.7.A)Write an MSP430 assembly program to control the operations of this system. Make sure to add the interrupt vectorsto vector section of the program.B)If the oscillator connected to pin P2.7 is replaced by a1 KHz (1000 Hz)clock, rewrite the affected part(s) of your programto accommodate this change.C)A safety requirement is to reset the timer and turn the oven off any time the oven door is open. A motion sensor is connected to the door a?nd will produce a 3.3 V reading on pin P2.6 when the door is open. Add the necessary logic to your program to satisfy this requirement.
The figure below shows the microcontroller for a microwave oven. The LED digital display is a countdown timer and shows the remaining time in minutes and seconds (MM:SS) until the unit turns off. All the pins in Port and two pins in Port2, P2.0 & P2.1 are connected to the LED display. A library function . DISPLAY' is available for use and does the conversion from seconds (R14) Into minutes and seconds and displays this time on the LED (you do not need to code DISPLAY)wien the pins connected to the LED are configured as outputs, this fion wl take the seconds value stored as a word in register R14, convert that into minutes and seconds and display the result on the LED Several pins in Poit2 are used to control the oven. A 'SET button is connected to P2.2. Each time this button is pressed, 3 minutes get added to the timer, up to a maximum of 15 minutes. While the timer shows a value greater that zero, the oven is on. The oven's heating element is connected to P2.4. A voltage level of 3.3 Volts (or logical 1) on P2.4 turns the heating element on, and a value of OV (logical 0) on P2.4 tuns in off. A 'RESET button is connected to P2.3. When this button is pressed, the timer is reset back to 00:00 and the oven tuns off. A 1 Hz stable oscillator is connected to P2.7 A) 2 pts) Write an MSP430 assembly program to control the operations of this system. B) 4 pts] If the oscillator connected to pin P2.7 is replaced by a 1 KHz (1000 Hz) clock C) ts) A safety requirement is to reset the timer and turn the oven off any time the Make sure to add the interrupt vectors to vector section of the program. rewrite the affected part s) of your program to accommodate this change oven door is open. A motion sensor is connected to the door and will produce a 3.3 V reading on pin P2.6 when the door is open. Add the necessary logic to your program to satisfy this requirement. PORT 1 MSP 430 P2 SET PORT223 1 Hz The figure below shows the microcontroller for a microwave oven. The LED digital display is a countdown timer and shows the remaining time in minutes and seconds (MM:SS) until the unit turns off. All the pins in Port and two pins in Port2, P2.0 & P2.1 are connected to the LED display. A library function . DISPLAY' is available for use and does the conversion from seconds (R14) Into minutes and seconds and displays this time on the LED (you do not need to code DISPLAY)wien the pins connected to the LED are configured as outputs, this fion wl take the seconds value stored as a word in register R14, convert that into minutes and seconds and display the result on the LED Several pins in Poit2 are used to control the oven. A 'SET button is connected to P2.2. Each time this button is pressed, 3 minutes get added to the timer, up to a maximum of 15 minutes. While the timer shows a value greater that zero, the oven is on. The oven's heating element is connected to P2.4. A voltage level of 3.3 Volts (or logical 1) on P2.4 turns the heating element on, and a value of OV (logical 0) on P2.4 tuns in off. A 'RESET button is connected to P2.3. When this button is pressed, the timer is reset back to 00:00 and the oven tuns off. A 1 Hz stable oscillator is connected to P2.7 A) 2 pts) Write an MSP430 assembly program to control the operations of this system. B) 4 pts] If the oscillator connected to pin P2.7 is replaced by a 1 KHz (1000 Hz) clock C) ts) A safety requirement is to reset the timer and turn the oven off any time the Make sure to add the interrupt vectors to vector section of the program. rewrite the affected part s) of your program to accommodate this change oven door is open. A motion sensor is connected to the door and will produce a 3.3 V reading on pin P2.6 when the door is open. Add the necessary logic to your program to satisfy this requirement. PORT 1 MSP 430 P2 SET PORT223 1 HzStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started