SlideShare a Scribd company logo
1 of 40
EMBEDDED SYSTEMS
INTRODUCTION
 An Embedded system is a programmed
controlling and operating system with a
dedicated function within a larger mechanical or
electrical system , often with real-time
computing constrain.
 It is a system that has software embedded into
computer hardware , which makes a system
dedicated for an applications or specific part of
an application.
Examples
Digital Calculators
 It is a pure embedded system which collects
input from user via buttons/keys on it,
microcontroller inside it performs the
calculations according to the keys pressed and
send an output to display.
 Here input device is keypad, brain is
microcontroller and output device is display.
TV
 There is an embedded system inside a
television which allow users to change
channels while sitting few meters away
from it.
 User sends input using wireless remote
control, microcontroller inside TV receives
the input via receiver, microcontroller
identify which key is pressed and perform
the output on the screen.
First Embedded System
 One of the first modern embedded system was
Apollo Guidance Computer.
 Developed by Charles Stark Darper at MIT
instrumentation lab.
 It was considerd the riskiest item in the Apollo
project.
Analog Signal
 An Analog Signal is a continuous signal
contains time-varying quantities.
Digital Signal
 A Digital Signal is a signal that is being used to
represent data as a sequence of discrete
values.
Microcontroller
 A Microcontroller is a compact integrated
circuit designed to govern a specific operation.
 A typical microcontroller includes a processor ,
memory and input/output peripherals on a
single chip.
What Is An Arduino?
 Arduino is an open-source platform used for building electronics
projects .
 Arduino consists of both a physical programmable circuit
board(microcontroller) and a piece of software or IDE(Integrated
Development Environment).
Types Of Arduino boards
UNO
MEGA
Nano
MKR1000
LillyPad
Arduino Uno
Digital Input / Output Pins
• Digital IO is binary valued—it’s either on or off, 1 or 0.
• Pins- D0 To D13
• Can be used as input pin or output pin.
• Digital sensors and actuators can be interfaced with
these I/O pins.
• Modules can be interfaced-IR sensor module,L293D
Chip , LCD , Bluetooth, WiFi .
Analog Input Pins
• Reads Analog Values Between 0 to 1024.
• Pins- A0 to A5.
• Converts 0 to 5 volts values to 0 to 1024 scale.
• Sensors can be attached like temperature ,LDR
,piezoelectric , pressure sensor.
Pulse Width Modulation
• Can’t use digital pins
to directly supply say
2.5V, but can pulse
the output on and off
really fast to produce
the same effect
• Pins-3,5,6,9,10,11
Two required functions /
methods / routines:
void setup()
{
// runs once
}
void loop()
{
// repeats
}
Integrated Development Environment (IDE)
Void Setup()
 The Setup() function is called when a sketch
starts . Use it to initialize variables , pin modes
, start using libraries, etc.
 The Setup() function will only run once, after
each power up or reset of the Arduino board.
Void Loop()
 The Loop Function is Repeated continuously
because it is called by a hidden Loop that
Controls the Arduino program .
 In other words , the loop function is the body of
a loop that is running in a master(or main)
program
Basic Commands
 PinMode
 DigitalWrite
 AnalogWrite
 AnalogRead
 DigitalRead
 Delay
PinMode
 To define whether pin will acting as a input pin or output
pin.
 Syntax:- pinMode(pin,input/output)
 Example:-pinMode(12,OUTPUT)
DigitalWrite
 Write a HIGH or a LOW value to a digital pin.
 Syntax:- digitalWrite(pin,high/low)
 Example:-digitalWrite (12,HIGH)
AnalogRead
 Reads the value from the specified analog pin. The
Arduino board contains a 6 channel 10-bit analog to
digital converter.
 Syntax:- analogRead (pin)
 Example:- analogRead (A1)
AnalogWrite
 Works Only with PWM pins.
 Output Voltage Range Can Be Changed
 Syntax:-analogWrite(pin,value)
 Example:- analogWrite(6,255)
DigitalRead
 Reads the value from a specified digital pin,
either HIGH or LOW.
 Syntax:-digitalRead(pin)
 Example:-digitalRead(12)
Delay
 Pauses the program for the amount of time (in
milliseconds) specified as parameter.
 Syntax:-delay(delay_value)
 Example:- delay(5000)
Settings: Tools  Serial Port
Settings: Tools  Board
Led
 Light Emitting Diode
#define ledpin 13
void setup()
{
pinMode(ledpin,OUTPUT);
}
void loop()
{
digitalWrite(ledpin,HIGH);
delay(1000);
digitalWrite(ledpin,LOW);
delay(1000);
}
LED Blinking Program
Buzzer
 void setup() {
 }
 void loop() {


 tone(6, 4600);
 delay(2000);
 noTone(6);
 delay(1000);


 }
IR Sensor
 Consist An IR LED(Emitter)
 A Photodiode(Receiver)
How An IR Sensor Works?
Interfacing Of IR Sensor
 #define sensor 4
 #define led 13
 int state;
 void setup() {
 pinMode(sensor,INPUT);
 pinMode(led,OUTPUT);
 }
 void loop() {
 state=digitalRead(sensor);
 if(state==HIGH)
 {
 digitalWrite(led,HIGH);
 }
 else
 {
 digitalWrite(led,LOW);
 }
 }
Temprature(LM35)
 Calibrated directly in celcius.
 Range from -55(degree Celsius) to 150(degree Celsius)
Analog Value to Temp
Conversion
 Value=analogRead(pin)
 Volts=(value/1024)*5
 Temp=Volts*100
Bluetooth Module
Blink Led Via Bluetooth
char state = 0;
void setup()
{
Serial.begin(9600);
pinMode(13, OUTPUT);
}
void loop()
{
if(Serial.available() > 0)
{
state = Serial.read();
if(state == '1')
digitalWrite(13, HIGH);
else if(state == '0')
digitalWrite(13, LOW);
}
}
LCD
 Liquid Crystal Display

More Related Content

What's hot

Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the ArduinoWingston
 
Ardublock tutorial
Ardublock tutorialArdublock tutorial
Ardublock tutorialJakie_Li
 
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...Faqih Fadhila Ardiansyah
 
Intro to Arduino Revision #2
Intro to Arduino Revision #2Intro to Arduino Revision #2
Intro to Arduino Revision #2Qtechknow
 
Arduino Day 1 Presentation
Arduino Day 1 PresentationArduino Day 1 Presentation
Arduino Day 1 PresentationYogendra Tamang
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the ArduinoCharles A B Jr
 
Bidirectional Visitor Counter with Automatic ON-OFF Switch2
Bidirectional Visitor Counter with Automatic ON-OFF Switch2Bidirectional Visitor Counter with Automatic ON-OFF Switch2
Bidirectional Visitor Counter with Automatic ON-OFF Switch2DIPAN GHOSH
 
Arduino electronics cookbook
Arduino electronics cookbookArduino electronics cookbook
Arduino electronics cookbookFelipe Belarmino
 
02 General Purpose Input - Output on the Arduino
02   General Purpose Input -  Output on the Arduino02   General Purpose Input -  Output on the Arduino
02 General Purpose Input - Output on the ArduinoWingston
 
Arduino by yogesh t s'
Arduino by yogesh t s'Arduino by yogesh t s'
Arduino by yogesh t s'tsyogesh46
 
Automatic room light controller with bi directional visitor counter using Ard...
Automatic room light controller with bi directional visitor counter using Ard...Automatic room light controller with bi directional visitor counter using Ard...
Automatic room light controller with bi directional visitor counter using Ard...PRASENJITMORE2
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino unoRahat Sood
 
Arduino اردوينو
Arduino اردوينوArduino اردوينو
Arduino اردوينوsalih mahmod
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1Felipe Belarmino
 
Embedded systems الانظمة المدمجة
Embedded systems  الانظمة المدمجة Embedded systems  الانظمة المدمجة
Embedded systems الانظمة المدمجة salih mahmod
 

What's hot (19)

Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
 
Porte à puce
Porte à pucePorte à puce
Porte à puce
 
Arduino
ArduinoArduino
Arduino
 
Ardublock tutorial
Ardublock tutorialArdublock tutorial
Ardublock tutorial
 
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
 
Intro to Arduino Revision #2
Intro to Arduino Revision #2Intro to Arduino Revision #2
Intro to Arduino Revision #2
 
Arduino Day 1 Presentation
Arduino Day 1 PresentationArduino Day 1 Presentation
Arduino Day 1 Presentation
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the Arduino
 
Bidirectional Visitor Counter with Automatic ON-OFF Switch2
Bidirectional Visitor Counter with Automatic ON-OFF Switch2Bidirectional Visitor Counter with Automatic ON-OFF Switch2
Bidirectional Visitor Counter with Automatic ON-OFF Switch2
 
Arduino uno
Arduino unoArduino uno
Arduino uno
 
Presentation S4A
Presentation S4A Presentation S4A
Presentation S4A
 
Arduino electronics cookbook
Arduino electronics cookbookArduino electronics cookbook
Arduino electronics cookbook
 
02 General Purpose Input - Output on the Arduino
02   General Purpose Input -  Output on the Arduino02   General Purpose Input -  Output on the Arduino
02 General Purpose Input - Output on the Arduino
 
Arduino by yogesh t s'
Arduino by yogesh t s'Arduino by yogesh t s'
Arduino by yogesh t s'
 
