Download as pdf or txt
Download as pdf or txt
You are on page 1of 22

MICROWAVE

OVEN
SIMULATION
PRESENTED BY
CONTENTS

• What is Microwave Oven ?


• Requirements
• Embedded Systems
• Microcontroller and Microprocessor
• PICSimLab
• CLCD
• Matrix Key Pad (MKP)
• ISR
• Timer
• Project Implementation (Demo)
WHAT IS
MICROWAVE Microwave oven is used to heat the food using
OVEN? Microwaves which is of form Electromagnetic
waves.

There are several modes in various Microwave


oven.

MICRO MODE
We are going to GRILL MODE
implement 4 modes : CONVECTION MODE
START MODE
• MICRO MODE:

This mode is used to cook food in a Traditional way.


It uses a maximum power of 900W.
In this the maximum time that you set for cooking 60 minutes.

• GRILL MODE:

This mode is used to cook meat and bread.


It works as the Micro mode but the purpose is to cook meat and bread.
User can set time as per the cooking time of the meat.

• CONVECTION MODE :

In this Mode user can set the oven to pre heat for a particular temperature and it takes 3 minute to
preheat the oven
After pre heating is done then the user can set the time as per the requirements.
REQUIREMENTS

• Knowledge in Embedded C
• MPLAB IDE
• XC8 Compiler
• PICSIMLAB
PIC16F877A
16x4 CLCD
Tactile Switch
MKP (Matrix Keypad)
Timer2
EMBEDDED SYSTEMS

Embedded system is a combination of any hardware and software which is


intended to do a specific task.

A General purpose system (GPS) is used to perform large number of tasks


whereas an Embedded system (ES) is used to perform a specific task.

Stand-alone System
Real Time System
Types of Embedded System: Networked
Mobile
1. Stand-Alone System :

• Slave system:

These system are not intelligent even though these are Embedded system.
These system cannot take action by their own.

Ex. Semi-Automatic Washing Machine

• Independent system :

These systems can take action by their own.


Ex. Google car (Driver less car)
2. Real Time System :

These systems are Time bound system which will take action on a
specified time. Failures in this system are not Acceptable.
i. Hard Real Time
ii. Firm Real Time
iii. Soft Real Time
Ex. Air bag system

3. Networked System :

The systems which are connected to the Network.


Ex. Home Security System
4. Mobile System :

The system which are movable are called as Mobile system.


Ex. Robots
COMPONENTS
OF EMBEDDED
SYSTEM
LOW POWER COST-EFFICIENCY EFFICIENT USE OF RELIABILITY EFFICIENT USE OF
CONSUMPTION PROCESSING MEMORY
POWER

HOW TO CHOOSE EMBEDDED SYSTEM ?


MICROCONTROLLER AND MICROPROCESSOR
• An integrated Circuit which is capable of being programmed to perform a
specified task.
• It has a design restrictions such as memory size, I/O capabilities, Peripheral
functions etc.
• Choose a Microcontroller based on applications, performance, Price, availability
of tools and special capabilities.
MICROCONTROLLER VS
MICROPROCESSOR
1. Microcontroller :
• All components will be in a single chip.
• Less Flexible and less design Complexity.
2. Microprocessor :
• All components are assembled separately.
• More flexible and More design Complexity.
LETS GET INTO THE PROJECT PERIPHERALS

SINKING AND SOURCING CIRCUIT


PICSIMLAB ARCHITECTURE
CLCD

• CLCD -Character Liquid Crystal display.


• In PICSimLab there are 2 types of Display.
1. 16x2 Display
2. 16x4 Display
• It display the ASCII character and some special
characters.
• It is most commonly used display.
• 2 types of communication modes :
4-Bit Mode.
8-Bit Mode
TACTILE SWITCH

pull up Resistor circuit pull down Resistor circuit


TACTILE SWITCH

Tactile switch is a switch whose operation is perceptible by


touch.

This switch used to select the mode of operation and to enter


the temperature and to enter the time in our project.

This switch will produce a Bouncing Effect when a switch is


pressed.
MKP

• MKP - Matrix Key Pad•


• This is a keypad in which number
of tactile switches are connected
in row and column concept.
• This is used when more number
of user inputs are required and
still want to save some controller
I/O lines.
• These keypads are most
commonly used in telephones,
calculators, Digital Lockers etc.,
INTERRUPTS

• An interrupt is a communication process set up in a microprocessor or a


microcontroller in which an internal or external device request the MPU or MCU to
stop the processing.
• Then the MPU or MCU acknowledges the request and attends to the request.
• Goes back the processing where it was got interrupted.
Polling :
• It is the process where the computer or controlling device waits for an external device
to check the readiness or state, often with low-level hardware.
DISADVANTAGE OF POLLING :
• Loss of events may occur during Polling.
• Poor Response
• Less Power Management

CLASSIFICATION OF INTERRUPTS :

External
Maskable
Hardware Internal
Non
Interrupt
Maskable
Software
ISR

• ISR - Interrupt Service Routine


• An ISR is a software routine that hardware invokes in response to an interrupt.
• ISR attends to the request of an interrupting source by clearing the interrupt flag and should
save register contents that may be affected by the code in the ISR. It must be terminated with
the instruction RETIE.
• When an interrupt occurs, the MPU completes the instruction being executed then it disables
global interrupt enable. Places the address from the program counter on the stack
• Return from Interrupt
TIMERS

• Timer is an important application in any embedded system which is a default peripheral which maintains the timing
of an operation in sync with a system clock or an external clock.
• It has many applications such as measuring time and generating delays etc.,
• TIMER/COUNTER is a software designed to count the time intervals between the events.
Resolution which is also called register width. (8 or 16 bit etc.,)
Tic is referred as the change from one number to the another number. It may be Up count or Down count.
Quantum which depends on the system clock setting is a measure of time which is responsible for the tick.
Scaling may be Pre-scalar or Post scalar (may be 1: 1, 1:8 etc.,)
Modes of timers are Counter, PWM or Pulse Generator etc.,
THANK YOU

You might also like