SlideShare a Scribd company logo
pradeepyata@gmail.com 1
DEPARTMENT OF
ELECTRONICS AND COMMUNICATION ENGINEERING
SUBJECT: EMBEDDED SYSTEM DESIGN (ESD)
By
Y.Pradeep
Associate Professor
UNIT 2: TYPICAL EMBEDDED SYSTEM
Lecture-6-7:
Topic : “The I/O Subsystem”
Pradeepyata@gmail.com 2
 The I/O Subsystem:
I/O Devices:
1. Light Emitting Diode (LED)
2. 7-Segment LED Display
3. Optocoupler
4. Stepper Motor
5. Relay
6. Piezo Buzzer
7. Push button switch
Pradeepyata@gmail.com 3
 The I/O Subsystem:
The I/O subsystem of the embedded system facilitates the
interaction of the embedded system with external world
 The interaction happens through the sensors and actuators
connected to the Input and output ports respectively of the
embedded system
 The sensors may not be directly interfaced to the Input ports,
instead they may be interfaced through signal conditioning and
translating systems like ADC, Optocouplers etc
Pradeepyata@gmail.com 4
I/O Devices: Light Emitting Diode (LED)
Light Emitting Diode (LED) is an output device for visual indication in
any embedded system
LED can be used as an indicator for the status of various signals or
situations.
Typical examples are indicating the presence of power conditions like
„Device ON‟, „Battery low‟ or “Charging of battery‟ for a battery
operated handheld embedded devices
Pradeepyata@gmail.com 5
I/O Devices: Light Emitting Diode (LED)
LED is a p-n junction diode and it contains an anode and a cathode.
 For proper functioning of the LED, the anode of it should be connected
to +ve terminal of the supply voltage and cathode to the –ve terminal of
supply voltage
The current flowing through the LED must limited to a value below the
maximum current that it can conduct.
A resister is used in series between the power supply and the resistor to
limit the current through the LED
Pradeepyata@gmail.com 6
 The 7 – segment LED display is an output device for displaying alpha
numeric characters
 It contains 8 light-emitting diode (LED) segments arranged in a
special form. Out of the 8 LED segments, 7 are used for displaying
alpha numeric characters
 The LED segments are named A to G and the decimal point LED
segment is named as DP
 The LED Segments A to G and DP should be lit accordingly to
display numbers and characters
I/O Devices – 7-Segment LED Display
Pradeepyata@gmail.com 7
 The 7 – segment LED displays are available in two different
configurations, namely; Common anode and Common cathode
 In the Common anode configuration, the anodes of the 8 segments
are connected commonly whereas in the Common cathode
configuration, the 8 LED segments share a common cathode line.
I/O Devices – 7-Segment LED Display
pradeepyata@gmail.com 8
 Based on the configuration
of the 7 – segment LED unit,
the LED segment anode or
cathode is connected to the
Port of the
processor/controller in the
order “A” segment to the
Least significant port Pin and
DP segment to the most
significant Port Pin.
• The current flow through
each of the LED segments
should be limited to the
maximum value supported
by the LED display unit
I/O Devices – 7-Segment LED Display
Pradeepyata@gmail.com 9
I/O Devices – 7-Segment LED Display
Pradeepyata@gmail.com 10
 Optocoupler is a solid state device to isolate two parts of a circuit.
 Optocoupler combines an LED and a photo-transistor in a single
housing (package)
 In electronic circuits, optocoupler is used for suppressing interference in
data communication, circuit isolation, High voltage separation,
simultaneous separation and intensification signal etc
 Optocouplers can be used in either input circuits or in output circuits
I/O Devices – Optocoupler
Pradeepyata@gmail.com 11
 Two parts are used in an optocoupler: an LED that emits infrared light
and a photosensitive device that detects light from the LED.
 Both parts are contained within a black box with pins for connectivity.
The input circuit takes the incoming signal, whether the signal is AC or
DC, and uses the signal to turn on the LED.
 The photosensor is the output circuit that detects the light and depending
on the type of output circuit, the output will be AC or DC.
I/O Devices – Optocoupler
Pradeepyata@gmail.com 12
 Stepper motor is an electro mechanical device which generates
discrete displacement (motion) in response to dc electrical signals
 It differs from the normal dc motor in its operation. The dc motor
produces continuous rotation on applying dc voltage whereas a
stepper motor produces discrete rotation in response to the dc
voltage applied to it
 Stepper motors are widely used in industrial embedded
applications, consumer electronic products and robotics control
systems
 The paper feed mechanism of a printer/fax makes use of stepper
