Skip to content

Mohammed84Farouk/Microwave-Oven-EmbeddedC-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microwave-Oven-EmbeddedC-Project

This project simulates the embedded controller in a microwave oven. The Microwave program works as follow :

If A is pressed, the LCD shows "Popcorn" and the timer counts down 1 minute then clears it when time's up .

If B or C is pressed, the LCD shows "Beef Weight?" or "Chicken Weight?" respectively and upon entering a correct value(1 to 9) from the keypad, the timer will count down the appropiate time needed for each meal. If an incorrect value is entered, the LCD shows "ERR" and gets back to the previous messages.

If D is pressed, the LCD shows "Cooking Time?". The user can enter a time from 1 second to 30 minutes and presses SW2 to start counting down or SW1 to clear the LCD.

The system starts counting when some valid conditions are made, like the oven's door is closed and the user pressed the start button (SW2 in our model).

The microwave can enter a paused state if the user wishes after the countdown starts, pressing SW1 will pause the timer. If SW1 is pressed again, the timer will clear and cooking will stop while if SW2 is pressed , the timer will continue normally.

SW3 emulates the microwave's door and a pressed SW3 correspondes to a closed door. The microwave WILL NOT COOK if the door is open. If SW3 is opened mid countdown, the microwave enters the paused state.

While the Microwave is running, the 3 LEDs will be on and if the microwave stops, they will be off. If it enters the paused state the LEDs will blink and when it finishes cooking, the LEDs will flash 3 times and the buzzer will produce an audible alarm during the 3 second period.

Here is a FSM of the project: FSM_Embedded_Project_-_Copy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •