SlideShare a Scribd company logo
1 of 28
PRESENTATION
ON
EMBEDDED SYSTEM
 BY
 Abhijit Das
 Course-B.Tech, Branch- ECE, 3rd Year
 Roll-13104076, NIT Jalandhar
Training Centre – SKYPHI TECHNOLOGIES
Malviya Nagar , Jaipur
About Organisation :
 Skyphi Technologies is a Renowned Training and Development
Organization in the field of Software Development, Mobile
Application Development, Web Development, well known for
providing quality education in advance domains such
as iPhone Training, Android Training, Java Training, Dot Net
Training, PHP Training, Oracle Training, Linux Training, SEO
Training, C Training, Embedded System Training, VLSI
Training, Robotics Training, MATLAB Training, Ethical Hacking
Training etc.
What Is
Embedded System ?
DEFINATION :
1. An Embedded System employs a combination of
hardware & software to perform a specific function.
2. Software is used for providing features and flexibility
hardware(Processors, Memory...) is used for
performance & sometimes security.
3. Embedded systems are often mass produced, so the cost
savings may be multiplied by millions of items.
4. The core of any embedded system is formed by one or
several microprocessor or micro controller programmed
to perform a small number of tasks.
Example of Embedded System :-
 1.Automated tiller machines (ATMS).
 2. Integrated system in aircraft and missile.
 3.Computer printers, Copiers.
 4. Disk drives (floppy disk drive and hard disk drive)
 5.Microprocessor (MPU) .
 6. Multimedia appliances: internet radio receivers, TV set
top boxes.
 7. Small hand held computer with P1M5 and other
applications.
Introduction to AVR
Features of AVR (ATMEGA-8) :
 RISC Architecture.
 8 bit Microcontroller
 High performance - 16MIPS @ 16MHz
 Large program memory
 EEPROM – non volatile memory
 Two 8 bit, One 16 bit timer with total 4 PWM channels
 On chip 10 bit ADC, 8 channels
 UART, I2C, SPI protocol support
TOOLS :
 Compiler : WinAVR/AVR Studio/CodeVision AVR
 The programmer hardware
 Simple parallel/serial port based In System
Programmer (ISP) or
 USB based ISP (recommended) : USBasp
 Bread board, wires, power supply, crystal, etc.
PIN DIAGRAM ATMEGA-8 :
EMBEDED C :
 Ebedded C is a nothing but a subset of c language is
compatiable with certain microcontrollers.
 some features are added some header files like
 <avr/io.h>,<util/delay.h>
 scanf() and printf() are removed as the inputs are
scanned from the sensorsand output are given to the ports.
 control structure remain the same like
if statement ,for loop,do while etc.
Structure of a c program for an
embedded system :
*//headers
#include<avr/io.h //header filefor AVR i/o
#include<util/delay.h> //header file for delay
*// main program
* int main()
{
* while(1)
{code………..]
*return(0);
}
I/O PORTS :
We have three ports
PORTB
PORTC
PORTD
THREE REGISTERS
Each port pin have three registers
1.DDRx :-Data direction register
2.PORTx:-data output
3.PINx :-port input
DDRx – Data Direction Register 
 Configures data direction of the port - Input / Output
 DDRx.n = 0 > makes corresponding port pin as input
 DDRx.n = 1 > makes corresponding port pin as output
 Examples :
 to make all pins of port A as input pins :
DDRA = 0b00000000;
 to make all pins of port A as output pins
DDRA = 0b11111111;
 to make lower nibble of port B as output and higher nibble as
input
DDRB = 0b00001111;
PORT Register 
For data output, when port is configured as output:
 Writing to PORTx.n will immediately (in same clock cycle)
change state of the port pins according to given value.
 Examples :
to output 0xFF data on PB
DDRB = 0b11111111; //set all pins of port
b as outputs
PORTB = 0xFF; //write data on port
to output data in variable x on PA
DDRA = 0xFF; //make port a as output
PORTA = x; //output 8 bit variable on
port
PIN Register 
 Used to read data from port pins, when port is
configured as input.
 First set DDRx to zero, then use PINx to read the
value.
 If PINx is read, when port is configured as output, it
will give you data that has been outputted on port.
 Example :
DDRA = 0x00; //Set PA as input
x = PINA; //Read contents of PA
TEMPERATURE CONTROLLED
FAN
Components Used 
AVR Board
Motor Driver(L293D)
LM35
DC Motor
Wheel
AVR Board
Motor Driver(L293D)
LM35 (Temperature Sensor)
DC Motor
Wheel
Working principle 
 1. Initially switch the power supply.
 2. Microcontroller starts reading the temperature of the surroundings.
 3. The analog value of temperature is given by the temperature sensor.
 4. This analog value is applied to the analog to digital converter pin of
the micro controller.
 5. This analog value is converted to the digital value by the
microcontroller using successive approximation method internally.
 6. When the temperature is greater than the threshold value,
microcontroller sends a command to the controller to switch the motor.
 7. Thus fan starts rotating.
CIRCUIT DIAGRAM 
Code 
void Initialize()
{
 FAN_POWER_LED_DDR|=0B10000000;
 POWER_LED_OFF();
 DDRC|=0b00111111; //Seven segment
 DDRB|=0b00000010; //Middle
segment G
 Display(0);
 void Display(uint8_t num)
 {
 if(num>9)
 return;
 switch (num)
 {
 case 0:
 PORTC=0B00000000;
 PORTB|=0B00000010
 void Display(uint8_t num)
 {
 if(num>9)
 return;
 switch (num)
 {
 case 0:
 PORTC=0B00000000;
 case 2:
 // xxfedcba
 PORTC=0B00100100;
 PORTB&=(~(0B00000010));
 break;
 case 3:
 // xxfedcba
 PORTC=0B00110000;
 PORTB&=(~(0B00000010));
 break;
 break;
 PORTC=0B00011001;
 PORTB&=(~(0B00000010));
 break;
 case 5:
 // xxfedcba
 PORTC=0B00010010;
 PORTB&=(~(0B00000010));
 if(cmd==RC_ENTER)
 {
 if(fan_on)
 {
 POWER_LED_OFF();
 fan_on=0; //Turn Off
 }
 else
 {
 POWER_LED_ON();
 fan_on=1; //Turn On
 }
 }
 Display(speed);
 }
Application :
This can be used in home
applications.
 The circuit can be used in CPU
to reduce the heat .
THANK YOU

More Related Content

What's hot

Embedded system (Chapter 3) io_port_programming
Embedded system (Chapter 3) io_port_programmingEmbedded system (Chapter 3) io_port_programming
Embedded system (Chapter 3) io_port_programmingIkhwan_Fakrudin
 
Pic 18 microcontroller
Pic 18 microcontrollerPic 18 microcontroller
Pic 18 microcontrollerAshish Ranjan
 
Programming pic microcontrollers
Programming pic microcontrollersProgramming pic microcontrollers
Programming pic microcontrollersMAIYO JOSPHAT
 
Embedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 CourseEmbedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 CourseFastBit Embedded Brain Academy
 
Embedded systems and its ports
Embedded systems and its portsEmbedded systems and its ports
Embedded systems and its portsnitin kumar
 
Programming with PIC microcontroller
Programming with PIC microcontroller Programming with PIC microcontroller
Programming with PIC microcontroller Raghav Shetty
 
Chp6 assembly language programming for pic copy
Chp6 assembly language programming for pic   copyChp6 assembly language programming for pic   copy
Chp6 assembly language programming for pic copymkazree
 
Embedded system (Chapter )
Embedded system (Chapter )Embedded system (Chapter )
Embedded system (Chapter )Ikhwan_Fakrudin
 
PIC16F877A interfacing with LCD
PIC16F877A interfacing with LCDPIC16F877A interfacing with LCD
PIC16F877A interfacing with LCDsunil polo
 
8-bit PIC Microcontrollers
8-bit PIC Microcontrollers8-bit PIC Microcontrollers
8-bit PIC MicrocontrollersPremier Farnell
 
Embedded system (Chapter 2) part 2
Embedded system (Chapter 2) part 2Embedded system (Chapter 2) part 2
Embedded system (Chapter 2) part 2Ikhwan_Fakrudin
 
PIC Microcontroller
PIC MicrocontrollerPIC Microcontroller
PIC MicrocontrollerDivya Bansal
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontrollerSiva Kumar
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.parthi_arjun
 
Microchip's PIC Micro Controller
Microchip's PIC Micro ControllerMicrochip's PIC Micro Controller
Microchip's PIC Micro ControllerMidhu S V Unnithan
 
Microcontroller
MicrocontrollerMicrocontroller
MicrocontrollerSpitiq
 

What's hot (19)

Embedded system (Chapter 3) io_port_programming
Embedded system (Chapter 3) io_port_programmingEmbedded system (Chapter 3) io_port_programming
Embedded system (Chapter 3) io_port_programming
 
Pic 18 microcontroller
Pic 18 microcontrollerPic 18 microcontroller
Pic 18 microcontroller
 
Programming pic microcontrollers
Programming pic microcontrollersProgramming pic microcontrollers
Programming pic microcontrollers
 
Embedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 CourseEmbedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 Course
 
Picmico
PicmicoPicmico
Picmico
 
Embedded systems and its ports
Embedded systems and its portsEmbedded systems and its ports
Embedded systems and its ports
 
Programming with PIC microcontroller
Programming with PIC microcontroller Programming with PIC microcontroller
Programming with PIC microcontroller
 
Chp6 assembly language programming for pic copy
Chp6 assembly language programming for pic   copyChp6 assembly language programming for pic   copy
Chp6 assembly language programming for pic copy
 
A tmega8 basics
A tmega8 basicsA tmega8 basics
A tmega8 basics
 
Embedded system (Chapter )
Embedded system (Chapter )Embedded system (Chapter )
Embedded system (Chapter )
 
PIC16F877A interfacing with LCD
PIC16F877A interfacing with LCDPIC16F877A interfacing with LCD
PIC16F877A interfacing with LCD
 
Pic16f84
Pic16f84Pic16f84
Pic16f84
 
8-bit PIC Microcontrollers
8-bit PIC Microcontrollers8-bit PIC Microcontrollers
8-bit PIC Microcontrollers
 
Embedded system (Chapter 2) part 2
Embedded system (Chapter 2) part 2Embedded system (Chapter 2) part 2
Embedded system (Chapter 2) part 2
 
PIC Microcontroller
PIC MicrocontrollerPIC Microcontroller
PIC Microcontroller
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
 
Microchip's PIC Micro Controller
Microchip's PIC Micro ControllerMicrochip's PIC Micro Controller
Microchip's PIC Micro Controller
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 

Viewers also liked

Speed controller for fan
Speed controller for fanSpeed controller for fan
Speed controller for fanRifatkhasru009
 
Temperature Controlled DC fan using Thermistor
Temperature Controlled DC fan using ThermistorTemperature Controlled DC fan using Thermistor
Temperature Controlled DC fan using ThermistorZaheer Basha
 
Automatic temperature base fan controlle
Automatic temperature base fan  controlleAutomatic temperature base fan  controlle
Automatic temperature base fan controlleDharmaraj Morle
 
Automatic fan controller based on room temperature
Automatic fan controller based on room temperatureAutomatic fan controller based on room temperature
Automatic fan controller based on room temperaturenikhilreddy411
 
temperature dependent dc fan speed controller withou using micrcontroller
temperature dependent dc fan speed controller withou using micrcontrollertemperature dependent dc fan speed controller withou using micrcontroller
temperature dependent dc fan speed controller withou using micrcontrollerDeepak Yadav
 
AUTOMATIC FAN CONTROLLER USING THERMISTOR
AUTOMATIC FAN CONTROLLER USING THERMISTORAUTOMATIC FAN CONTROLLER USING THERMISTOR
AUTOMATIC FAN CONTROLLER USING THERMISTORPankaj Jagadale
 
Automatic tempearture controlled fan
Automatic tempearture controlled fanAutomatic tempearture controlled fan
Automatic tempearture controlled fan Abin Baby
 
Temp based fan speed control
Temp based fan speed controlTemp based fan speed control
Temp based fan speed controlSai Malleswar
 
TEMPERATURE BASED FAN SPEED CONTROLLER
TEMPERATURE  BASED  FAN  SPEED  CONTROLLERTEMPERATURE  BASED  FAN  SPEED  CONTROLLER
TEMPERATURE BASED FAN SPEED CONTROLLERTarek Erin
 
TO control the speed of DC Motor Simple Project
TO control the speed of DC Motor Simple ProjectTO control the speed of DC Motor Simple Project
TO control the speed of DC Motor Simple ProjectZunAib Ali
 
Temperature based speed control of fan
Temperature based speed control of fanTemperature based speed control of fan
Temperature based speed control of fanÇdh Suman
 
fan speed control by using temperature sensor
fan speed control by using temperature sensorfan speed control by using temperature sensor
fan speed control by using temperature sensorNandeesh Boya
 
Temperature Based Fan Controller
Temperature Based Fan Controller Temperature Based Fan Controller
Temperature Based Fan Controller richa1910n
 
Temperature Controlled Fan Report
Temperature Controlled Fan ReportTemperature Controlled Fan Report
Temperature Controlled Fan ReportPeeyush Pashine
 

Viewers also liked (15)

Speed controller for fan
Speed controller for fanSpeed controller for fan
Speed controller for fan
 
Temperature Controlled DC fan using Thermistor
Temperature Controlled DC fan using ThermistorTemperature Controlled DC fan using Thermistor
Temperature Controlled DC fan using Thermistor
 
Automatic temperature base fan controlle
Automatic temperature base fan  controlleAutomatic temperature base fan  controlle
Automatic temperature base fan controlle
 
Automatic fan controller based on room temperature
Automatic fan controller based on room temperatureAutomatic fan controller based on room temperature
Automatic fan controller based on room temperature
 
temperature dependent dc fan speed controller withou using micrcontroller
temperature dependent dc fan speed controller withou using micrcontrollertemperature dependent dc fan speed controller withou using micrcontroller
temperature dependent dc fan speed controller withou using micrcontroller
 
AUTOMATIC FAN CONTROLLER USING THERMISTOR
AUTOMATIC FAN CONTROLLER USING THERMISTORAUTOMATIC FAN CONTROLLER USING THERMISTOR
AUTOMATIC FAN CONTROLLER USING THERMISTOR
 
Automatic tempearture controlled fan
Automatic tempearture controlled fanAutomatic tempearture controlled fan
Automatic tempearture controlled fan
 
Temp based fan speed control
Temp based fan speed controlTemp based fan speed control
Temp based fan speed control
 
Electrical Projects
Electrical ProjectsElectrical Projects
Electrical Projects
 
TEMPERATURE BASED FAN SPEED CONTROLLER
TEMPERATURE  BASED  FAN  SPEED  CONTROLLERTEMPERATURE  BASED  FAN  SPEED  CONTROLLER
TEMPERATURE BASED FAN SPEED CONTROLLER
 
TO control the speed of DC Motor Simple Project
TO control the speed of DC Motor Simple ProjectTO control the speed of DC Motor Simple Project
TO control the speed of DC Motor Simple Project
 
Temperature based speed control of fan
Temperature based speed control of fanTemperature based speed control of fan
Temperature based speed control of fan
 
fan speed control by using temperature sensor
fan speed control by using temperature sensorfan speed control by using temperature sensor
fan speed control by using temperature sensor
 
Temperature Based Fan Controller
Temperature Based Fan Controller Temperature Based Fan Controller
Temperature Based Fan Controller
 
Temperature Controlled Fan Report
Temperature Controlled Fan ReportTemperature Controlled Fan Report
Temperature Controlled Fan Report
 

Similar to Presentation

PIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarPIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarGauravRaikar3
 
Hardware interfacing basics using AVR
Hardware interfacing basics using AVRHardware interfacing basics using AVR
Hardware interfacing basics using AVRMohamed Abdallah
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxMeghdeepSingh
 
Introduction2_PIC.ppt
Introduction2_PIC.pptIntroduction2_PIC.ppt
Introduction2_PIC.pptAakashRawat35
 
Embedded Application : An Autonomous Robot or Line Follower Bot
Embedded Application : An Autonomous Robot or Line Follower BotEmbedded Application : An Autonomous Robot or Line Follower Bot
Embedded Application : An Autonomous Robot or Line Follower BotEr. Raju Bhardwaj
 
Training Report on embedded Systems and Robotics
Training Report on embedded  Systems and RoboticsTraining Report on embedded  Systems and Robotics
Training Report on embedded Systems and RoboticsNIT Raipur
 
MICROCONTROLLER.pptx
MICROCONTROLLER.pptxMICROCONTROLLER.pptx
MICROCONTROLLER.pptxfiqrie mohd
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advancedImran Sheikh
 
how to generate sms
how to generate smshow to generate sms
how to generate smssumant reddy
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerRup Chowdhury
 
My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28rajeshkvdn
 

Similar to Presentation (20)

PIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarPIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikar
 
AVR arduino dasar
AVR arduino dasarAVR arduino dasar
AVR arduino dasar
 
Hardware interfacing basics using AVR
Hardware interfacing basics using AVRHardware interfacing basics using AVR
Hardware interfacing basics using AVR
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
viva q&a for mp lab
viva q&a for mp labviva q&a for mp lab
viva q&a for mp lab
 
Avr report
Avr reportAvr report
Avr report
 
Assembler4
Assembler4Assembler4
Assembler4
 
Introduction2_PIC.ppt
Introduction2_PIC.pptIntroduction2_PIC.ppt
Introduction2_PIC.ppt
 
Embedded Application : An Autonomous Robot or Line Follower Bot
Embedded Application : An Autonomous Robot or Line Follower BotEmbedded Application : An Autonomous Robot or Line Follower Bot
Embedded Application : An Autonomous Robot or Line Follower Bot
 
Arduino Programming Basic
Arduino Programming BasicArduino Programming Basic
Arduino Programming Basic
 
Training Report on embedded Systems and Robotics
Training Report on embedded  Systems and RoboticsTraining Report on embedded  Systems and Robotics
Training Report on embedded Systems and Robotics
 
MICROCONTROLLER.pptx
MICROCONTROLLER.pptxMICROCONTROLLER.pptx
MICROCONTROLLER.pptx
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
digital clock atmega16
digital clock atmega16digital clock atmega16
digital clock atmega16
 
how to generate sms
how to generate smshow to generate sms
how to generate sms
 
Avr microcontroller
Avr microcontrollerAvr microcontroller
Avr microcontroller
 
Analog to Digital Converter
Analog to Digital ConverterAnalog to Digital Converter
Analog to Digital Converter
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
Lecture6
Lecture6Lecture6
Lecture6
 
My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28
 

Recently uploaded

Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...manju garg
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxpritamlangde
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessorAshwiniTodkar4
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxhublikarsn
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information SystemsAnge Felix NSANZIYERA
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257subhasishdas79
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...josephjonse
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxNANDHAKUMARA10
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdfKamal Acharya
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelDrAjayKumarYadav4
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxkalpana413121
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 

Recently uploaded (20)

Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 

Presentation

  • 1. PRESENTATION ON EMBEDDED SYSTEM  BY  Abhijit Das  Course-B.Tech, Branch- ECE, 3rd Year  Roll-13104076, NIT Jalandhar Training Centre – SKYPHI TECHNOLOGIES Malviya Nagar , Jaipur
  • 2. About Organisation :  Skyphi Technologies is a Renowned Training and Development Organization in the field of Software Development, Mobile Application Development, Web Development, well known for providing quality education in advance domains such as iPhone Training, Android Training, Java Training, Dot Net Training, PHP Training, Oracle Training, Linux Training, SEO Training, C Training, Embedded System Training, VLSI Training, Robotics Training, MATLAB Training, Ethical Hacking Training etc.
  • 4. DEFINATION : 1. An Embedded System employs a combination of hardware & software to perform a specific function. 2. Software is used for providing features and flexibility hardware(Processors, Memory...) is used for performance & sometimes security. 3. Embedded systems are often mass produced, so the cost savings may be multiplied by millions of items. 4. The core of any embedded system is formed by one or several microprocessor or micro controller programmed to perform a small number of tasks.
  • 5. Example of Embedded System :-  1.Automated tiller machines (ATMS).  2. Integrated system in aircraft and missile.  3.Computer printers, Copiers.  4. Disk drives (floppy disk drive and hard disk drive)  5.Microprocessor (MPU) .  6. Multimedia appliances: internet radio receivers, TV set top boxes.  7. Small hand held computer with P1M5 and other applications.
  • 7. Features of AVR (ATMEGA-8) :  RISC Architecture.  8 bit Microcontroller  High performance - 16MIPS @ 16MHz  Large program memory  EEPROM – non volatile memory  Two 8 bit, One 16 bit timer with total 4 PWM channels  On chip 10 bit ADC, 8 channels  UART, I2C, SPI protocol support
  • 8. TOOLS :  Compiler : WinAVR/AVR Studio/CodeVision AVR  The programmer hardware  Simple parallel/serial port based In System Programmer (ISP) or  USB based ISP (recommended) : USBasp  Bread board, wires, power supply, crystal, etc.
  • 10. EMBEDED C :  Ebedded C is a nothing but a subset of c language is compatiable with certain microcontrollers.  some features are added some header files like  <avr/io.h>,<util/delay.h>  scanf() and printf() are removed as the inputs are scanned from the sensorsand output are given to the ports.  control structure remain the same like if statement ,for loop,do while etc.
  • 11. Structure of a c program for an embedded system : *//headers #include<avr/io.h //header filefor AVR i/o #include<util/delay.h> //header file for delay *// main program * int main() { * while(1) {code………..] *return(0); }
  • 12. I/O PORTS : We have three ports PORTB PORTC PORTD
  • 13. THREE REGISTERS Each port pin have three registers 1.DDRx :-Data direction register 2.PORTx:-data output 3.PINx :-port input
  • 14. DDRx – Data Direction Register   Configures data direction of the port - Input / Output  DDRx.n = 0 > makes corresponding port pin as input  DDRx.n = 1 > makes corresponding port pin as output  Examples :  to make all pins of port A as input pins : DDRA = 0b00000000;  to make all pins of port A as output pins DDRA = 0b11111111;  to make lower nibble of port B as output and higher nibble as input DDRB = 0b00001111;
  • 15. PORT Register  For data output, when port is configured as output:  Writing to PORTx.n will immediately (in same clock cycle) change state of the port pins according to given value.  Examples : to output 0xFF data on PB DDRB = 0b11111111; //set all pins of port b as outputs PORTB = 0xFF; //write data on port to output data in variable x on PA DDRA = 0xFF; //make port a as output PORTA = x; //output 8 bit variable on port
  • 16. PIN Register   Used to read data from port pins, when port is configured as input.  First set DDRx to zero, then use PINx to read the value.  If PINx is read, when port is configured as output, it will give you data that has been outputted on port.  Example : DDRA = 0x00; //Set PA as input x = PINA; //Read contents of PA
  • 18. Components Used  AVR Board Motor Driver(L293D) LM35 DC Motor Wheel
  • 19. AVR Board Motor Driver(L293D) LM35 (Temperature Sensor) DC Motor Wheel
  • 20. Working principle   1. Initially switch the power supply.  2. Microcontroller starts reading the temperature of the surroundings.  3. The analog value of temperature is given by the temperature sensor.  4. This analog value is applied to the analog to digital converter pin of the micro controller.  5. This analog value is converted to the digital value by the microcontroller using successive approximation method internally.  6. When the temperature is greater than the threshold value, microcontroller sends a command to the controller to switch the motor.  7. Thus fan starts rotating.
  • 22. Code  void Initialize() {  FAN_POWER_LED_DDR|=0B10000000;  POWER_LED_OFF();  DDRC|=0b00111111; //Seven segment  DDRB|=0b00000010; //Middle segment G  Display(0);
  • 23.  void Display(uint8_t num)  {  if(num>9)  return;  switch (num)  {  case 0:  PORTC=0B00000000;  PORTB|=0B00000010  void Display(uint8_t num)  {  if(num>9)  return;  switch (num)  {  case 0:  PORTC=0B00000000;
  • 24.  case 2:  // xxfedcba  PORTC=0B00100100;  PORTB&=(~(0B00000010));  break;  case 3:  // xxfedcba  PORTC=0B00110000;  PORTB&=(~(0B00000010));  break;  break;
  • 25.  PORTC=0B00011001;  PORTB&=(~(0B00000010));  break;  case 5:  // xxfedcba  PORTC=0B00010010;  PORTB&=(~(0B00000010));
  • 26.  if(cmd==RC_ENTER)  {  if(fan_on)  {  POWER_LED_OFF();  fan_on=0; //Turn Off  }  else  {  POWER_LED_ON();  fan_on=1; //Turn On  }  }  Display(speed);  }
  • 27. Application : This can be used in home applications.  The circuit can be used in CPU to reduce the heat .