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

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 

Recently uploaded (20)

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 

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 .