motors for its functioning.
I/O Devices – Stepper Motor:
Pradeepyata@gmail.com 13
 Based on the coil winding arrangements, a two phase stepper motor is
classified into Unipolar and Bipolar
 Unipolar:
 A unipolar stepper motor contains two windings per phase. The
direction of rotation (clockwise or anticlockwise) of a stepper motor
is controlled by changing the direction of current flow.
 Current in one direction flows through one coil and in the opposite
direction flows through the other coil.
 It is easy to shift the direction of rotation by just switching the
terminals to which the coils are connected
 Bipolar:
 A bipolar stepper motor contains single winding per phase. For
reversing the motor rotation the current flow through the windings
is reversed dynamically.
 It requires complex circuitry for current flow reversal
–
I/O Devices – Stepper Motor:
Pradeepyata@gmail.com 14
• An electro mechanical device which acts as dynamic path selectors for
signals and power.
• The “Relay” unit contains a relay coil made up of insulated wire on a
metal core and a metal armature with one or more contacts.
• “Relay” works on electromagnetic principle.
• When a voltage is applied to the relay coil, current flows through the
coil, which in turn generates a magnetic field.
I/O Devices – Relay:
Pradeepyata@gmail.com 15
• The magnetic field attracts the armature core and moves the contact
point.
• The movement of the contact point changes the power/signal flow
path.
• The Relay is normally controlled using a relay driver circuit
connected to the port pin of the processor/controller
• A transistor can be used as the relay driver. The transistor can be
selected depending on the relay driving current requirements
I/O Devices – Relay:
Pradeepyata@gmail.com 16
 It is a piezoelectric device for generating audio indications in
embedded applications.
 A Piezo buzzer contains a piezoelectric diaphragm which produces
audible sound in response to the voltage applied to it.
 Piezoelectric buzzers are available in two types
 1.Self-driving
 2.External driving
I/O Devices -Piezo Buzzer:
 Self-driving contains are the necessary components to generate sound at a
predefined tone.
 External driving piezo Buzzers supports the generation of different tones.
 The tone can be varied by applying a variable pulse train to the piezoelectric
buzzer.
 A Piezo Buzzer can be directly interfaced to the port pin of the
processor/Controller.
Pradeepyata@gmail.com 17
I/O Devices – Push button switch:
Push Button switch is an input device.
Push button switch comes in two configurations, namely “Push to Make”
and “Push to Break‟
The switch is normally in the open state and it makes a circuit contact
when it is pushed or pressed in the “Push to Make” configuration.
In the “Push to Break” configuration, the switch normally in the closed
state and it breaks the circuit contact when it is pushed or pressed
Pradeepyata@gmail.com 18
 The push button stays in the “closed” (For Push to Make type) or
“open”(For Push to Break type) state as long as it is kept in the pushed
state and it breaks/makes the circuit connection when it is released.
 Push button is used for generating a momentary pulse
I/O Devices – Push button switch:
Pradeepyata@gmail.com 19
Thank U…….

More Related Content

PPTX
ESD Lecture-8U2.pptx Embedded systems- unit 2
PPTX
EMI-Unit1-L1-YP.pptx----------------------
PPT
ch3a-binary-numbers.ppt-BINARY SYSTEM---
PPTX
EMI UNIT II Lec-6-Oscillators and Singal Generators-yp.pptx
PPTX
EMI UNIT II -PART-2-Oscillators-signaal Genarators-YP.pptx
PPT
cmos technology-micrwind layout tool-demo.ppt
PPTX
EMI-Unit1-Lecture-13 UNIT 1EMI PPT........
PPTX
EMI-Unit1-Lecture-12--std version-UNIT-1-EMI
ESD Lecture-8U2.pptx Embedded systems- unit 2
EMI-Unit1-L1-YP.pptx----------------------
ch3a-binary-numbers.ppt-BINARY SYSTEM---
EMI UNIT II Lec-6-Oscillators and Singal Generators-yp.pptx
EMI UNIT II -PART-2-Oscillators-signaal Genarators-YP.pptx
cmos technology-micrwind layout tool-demo.ppt
EMI-Unit1-Lecture-13 UNIT 1EMI PPT........
EMI-Unit1-Lecture-12--std version-UNIT-1-EMI

More from PradeepYata1 (11)