Automatic room light controller with bi directional visitor counter using Ard...
Automatic room light controller with bi directional visitor counter using Ard...Automatic room light controller with bi directional visitor counter using Ard...
Automatic room light controller with bi directional visitor counter using Ard...
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
 
Arduino اردوينو
Arduino اردوينوArduino اردوينو
Arduino اردوينو
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1
 
Embedded systems الانظمة المدمجة
Embedded systems  الانظمة المدمجة Embedded systems  الانظمة المدمجة
Embedded systems الانظمة المدمجة
 

Similar to Embedded systems presentation

Similar to Embedded systems presentation (20)

Arduino intro.pptx
Arduino intro.pptxArduino intro.pptx
Arduino intro.pptx
 
arduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdfarduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdf
 
Arduino course
Arduino courseArduino course
Arduino course
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slides
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
 
teststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptxteststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptx
 
Arduino Programming Basic
Arduino Programming BasicArduino Programming Basic
Arduino Programming Basic
 
Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptx
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
 
arduino.ppt
arduino.pptarduino.ppt
arduino.ppt
 
Arduino Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming Familiarization
 
Arduino programming
Arduino programmingArduino programming
Arduino programming
 
IoT Basics with few Embedded System Connections for sensors
IoT Basics with few Embedded System Connections for sensorsIoT Basics with few Embedded System Connections for sensors
IoT Basics with few Embedded System Connections for sensors
 
ARDUINO Presentation1.pptx
ARDUINO Presentation1.pptxARDUINO Presentation1.pptx
ARDUINO Presentation1.pptx
 
summer training report (2)
summer training report (2)summer training report (2)
summer training report (2)
 
IOT ARDUINO UNO.pptx
IOT ARDUINO UNO.pptxIOT ARDUINO UNO.pptx
IOT ARDUINO UNO.pptx
 
Robotics Session day 1
Robotics Session day 1Robotics Session day 1
Robotics Session day 1
 
Embedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptxEmbedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptx
 
Fun with arduino
Fun with arduinoFun with arduino
Fun with arduino
 
Arduino Family
Arduino FamilyArduino Family
Arduino Family
 

More from RAJBALA PURNIMA PRIYA

More from RAJBALA PURNIMA PRIYA (11)

Environmental and economic benefits of car exhaust heat recovery
Environmental and economic benefits of car exhaust heat recoveryEnvironmental and economic benefits of car exhaust heat recovery
Environmental and economic benefits of car exhaust heat recovery
 
Presentation on an exhaust heat
Presentation on an exhaust heatPresentation on an exhaust heat
Presentation on an exhaust heat
 
Presentation on thermionic converter for direct energy conversion
Presentation on  thermionic converter for direct energy conversionPresentation on  thermionic converter for direct energy conversion
Presentation on thermionic converter for direct energy conversion
 
Biogass
BiogassBiogass
Biogass
 
Derivation of formula
Derivation of formula Derivation of formula
Derivation of formula
 
DESIGNING OF HYBRID POWER GRID FOR REMOTE VILLAGE
DESIGNING OF HYBRID POWER GRID FOR REMOTE VILLAGEDESIGNING OF HYBRID POWER GRID FOR REMOTE VILLAGE
DESIGNING OF HYBRID POWER GRID FOR REMOTE VILLAGE
 
Green building
Green buildingGreen building
Green building
 
solar air heater Using ANN
solar air heater Using ANNsolar air heater Using ANN
solar air heater Using ANN
 
internet of things
internet of thingsinternet of things
internet of things
 
Clean and green energy
Clean and green energyClean and green energy
Clean and green energy
 
Presentation on INTERNET OF THINGS
Presentation on INTERNET OF THINGSPresentation on INTERNET OF THINGS
Presentation on INTERNET OF THINGS
 

Recently uploaded

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
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
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 

Recently uploaded (20)

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
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
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 

Embedded systems presentation

  • 2. INTRODUCTION  An Embedded system is a programmed controlling and operating system with a dedicated function within a larger mechanical or electrical system , often with real-time computing constrain.  It is a system that has software embedded into computer hardware , which makes a system dedicated for an applications or specific part of an application.
  • 3.
  • 4. Examples Digital Calculators  It is a pure embedded system which collects input from user via buttons/keys on it, microcontroller inside it performs the calculations according to the keys pressed and send an output to display.  Here input device is keypad, brain is microcontroller and output device is display.
  • 5. TV  There is an embedded system inside a television which allow users to change channels while sitting few meters away from it.  User sends input using wireless remote control, microcontroller inside TV receives the input via receiver, microcontroller identify which key is pressed and perform the output on the screen.
  • 6. First Embedded System  One of the first modern embedded system was Apollo Guidance Computer.  Developed by Charles Stark Darper at MIT instrumentation lab.  It was considerd the riskiest item in the Apollo project.
  • 7. Analog Signal  An Analog Signal is a continuous signal contains time-varying quantities.
  • 8. Digital Signal  A Digital Signal is a signal that is being used to represent data as a sequence of discrete values.
  • 9. Microcontroller  A Microcontroller is a compact integrated circuit designed to govern a specific operation.  A typical microcontroller includes a processor , memory and input/output peripherals on a single chip.
  • 10.
  • 11. What Is An Arduino?
  • 12.  Arduino is an open-source platform used for building electronics projects .  Arduino consists of both a physical programmable circuit board(microcontroller) and a piece of software or IDE(Integrated Development Environment).
  • 13. Types Of Arduino boards UNO MEGA Nano MKR1000 LillyPad
  • 15. Digital Input / Output Pins • Digital IO is binary valued—it’s either on or off, 1 or 0. • Pins- D0 To D13 • Can be used as input pin or output pin. • Digital sensors and actuators can be interfaced with these I/O pins. • Modules can be interfaced-IR sensor module,L293D Chip , LCD , Bluetooth, WiFi .
  • 16. Analog Input Pins • Reads Analog Values Between 0 to 1024. • Pins- A0 to A5. • Converts 0 to 5 volts values to 0 to 1024 scale. • Sensors can be attached like temperature ,LDR ,piezoelectric , pressure sensor.
  • 17. Pulse Width Modulation • Can’t use digital pins to directly supply say 2.5V, but can pulse the output on and off really fast to produce the same effect • Pins-3,5,6,9,10,11
  • 18. Two required functions / methods / routines: void setup() { // runs once } void loop() { // repeats } Integrated Development Environment (IDE)
  • 19. Void Setup()  The Setup() function is called when a sketch starts . Use it to initialize variables , pin modes , start using libraries, etc.  The Setup() function will only run once, after each power up or reset of the Arduino board.
  • 20. Void Loop()  The Loop Function is Repeated continuously because it is called by a hidden Loop that Controls the Arduino program .  In other words , the loop function is the body of a loop that is running in a master(or main) program
  • 21. Basic Commands  PinMode  DigitalWrite  AnalogWrite  AnalogRead  DigitalRead  Delay
  • 22. PinMode  To define whether pin will acting as a input pin or output pin.  Syntax:- pinMode(pin,input/output)  Example:-pinMode(12,OUTPUT)
  • 23. DigitalWrite  Write a HIGH or a LOW value to a digital pin.  Syntax:- digitalWrite(pin,high/low)  Example:-digitalWrite (12,HIGH)
  • 24. AnalogRead  Reads the value from the specified analog pin. The Arduino board contains a 6 channel 10-bit analog to digital converter.  Syntax:- analogRead (pin)  Example:- analogRead (A1)
  • 25. AnalogWrite  Works Only with PWM pins.  Output Voltage Range Can Be Changed  Syntax:-analogWrite(pin,value)  Example:- analogWrite(6,255)
  • 26. DigitalRead  Reads the value from a specified digital pin, either HIGH or LOW.  Syntax:-digitalRead(pin)  Example:-digitalRead(12)
  • 27. Delay  Pauses the program for the amount of time (in milliseconds) specified as parameter.  Syntax:-delay(delay_value)  Example:- delay(5000)
  • 28. Settings: Tools  Serial Port
  • 31. #define ledpin 13 void setup() { pinMode(ledpin,OUTPUT); } void loop() { digitalWrite(ledpin,HIGH); delay(1000); digitalWrite(ledpin,LOW); delay(1000); } LED Blinking Program
  • 32. Buzzer  void setup() {  }  void loop() {    tone(6, 4600);  delay(2000);  noTone(6);  delay(1000);    }
  • 33. IR Sensor  Consist An IR LED(Emitter)  A Photodiode(Receiver)
  • 34. How An IR Sensor Works?
  • 35. Interfacing Of IR Sensor  #define sensor 4  #define led 13  int state;  void setup() {  pinMode(sensor,INPUT);  pinMode(led,OUTPUT);  }  void loop() {  state=digitalRead(sensor);  if(state==HIGH)  {  digitalWrite(led,HIGH);  }  else  {  digitalWrite(led,LOW);  }  }
  • 36. Temprature(LM35)  Calibrated directly in celcius.  Range from -55(degree Celsius) to 150(degree Celsius)
  • 37. Analog Value to Temp Conversion  Value=analogRead(pin)  Volts=(value/1024)*5  Temp=Volts*100
  • 39. Blink Led Via Bluetooth char state = 0; void setup() { Serial.begin(9600); pinMode(13, OUTPUT); } void loop() { if(Serial.available() > 0) { state = Serial.read(); if(state == '1') digitalWrite(13, HIGH); else if(state == '0') digitalWrite(13, LOW); } }