embedded system by owais
TRANSCRIPT
![Page 1: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/1.jpg)
GEETA Engineering College
DEPARTMENT OF ELECTRONICS & COMMUNICATION
Presented by:Presented by:OWAIS MUSHTAQ
R.No. 4912329ECE 3RD YEAR
Presented to:Er. VIKAS JINDALAsst. Professor
EMBEDDED SYSTEM BASICS AND APPLICATION
![Page 2: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/2.jpg)
About COMPANY
CETPA INFOTECH PVT LTD is the leader in the “specialized training” brands of India certified by ISO 9001:2008 for its optimum quality.
CETPA INFOTECH is the largest training service provider in various engineering domains for all Engineering students as well as for the working professionals.
It has an extensive experience of nurturing over 20000+ technical, hardworking and brilliant students in the past few emerging great years.
CETPA has been awarded as the “Best IT and Embedded Training Company” for 4 consecutive years for delivering high quality training and workshops at more than 500 colleges across India.
It is a trustworthy brand in Education and Training industry with its presence across several cities such as Noida, Roorkee, Lucknow and Dehradun. The company has started 12 years back and are continuously expanding having overseas branches in Germany and Ukraine.
2
![Page 3: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/3.jpg)
3
TOPICS TO BE DISCUSSED
• System• Embedded System• Components• Processor• Microcontroller• Software's• Applications
![Page 4: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/4.jpg)
4
INTRODUCTIONWhat is a system?• A system is a way of working,
organizing or doing one or many tasks according to a fixed plan, program or set of rules.
• A system is also an arrangement in which all its units assemble and work together according to the plan or program.
![Page 5: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/5.jpg)
5
SYSTEM EXAMPLESWATCH
It is a time display SYSTEMParts: Hardware, Needles, Battery, Dial, Chassis and Strap
Rules1.All needles move clockwise only2.A thin needle rotates every second3.A long needle rotates every minute 4.A short needle rotates every hour5.All needles return to the original position after 12 hours
![Page 6: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/6.jpg)
6
SYSTEM EXAMPLES WASHING MACHINE
It is an automatic clothes washing SYSTEMParts: Status display panel, Switches & Dials, Motor, Power supply & control unit, Inner water level sensor and solenoid valve.
Rules1.Wash by spinning 2.Rinse3.Drying 4.Wash over by blinking 5.Each step display the process stage6.In case interruption, execute only the remaining
![Page 7: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/7.jpg)
7
EMBEDDED SYSTEMDefinition: An Embedded System is one that has computer hardware with software embedded in it as one of its important components.
SOFTWARE PROGRAM
#include <16f876a.h>#use delay (clock=20000000)#byte PORTB=6main(){set_tris_b(0);portb=255; //decimaldelay_ms(1000);portb=0x55; //hexadecimaldelay_ms(1000);portb=0b10101010; //binarydelay_ms(500);}
Its software embeds in ROM (Read Only Memory). It does not need secondary memories as in a computer
HARDWARE
![Page 8: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/8.jpg)
8
COMPONENTS OF EMBEDDED SYSTEM
• It has HardwareProcessor, Timers, Interrupt controller, I/O Devices, Memories, Ports, etc.
• It has main Application SoftwareWhich may perform concurrently the series of tasks or multiple tasks.
• It has Real Time Operating System (RTOS)RTOS defines the way the system work. Which supervise the application software. It sets the rules during the execution of the application program. A small scale embedded system may not need an RTOS.
![Page 9: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/9.jpg)
9
EMBEDDED SYSTEM HARDWARE
![Page 10: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/10.jpg)
10
EMBEDDED SYSTEM CONSTRAINTS
An embedded system is designed to keep in view three constraints:
– Available system memory
– Available processor speed
– The need to limit the power dissipationWhen running the system continuously in cycles of wait for events, run, stop and wakeup.
![Page 11: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/11.jpg)
.
DEVELOPMENT TOOLS FOR EMBEDDED SYSTEM
11
DEVELOPMENT TOOLS FOR EMBEDDED
SYSTEM
ASSEMBLER COMPILER
OPERATING SYSTEM(RTOS)
DEBUGGER
SIMULATOR
EMULATOR
![Page 12: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/12.jpg)
12
What makes embedded systems different?
• Real-time operation• size• cost• time• reliability• safety• energy• security
![Page 13: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/13.jpg)
13
PROCESSOR• A Processor is the heart of the Embedded
System.
• For an embedded system designer knowledge of microprocessor and microcontroller is must.
Two Essential Units: Operations
Control Unit (CU), Fetch
Execution Unit (EU) Execute
![Page 14: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/14.jpg)
14
MICROPROCESSOR Vs MICROCONTROLLER
MICROPROCESSOR MICROCONTROLLER
It has only CPU inside them, these don’t have RAM, ROM, and other peripherals.
It has a CPU, in addition with a fixed amount of RAM, ROM and other peripherals all embedded on a single chip.
Microprocessor find applications where tasks are unspecific like developing software, games, websites, photo editing, creating documents etc.
Microcontrollers are designed to perform specific tasks. For example, keyboards, mouse, washing machine, etc.
Microprocessor is costlier. A microcontroller is far cheaper than a microprocessor.
It is used for designing general purpose digital computers system
They are used for designing application specific dedicated systems
![Page 15: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/15.jpg)
15
MICROCONTROLLER• A microcontroller is a functional computer
system-on-a-chip.
• It contains a processor, memory, and programmable input/output peripherals.
• Microcontrollers include an integrated CPU, memory (a small amount of RAM, program memory, or both) and peripherals capable of input and output.
![Page 16: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/16.jpg)
16
VARIOUS MICROCONTROLLERS
INTEL 8031,8032,8051,8052,8751,8752
PIC 8-bit PIC16, PIC18, 16-bit DSPIC33 / PIC24, PIC16C7x
MotorolaMC68HC11
![Page 17: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/17.jpg)
17
PIC 18F458
• PIC18F458 is a 8 bit microcontroller which gives high computational performance at economical price.
• It has on chip peripherals like flash EEPROM, RAM, enhanced addressable USART, A/D channels.
• It has 32 Kbytes flash memory available as program memory.
• PIC18F458 has 8 A/D channels and thus a number of sensors can be connected.
• It has enhanced addressable USART.
![Page 18: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/18.jpg)
18
PIN DESCRIPTION
![Page 19: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/19.jpg)
19
FEATURES:
Some of the features of PIC 18f458:•Operating frequency – 40MHZ•Internal bytes (Flash) – 32k•Data memory (bytes) – 1536•Data EEPROM (bytes) – 256•Interrupt Sources – 21•Input/output Ports – A,B,C,D,E (5)•10 bit ADC – 8 input channel•Packages – 40 pin DIP 44 pin
![Page 20: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/20.jpg)
20
INTERFACING DC MOTOR WITH PIC
![Page 21: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/21.jpg)
Some points regarding dc motor interfacing:
• Dc motor are not directly interfaced with PIC 18f458.
• We need an IC L293D for interfacing of DC motor.
• L293D is known as Driver IC used for amplification.
• When working on Proteus we can directly interface DC motor with PIC as shown in previous slide.
21
![Page 22: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/22.jpg)
22
PROGRAM CODING:#define sw1 PORTA.RA1
#define sw2 PORTA.RA2
void main()
{
ADCON1=0x07;
TRISD=0x00;
TRISA=0xFF;
while(1)
{
if(sw1==1&&sw2==1)
{
PORTD=0x09;
delay_ms(500);
}
![Page 23: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/23.jpg)
23
else if(sw1==1&&sw2==0){PORTD=0x05;delay_ms(500);}else if(sw1==0&&sw2==1){PORTD=0x0A;delay_ms(500);}elsePORTD=0x00;}
}
Continue…
![Page 24: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/24.jpg)
24
SOFTWARES
MICRO C
PICKIT-2
PROTEUS
EXPRESS PCB
![Page 25: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/25.jpg)
25
•Household appliances:Microwave ovens, Television, DVD Players & Recorders
•Audio players
•Integrated systems in aircrafts and missiles
•Cellular telephones
•Electric and Electronic Motor controllers
•Engine controllers in automobiles
•Calculators
• Medical equipments
•Videogames
•Digital musical instruments, etc.
APPLICATIONS
![Page 26: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/26.jpg)
03.01.09
Some memorable moments of our training
26
![Page 27: Embedded system by owais](https://reader033.vdocuments.mx/reader033/viewer/2022060206/55a25d2c1a28ab962b8b478e/html5/thumbnails/27.jpg)
27
Acquire skills and get employed
Update skills and stay employed
THANK YOU