PPTX
EMI UNIT II -Signal Analyzers-yp 30-9-21.pptx
PPTX
EMI UNIT II -PART-2-Oscillators-Signal Genarators-YP.pptx
PPTX
VLSID unit-2 Scaling of mosfets -yp.pptx
PPT
unit-1 vlsi-CMOS INVERTER ANALYSIS & DESIGN.ppt
PPTX
Zup/Zpd Ratio Determination -vlsi design.
PPTX
NMOS inverter Design and analysis unit 1...
PPT
Bicmos inverter-and latchup problem-u1 ppt
PPT
cmos design and analysis-UNIT1............
PPTX
number system _ppt unit1.................
PPT
combinational logic -lecture chapter 2....
PPT
DIGITAL ELECTRONICS FOR IOT CSE STUDENTS
EMI UNIT II -Signal Analyzers-yp 30-9-21.pptx
EMI UNIT II -PART-2-Oscillators-Signal Genarators-YP.pptx
VLSID unit-2 Scaling of mosfets -yp.pptx
unit-1 vlsi-CMOS INVERTER ANALYSIS & DESIGN.ppt
Zup/Zpd Ratio Determination -vlsi design.
NMOS inverter Design and analysis unit 1...
Bicmos inverter-and latchup problem-u1 ppt
cmos design and analysis-UNIT1............
number system _ppt unit1.................
combinational logic -lecture chapter 2....
DIGITAL ELECTRONICS FOR IOT CSE STUDENTS
Ad

Recently uploaded (20)

PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
737-MAX_SRG.pdf student reference guides
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Current and future trends in Computer Vision.pptx
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PPTX
communication and presentation skills 01
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
Artificial Intelligence
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPTX
UNIT 4 Total Quality Management .pptx
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PPT
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
PDF
86236642-Electric-Loco-Shed.pdf jfkduklg
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
737-MAX_SRG.pdf student reference guides
R24 SURVEYING LAB MANUAL for civil enggi
Current and future trends in Computer Vision.pptx
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
communication and presentation skills 01
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Artificial Intelligence
Fundamentals of safety and accident prevention -final (1).pptx
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
UNIT 4 Total Quality Management .pptx
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Nature of X-rays, X- Ray Equipment, Fluoroscopy
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
86236642-Electric-Loco-Shed.pdf jfkduklg
Automation-in-Manufacturing-Chapter-Introduction.pdf
Ad

ESD Lecture-6-7-U2.pptx- Enbedded systems

  • 1. pradeepyata@gmail.com 1 DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING SUBJECT: EMBEDDED SYSTEM DESIGN (ESD) By Y.Pradeep Associate Professor UNIT 2: TYPICAL EMBEDDED SYSTEM Lecture-6-7: Topic : “The I/O Subsystem”
  • 2. Pradeepyata@gmail.com 2  The I/O Subsystem: I/O Devices: 1. Light Emitting Diode (LED) 2. 7-Segment LED Display 3. Optocoupler 4. Stepper Motor 5. Relay 6. Piezo Buzzer 7. Push button switch
  • 3. Pradeepyata@gmail.com 3  The I/O Subsystem: The I/O subsystem of the embedded system facilitates the interaction of the embedded system with external world  The interaction happens through the sensors and actuators connected to the Input and output ports respectively of the embedded system  The sensors may not be directly interfaced to the Input ports, instead they may be interfaced through signal conditioning and translating systems like ADC, Optocouplers etc
  • 4. Pradeepyata@gmail.com 4 I/O Devices: Light Emitting Diode (LED) Light Emitting Diode (LED) is an output device for visual indication in any embedded system LED can be used as an indicator for the status of various signals or situations. Typical examples are indicating the presence of power conditions like „Device ON‟, „Battery low‟ or “Charging of battery‟ for a battery operated handheld embedded devices
  • 5. Pradeepyata@gmail.com 5 I/O Devices: Light Emitting Diode (LED) LED is a p-n junction diode and it contains an anode and a cathode.  For proper functioning of the LED, the anode of it should be connected to +ve terminal of the supply voltage and cathode to the –ve terminal of supply voltage The current flowing through the LED must limited to a value below the maximum current that it can conduct. A resister is used in series between the power supply and the resistor to limit the current through the LED
  • 6. Pradeepyata@gmail.com 6  The 7 – segment LED display is an output device for displaying alpha numeric characters  It contains 8 light-emitting diode (LED) segments arranged in a special form. Out of the 8 LED segments, 7 are used for displaying alpha numeric characters  The LED segments are named A to G and the decimal point LED segment is named as DP  The LED Segments A to G and DP should be lit accordingly to display numbers and characters I/O Devices – 7-Segment LED Display
  • 7. Pradeepyata@gmail.com 7  The 7 – segment LED displays are available in two different configurations, namely; Common anode and Common cathode  In the Common anode configuration, the anodes of the 8 segments are connected commonly whereas in the Common cathode configuration, the 8 LED segments share a common cathode line. I/O Devices – 7-Segment LED Display
  • 8. pradeepyata@gmail.com 8  Based on the configuration of the 7 – segment LED unit, the LED segment anode or cathode is connected to the Port of the processor/controller in the order “A” segment to the Least significant port Pin and DP segment to the most significant Port Pin. • The current flow through each of the LED segments should be limited to the maximum value supported by the LED display unit I/O Devices – 7-Segment LED Display
  • 9. Pradeepyata@gmail.com 9 I/O Devices – 7-Segment LED Display
  • 10. Pradeepyata@gmail.com 10  Optocoupler is a solid state device to isolate two parts of a circuit.  Optocoupler combines an LED and a photo-transistor in a single housing (package)  In electronic circuits, optocoupler is used for suppressing interference in data communication, circuit isolation, High voltage separation, simultaneous separation and intensification signal etc  Optocouplers can be used in either input circuits or in output circuits I/O Devices – Optocoupler
  • 11. Pradeepyata@gmail.com 11  Two parts are used in an optocoupler: an LED that emits infrared light and a photosensitive device that detects light from the LED.  Both parts are contained within a black box with pins for connectivity. The input circuit takes the incoming signal, whether the signal is AC or DC, and uses the signal to turn on the LED.  The photosensor is the output circuit that detects the light and depending on the type of output circuit, the output will be AC or DC. I/O Devices – Optocoupler
  • 12. Pradeepyata@gmail.com 12  Stepper motor is an electro mechanical device which generates discrete displacement (motion) in response to dc electrical signals  It differs from the normal dc motor in its operation. The dc motor produces continuous rotation on applying dc voltage whereas a stepper motor produces discrete rotation in response to the dc voltage applied to it  Stepper motors are widely used in industrial embedded applications, consumer electronic products and robotics control systems  The paper feed mechanism of a printer/fax makes use of stepper motors for its functioning. I/O Devices – Stepper Motor:
  • 13. Pradeepyata@gmail.com 13  Based on the coil winding arrangements, a two phase stepper motor is classified into Unipolar and Bipolar  Unipolar:  A unipolar stepper motor contains two windings per phase. The direction of rotation (clockwise or anticlockwise) of a stepper motor is controlled by changing the direction of current flow.  Current in one direction flows through one coil and in the opposite direction flows through the other coil.  It is easy to shift the direction of rotation by just switching the terminals to which the coils are connected  Bipolar:  A bipolar stepper motor contains single winding per phase. For reversing the motor rotation the current flow through the windings is reversed dynamically.  It requires complex circuitry for current flow reversal – I/O Devices – Stepper Motor:
  • 14. Pradeepyata@gmail.com 14 • An electro mechanical device which acts as dynamic path selectors for signals and power. • The “Relay” unit contains a relay coil made up of insulated wire on a metal core and a metal armature with one or more contacts. • “Relay” works on electromagnetic principle. • When a voltage is applied to the relay coil, current flows through the coil, which in turn generates a magnetic field. I/O Devices – Relay:
  • 15. Pradeepyata@gmail.com 15 • The magnetic field attracts the armature core and moves the contact point. • The movement of the contact point changes the power/signal flow path. • The Relay is normally controlled using a relay driver circuit connected to the port pin of the processor/controller • A transistor can be used as the relay driver. The transistor can be selected depending on the relay driving current requirements I/O Devices – Relay:
  • 16. Pradeepyata@gmail.com 16  It is a piezoelectric device for generating audio indications in embedded applications.  A Piezo buzzer contains a piezoelectric diaphragm which produces audible sound in response to the voltage applied to it.  Piezoelectric buzzers are available in two types  1.Self-driving  2.External driving I/O Devices -Piezo Buzzer:  Self-driving contains are the necessary components to generate sound at a predefined tone.  External driving piezo Buzzers supports the generation of different tones.  The tone can be varied by applying a variable pulse train to the piezoelectric buzzer.  A Piezo Buzzer can be directly interfaced to the port pin of the processor/Controller.
  • 17. Pradeepyata@gmail.com 17 I/O Devices – Push button switch: Push Button switch is an input device. Push button switch comes in two configurations, namely “Push to Make” and “Push to Break‟ The switch is normally in the open state and it makes a circuit contact when it is pushed or pressed in the “Push to Make” configuration. In the “Push to Break” configuration, the switch normally in the closed state and it breaks the circuit contact when it is pushed or pressed
  • 18. Pradeepyata@gmail.com 18  The push button stays in the “closed” (For Push to Make type) or “open”(For Push to Break type) state as long as it is kept in the pushed state and it breaks/makes the circuit connection when it is released.  Push button is used for generating a momentary pulse I/O Devices – Push button switch: