SlideShare a Scribd company logo
1 of 33
Introduction to
EMBEDDED SYSTEM
(2nd Edition)
SHIBU K V
Dr Moe Moe Myint
Department of Computer Engineering & Information Technology
Mandalay Technological University
www.slideshare.net/MoeMoeMyint
moemoemyint@moemyanmar.ml
moe2myint.mdy@gmail.com
drmoemoemyint.blogspot.com
Agenda
2.1 Core of the Embedded System
2.2 Memory
2.3 Sensors and Actuators
2.4 Communication Interface
2.5 Embedded Firmware
2.6 Other System Components
2.7 PCB and Passive Components
2
Mandalay Technological University
Department of Computer Engineering and Information Technology
Learning Objectives
 Learn the building blocks of a typical Embedded System
 Learn about General Purpose Processors (GPPs), Application
Specific Instruction Set Processors (ASIPs), Microprocessors,
Microcontrollers, Digital Signal Processors, RISC & CISC
processors, Harvad and Von-Neumann Processor Architecture, Big-
endian v/s Little endian processors, Load Store operation and
Instruction pipelining
 Learn about different PLDs like Complex Programmable Logic
Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), etc.
3
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d
 Learn about the different memory technologies and memory types used in
embedded system development
 Learn about Masked ROM (MROM), PROM, OTP, EPROM, EEPROM, and
FLASH memory for embedded firmware storage
 Learn about Serial Access Memory (SAM), Static Random Access Memory
(SRAM), Dynamic Random Access Memory (DRAM) and Nonvolatile
SRAM (NVRAM)
 Understand the different factors to be considered in the selection of memory
for embedded systems
 Understand the role of sensors, actuators and their interfacing with the I/O
subsystems of an embedded system
4
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d
 Learn about the interfacing of LEDs, 7-segment LED Displays, Piezo Buzzer,
Stepper Motor, Relays, Optocouplers, Matrix keyboard, Push button switches,
Programmable Peripheral Interface Device (e.g. 8255 PPI), etc. with the I/O
subsystem of the embedded system
 Learn about the different communication interfaces of an embedded system
 Understand the various chip level communication interfaces like I2C, SPI,
UART, 1-wire, parallel bus, etc
 Understand the different wired and wireless external communication interfaces
like RS-232C, RS-485, Parallel Port, USB, IEEE1394, Infrared (IrDA),
Bluetooth, Wifi, ZigBee, GPRS, etc.
 Know what embedded firmware is and its role in embedded systems
5
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d
 Understand the different system components like Reset Circuit,
Brown-out protection circuit, Oscillator Unit, Real-Time Clock
(RTC) and Watchdog Timer unit
 Understand the role of PCB in embedded systems
6
Mandalay Technological University
Department of Computer Engineering and Information Technology
2.3 Sensors and Actuators
 A sensor is a transducer device that converts energy from one form to another
for any measurement or control purpose.
 The changes in system environment or variables are detected by the sensors
connected to the input port of the embedded system.
 Actuator is a form of transducer device (mechanical or electrical) which
converts signals to corresponding physical action (motion). Actuator acts as an
output device.
 If the embedded system is designed for any controlling purpose, the system will
produce some changes in the controlling variable to bring the controlled variable to
the desired value.
 It is achieved through an actuator connected to the output port of the embedded
system.
7
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d
 If the embedded system is designed for monitoring purpose only, then
there is no need for including an actuator in the system.
 For example, take the case of an ECG machine. It is designed to monitor
the heart beat status of a patient and it cannot impose a control over the
patient’s heart beat and its order. The sensors used here are the different
electrode sets connected to the body of the patient. The variations are
captured and presented to the user (may be a doctor) through a visual
display or some printed chart.
8
Mandalay Technological University
Department of Computer Engineering and Information Technology
I/O Subsystem
 The I/O subsystem of the embedded system facilitates the interaction of the
embedded system with the 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.
9
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d
 Light Emitting Diode (LED)
 7-Segment LED Display
 Optocoupler
 Stepper Motor
 Relay
 Piezo Buzzer
 Push Button Switch
 Keyboard
 Programmable Peripheral Interface (PPI)
10
Mandalay Technological University
Department of Computer Engineering and Information Technology
Light Emitting Diode (LED)
 LED is an important 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.
 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 the
supply voltage. The current flowing through the LED must be limited to a
value below the maximum current that it can conduct. A resistor is used in
series between the power supply and the LED to limit the current through
the LED.
11
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d12
Figure. LED Interfacing
𝑅 =
(𝑉 − 𝑉𝐿𝐸𝐷)
𝐼
Mandalay Technological University
Department of Computer Engineering and Information Technology
7- Segment LED Display
 The 7-segment LED display is an output device for displaying
alphanumeric 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 alphanumeric characters and 1 is used for representing
‘decimal point’ in decimal number display.
 The LED segments are named A to G and the decimal point LED segment
is named as DP.
13
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d14
Figure Common anode and cathode configurations
of a 7-segment LED Display
 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.
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d
15
 7-segment LED display is a popular choice for low cost embedded
applications like, Public telephone call monitoring devices, point of sale
terminals, etc.
Mandalay Technological University
Department of Computer Engineering and Information Technology
Optocoupler
 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). Figure illustrates the functioning of an optocoupler device.
 Figure illustrates the functioning of an optocoupler device.
16
Figure. An optocoupler device
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d
17
Figure. Optocoupler in Input and Output Circuit
 In electronic circuits, an optocoupler is used for suppressing
interference in data communication, circuit isolation, high voltage
separation, simultaneous separation and signal intensification, etc.
 Optocouplers can be used in either input circuits or in output circuits.
 Figure illustrates the usage of optocoupler in input circuit and output
circuit of an embedded system with a microcontroller as the system
core.
Mandalay Technological University
Department of Computer Engineering and Information Technology
Stepper Motor
 A 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.
18
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d
 Based on the coil winding arrangements, a two-phase stepper motor is
classified into two. They are:
 Unipolar
 Bipolar
19
Stepper Motor
Mandalay Technological University
Department of Computer Engineering and Information Technology
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.
 Figure illustrates the working of a two-phase
unipolar stepper motor.
20
A
C
B D
M
GND
GND
2-Phase unipolar stepper motor
Mandalay Technological University
Department of Computer Engineering and Information Technology
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.
 There is one disadvantage of unipolar motors. The
torque generated by them is quite less. This is
because the current is flowing only through the
half the winding. Hence they are used in low
torque applications.
 On the other hand, bipolar stepper motors are a
little complex to wire as we have to use a current
reversing H bridge driver IC like an L293D. But
the advantage is that the current will flow
through the full coil. The resulting torque
generated by the motor is larger as compared to a
uni-polar motor.
21
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d
 The stepping of stepper motor can be implemented in different ways by
changing the sequence of activation of the stator windings. The different
stepping modes supported by stepper motor are explained below.
 Full Step: In the step mode both the phases are energized
simultaneously. The coils A, B, C and D are energized in the following
order:
22
 It should be noted that out of the two windings, only one winding of a
phase is energized at a time.
Step Coil A Coil B Coil C Coil D
1 H H L L
2 L H H L
3 L L H H
4 H L L H
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d
 Wave Step: In the wave step mode only one phase is energized at
a time and each coils of the phase is energies alternatively. The
coils A, B, C and D are energized in the following order:
23
Step Coil A Coil B Coil C Coil D
1 H L L L
2 L H L L
3 L L H L
4 L L L H
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d
 Half Step : It uses the combination of wave and full step. It has
the highest torque and stability. The coil energizing sequence for
half step is given below.
24
Step Coil A Coil B Coil C Coil D
1 H L L L
2 H H L L
3 L H L L
4 L H H L
5 L L H L
6 L L H H
7 L L L H
8 H L L H
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d
 The rotation of the stepper motor can be reversed by reversing the
order in which the coil is energized.
 Two-phase unipolar stepper motors are the popular choice for
embedded applications.
 The current requirement for stepper motor is little high and hence the
port pins of a microcontroller/processor may not be able to drive
them directly.
 Also the supply voltage required to operate stepper motor varies
normally in the range 5V to 24 V.
 Depending on the current and voltage requirements, special driving
circuits are required to interface the stepper motor with
microcontroller/processors.
 The following circuit diagram illustrates the interfacing of a stepper
motor through a driver circuit connected to the port pins of a
microcontroller/processor.
25
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d26
Interfacing of stepper motor through driver circuit
Mandalay Technological University
Department of Computer Engineering and Information Technology
Relay
 Relay is an electro-mechanical device. In embedded application, the ‘Relay’ unit
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.
 The magnetic field attracts the armature core and moves the contact point. The
movement of the contact point changes the power/signal flow path.
 ‘Relays’ are available in different configurations. Figure given below illustrates the
widely used relay configurations for embedded applications.
27
Mandalay Technological University
Department of Computer Engineering and Information Technology
Cont’d
28
Figure Relay Configurations
 The Single Pole Single Throw configuration has only one path for information flow.
The path is either open or closed in normal condition. For normally Open Single
Pole Single Throw relay, the circuit is normally open and it becomes closed when the
relay is energized. For normally closed Single Pole Single Throw configuration, the
circuit is normally closed and it becomes open when the relay is energized. For
Single Pole Double Throw Relay, there are two paths for information flow and they
are selected by energizing or de-energizing the relay.
Mandalay Technological University
Department of Computer Engineering and Information Technology
Understanding Test Questions IV
29
Mandalay Technological University
Department of Computer Engineering and Information Technology
1. Which of the following is (are) example(s) for the input subsystem of an
embedded system dealing with digital data?
(a) ADC (b) Optocoupler (c) DAC (d) All of them
(e) only (a) and (b)
2. Which of the following is (are) example(s) for the output subsystem of
an embedded system dealing with digital data?
(a) LED (b) Optocoupler (c) Stepper Motor(d) All of them
(e) only (a) and (c)
3. Which of the following is true about optocouplers
(a) Optocoupler acts as an input device only
(b) Optocoupler acts as an output device only
(c) Optocoupler can be used in both input and output circuitry
(d) None of these
Cont’d
30
Mandalay Technological University
Department of Computer Engineering and Information Technology
4. Which of the following is true about a unipolar stepper motor
(a) Contains only a single winding per stator phase
(b) Contains four windings per stator phase
(c) Contains two windings per stator phase
(d) None of these
5. Which of the following is (are) true about normally open single pole
relays?
(a) The circuit remains open when the relay is not energized
(b) The circuit remains closed when the relay is energized
(c) There are two output paths
(d) Both (a) and (b) (e) None of these
Reviewed Questions IV31
Mandalay Technological University
Department of Computer Engineering and Information Technology
1. What is Sensor? Explain its role in Embedded System Design?
Illustrate with an example.
2. What is Actuator? Explain its role in Embedded System Design?
Illustrate with an example.
3. Calculate the resistance in the following circuit.
4. What is stepper motor? How is it different from ordinary dc motor?
5. Explain the role of Stepper motor in embedded applications with
examples.
6. What is Relay? What are the different types of relays available?
 Only Original Owner has full rights reserved for copied images.
 This PPT is only for fair academic use.
 Coming soon for chapter 2 (4th portion)
32
Mandalay Technological University
Department of Computer Engineering and Information Technology
33

More Related Content

What's hot

Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200
Ahmed Elsayed
 
Hardware Software Codesign
Hardware Software CodesignHardware Software Codesign
Hardware Software Codesign
destruck
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
Spitiq
 
PLC and SCADA training.
PLC and SCADA training.PLC and SCADA training.
PLC and SCADA training.
Ishank Ranjan
 

What's hot (20)

SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I   Core of Embedded SystemsSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I   Core of Embedded Systems
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part I
 
Use of plc in industrial automation
Use of plc in industrial automationUse of plc in industrial automation
Use of plc in industrial automation
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded Systems
 
PIC Microcontroller | ADC Interfacing
PIC Microcontroller | ADC InterfacingPIC Microcontroller | ADC Interfacing
PIC Microcontroller | ADC Interfacing
 
Hardware-Software Codesign
Hardware-Software CodesignHardware-Software Codesign
Hardware-Software Codesign
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systems
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...
 
Embedded systems class notes
Embedded systems  class notes Embedded systems  class notes
Embedded systems class notes
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Plc
PlcPlc
Plc
 
Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200
 
Intel 8051 - pin description
Intel 8051  - pin descriptionIntel 8051  - pin description
Intel 8051 - pin description
 
Hardware Software Codesign
Hardware Software CodesignHardware Software Codesign
Hardware Software Codesign
 
PLC and SCADA
PLC and SCADAPLC and SCADA
PLC and SCADA
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Applications of microcontroller
Applications of microcontrollerApplications of microcontroller
Applications of microcontroller
 
L13 interrupts-in-atmega328 p
L13 interrupts-in-atmega328 pL13 interrupts-in-atmega328 p
L13 interrupts-in-atmega328 p
 
PLC and SCADA training.
PLC and SCADA training.PLC and SCADA training.
PLC and SCADA training.
 
PIC Microcontrollers
PIC MicrocontrollersPIC Microcontrollers
PIC Microcontrollers
 

Similar to Introduction to Embedded System I : Chapter 2 (3rd portion)

Embedded_ PPT_2 unit_Dr Monika_edited.pptx
Embedded_ PPT_2 unit_Dr Monika_edited.pptxEmbedded_ PPT_2 unit_Dr Monika_edited.pptx
Embedded_ PPT_2 unit_Dr Monika_edited.pptx
ProfMonikaJain
 
chapter1-171214041210 (1).pdf
chapter1-171214041210 (1).pdfchapter1-171214041210 (1).pdf
chapter1-171214041210 (1).pdf
HardikH1
 
summer training report (2)
summer training report (2)summer training report (2)
summer training report (2)
Kavya Gupta
 

Similar to Introduction to Embedded System I : Chapter 2 (3rd portion) (20)

Lecture 4 PPT Sensors and Actuators Shibu K V.pptx
Lecture 4 PPT Sensors and Actuators Shibu K V.pptxLecture 4 PPT Sensors and Actuators Shibu K V.pptx
Lecture 4 PPT Sensors and Actuators Shibu K V.pptx
 
Embedded_ PPT_2 unit_Dr Monika_edited.pptx
Embedded_ PPT_2 unit_Dr Monika_edited.pptxEmbedded_ PPT_2 unit_Dr Monika_edited.pptx
Embedded_ PPT_2 unit_Dr Monika_edited.pptx
 
PLCandSCADA.pdf
PLCandSCADA.pdfPLCandSCADA.pdf
PLCandSCADA.pdf
 
Chapter 8 Embedded Hardware Design and Development (second portion)
Chapter 8 Embedded Hardware Design and Development (second portion)Chapter 8 Embedded Hardware Design and Development (second portion)
Chapter 8 Embedded Hardware Design and Development (second portion)
 
IMPLEMENTATION OF USER INTERFACE FOR MICROPROCESSOR TRAINER
IMPLEMENTATION OF USER INTERFACE FOR MICROPROCESSOR TRAINER IMPLEMENTATION OF USER INTERFACE FOR MICROPROCESSOR TRAINER
IMPLEMENTATION OF USER INTERFACE FOR MICROPROCESSOR TRAINER
 
IRJET- Items’ Filling System Prototype with Sorting System According to the C...
IRJET- Items’ Filling System Prototype with Sorting System According to the C...IRJET- Items’ Filling System Prototype with Sorting System According to the C...
IRJET- Items’ Filling System Prototype with Sorting System According to the C...
 
IRJET- Multiple Load Controller for Industry using ARM Cortex
IRJET-  	  Multiple Load Controller for Industry using ARM CortexIRJET-  	  Multiple Load Controller for Industry using ARM Cortex
IRJET- Multiple Load Controller for Industry using ARM Cortex
 
REAL-TIME LOCATION TRACKER FOR HEALTH PATIENT IN CRISIS
REAL-TIME LOCATION TRACKER FOR HEALTH PATIENT IN CRISISREAL-TIME LOCATION TRACKER FOR HEALTH PATIENT IN CRISIS
REAL-TIME LOCATION TRACKER FOR HEALTH PATIENT IN CRISIS
 
Embedded System Real Time Operating System (ERTS) I unit by vijay
Embedded System Real Time Operating System (ERTS) I unit by vijayEmbedded System Real Time Operating System (ERTS) I unit by vijay
Embedded System Real Time Operating System (ERTS) I unit by vijay
 
IRJET- Password based Circuit Breaker using DTMF
IRJET-  	  Password based Circuit Breaker using DTMFIRJET-  	  Password based Circuit Breaker using DTMF
IRJET- Password based Circuit Breaker using DTMF
 
chapter1-171214041210 (1).pdf
chapter1-171214041210 (1).pdfchapter1-171214041210 (1).pdf
chapter1-171214041210 (1).pdf
 
IRJET - Automatic Mechanism for LED Parameters Testing & Checking
IRJET -  	  Automatic Mechanism for LED Parameters Testing & CheckingIRJET -  	  Automatic Mechanism for LED Parameters Testing & Checking
IRJET - Automatic Mechanism for LED Parameters Testing & Checking
 
summer training report (2)
summer training report (2)summer training report (2)
summer training report (2)
 
Embedded two mark question
Embedded two mark questionEmbedded two mark question
Embedded two mark question
 
IRJET- Android based Home Automation System with Power Optimization Modes
IRJET-  	  Android based Home Automation System with Power Optimization ModesIRJET-  	  Android based Home Automation System with Power Optimization Modes
IRJET- Android based Home Automation System with Power Optimization Modes
 
Industrial monitoring and control system using android application
Industrial monitoring and control system using android applicationIndustrial monitoring and control system using android application
Industrial monitoring and control system using android application
 
IRJET - ATMEGA 328P based Smart Energy Meter Test Jig using PLX-DAX
IRJET - ATMEGA 328P based Smart Energy Meter Test Jig using PLX-DAXIRJET - ATMEGA 328P based Smart Energy Meter Test Jig using PLX-DAX
IRJET - ATMEGA 328P based Smart Energy Meter Test Jig using PLX-DAX
 
IRJET- PLC using Renesas Controller
IRJET-  	  PLC using Renesas ControllerIRJET-  	  PLC using Renesas Controller
IRJET- PLC using Renesas Controller
 
DC motor controlling
DC motor controllingDC motor controlling
DC motor controlling
 
Android Based Voice Controlled Smart Wheelchair
Android Based Voice Controlled Smart WheelchairAndroid Based Voice Controlled Smart Wheelchair
Android Based Voice Controlled Smart Wheelchair
 

More from Moe Moe Myint

More from Moe Moe Myint (15)

Schematic and PCB Design Using Eagle
Schematic and PCB Design Using EagleSchematic and PCB Design Using Eagle
Schematic and PCB Design Using Eagle
 
Chapter 4 Embedded System: Application and Domain Specific
Chapter 4 Embedded System: Application and Domain SpecificChapter 4 Embedded System: Application and Domain Specific
Chapter 4 Embedded System: Application and Domain Specific
 
Lect 06
Lect 06 Lect 06
Lect 06
 
Lect 03 - first portion
Lect 03 - first portionLect 03 - first portion
Lect 03 - first portion
 
Lect 02 second portion
Lect 02  second portionLect 02  second portion
Lect 02 second portion
 
Lect 02 first portion
Lect 02   first portionLect 02   first portion
Lect 02 first portion
 
Lect 02 first portion
Lect 02   first portionLect 02   first portion
Lect 02 first portion
 
Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)
 
Digital Image Processing (Lab 09 and 10)
Digital Image Processing (Lab 09 and 10)Digital Image Processing (Lab 09 and 10)
Digital Image Processing (Lab 09 and 10)
 
Digital Image Processing (Lab 08)
Digital Image Processing (Lab 08)Digital Image Processing (Lab 08)
Digital Image Processing (Lab 08)
 
Digital Image Processing (Lab 07)
Digital Image Processing (Lab 07)Digital Image Processing (Lab 07)
Digital Image Processing (Lab 07)
 
Digital Image Processing (Lab 06)
Digital Image Processing (Lab 06)Digital Image Processing (Lab 06)
Digital Image Processing (Lab 06)
 
Digital Image Processing (Lab 05)
Digital Image Processing (Lab 05)Digital Image Processing (Lab 05)
Digital Image Processing (Lab 05)
 
Dital Image Processing (Lab 2+3+4)
Dital Image Processing (Lab 2+3+4)Dital Image Processing (Lab 2+3+4)
Dital Image Processing (Lab 2+3+4)
 
Digital image processing lab 1
Digital image processing lab 1Digital image processing lab 1
Digital image processing lab 1
 

Recently uploaded

1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
meharikiros2
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
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
pritamlangde
 
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
Neometrix_Engineering_Pvt_Ltd
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
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
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
 
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
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
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
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
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
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
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
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing 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
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 

Introduction to Embedded System I : Chapter 2 (3rd portion)

  • 1. Introduction to EMBEDDED SYSTEM (2nd Edition) SHIBU K V Dr Moe Moe Myint Department of Computer Engineering & Information Technology Mandalay Technological University www.slideshare.net/MoeMoeMyint moemoemyint@moemyanmar.ml moe2myint.mdy@gmail.com drmoemoemyint.blogspot.com
  • 2. Agenda 2.1 Core of the Embedded System 2.2 Memory 2.3 Sensors and Actuators 2.4 Communication Interface 2.5 Embedded Firmware 2.6 Other System Components 2.7 PCB and Passive Components 2 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 3. Learning Objectives  Learn the building blocks of a typical Embedded System  Learn about General Purpose Processors (GPPs), Application Specific Instruction Set Processors (ASIPs), Microprocessors, Microcontrollers, Digital Signal Processors, RISC & CISC processors, Harvad and Von-Neumann Processor Architecture, Big- endian v/s Little endian processors, Load Store operation and Instruction pipelining  Learn about different PLDs like Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), etc. 3 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 4. Cont’d  Learn about the different memory technologies and memory types used in embedded system development  Learn about Masked ROM (MROM), PROM, OTP, EPROM, EEPROM, and FLASH memory for embedded firmware storage  Learn about Serial Access Memory (SAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM) and Nonvolatile SRAM (NVRAM)  Understand the different factors to be considered in the selection of memory for embedded systems  Understand the role of sensors, actuators and their interfacing with the I/O subsystems of an embedded system 4 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 5. Cont’d  Learn about the interfacing of LEDs, 7-segment LED Displays, Piezo Buzzer, Stepper Motor, Relays, Optocouplers, Matrix keyboard, Push button switches, Programmable Peripheral Interface Device (e.g. 8255 PPI), etc. with the I/O subsystem of the embedded system  Learn about the different communication interfaces of an embedded system  Understand the various chip level communication interfaces like I2C, SPI, UART, 1-wire, parallel bus, etc  Understand the different wired and wireless external communication interfaces like RS-232C, RS-485, Parallel Port, USB, IEEE1394, Infrared (IrDA), Bluetooth, Wifi, ZigBee, GPRS, etc.  Know what embedded firmware is and its role in embedded systems 5 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 6. Cont’d  Understand the different system components like Reset Circuit, Brown-out protection circuit, Oscillator Unit, Real-Time Clock (RTC) and Watchdog Timer unit  Understand the role of PCB in embedded systems 6 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 7. 2.3 Sensors and Actuators  A sensor is a transducer device that converts energy from one form to another for any measurement or control purpose.  The changes in system environment or variables are detected by the sensors connected to the input port of the embedded system.  Actuator is a form of transducer device (mechanical or electrical) which converts signals to corresponding physical action (motion). Actuator acts as an output device.  If the embedded system is designed for any controlling purpose, the system will produce some changes in the controlling variable to bring the controlled variable to the desired value.  It is achieved through an actuator connected to the output port of the embedded system. 7 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 8. Cont’d  If the embedded system is designed for monitoring purpose only, then there is no need for including an actuator in the system.  For example, take the case of an ECG machine. It is designed to monitor the heart beat status of a patient and it cannot impose a control over the patient’s heart beat and its order. The sensors used here are the different electrode sets connected to the body of the patient. The variations are captured and presented to the user (may be a doctor) through a visual display or some printed chart. 8 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 9. I/O Subsystem  The I/O subsystem of the embedded system facilitates the interaction of the embedded system with the 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. 9 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 10. Cont’d  Light Emitting Diode (LED)  7-Segment LED Display  Optocoupler  Stepper Motor  Relay  Piezo Buzzer  Push Button Switch  Keyboard  Programmable Peripheral Interface (PPI) 10 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 11. Light Emitting Diode (LED)  LED is an important 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.  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 the supply voltage. The current flowing through the LED must be limited to a value below the maximum current that it can conduct. A resistor is used in series between the power supply and the LED to limit the current through the LED. 11 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 12. Cont’d12 Figure. LED Interfacing 𝑅 = (𝑉 − 𝑉𝐿𝐸𝐷) 𝐼 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 13. 7- Segment LED Display  The 7-segment LED display is an output device for displaying alphanumeric 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 alphanumeric characters and 1 is used for representing ‘decimal point’ in decimal number display.  The LED segments are named A to G and the decimal point LED segment is named as DP. 13 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 14. Cont’d14 Figure Common anode and cathode configurations of a 7-segment LED Display  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. Mandalay Technological University Department of Computer Engineering and Information Technology
  • 15. Cont’d 15  7-segment LED display is a popular choice for low cost embedded applications like, Public telephone call monitoring devices, point of sale terminals, etc. Mandalay Technological University Department of Computer Engineering and Information Technology
  • 16. Optocoupler  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). Figure illustrates the functioning of an optocoupler device.  Figure illustrates the functioning of an optocoupler device. 16 Figure. An optocoupler device Mandalay Technological University Department of Computer Engineering and Information Technology
  • 17. Cont’d 17 Figure. Optocoupler in Input and Output Circuit  In electronic circuits, an optocoupler is used for suppressing interference in data communication, circuit isolation, high voltage separation, simultaneous separation and signal intensification, etc.  Optocouplers can be used in either input circuits or in output circuits.  Figure illustrates the usage of optocoupler in input circuit and output circuit of an embedded system with a microcontroller as the system core. Mandalay Technological University Department of Computer Engineering and Information Technology
  • 18. Stepper Motor  A 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. 18 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 19. Cont’d  Based on the coil winding arrangements, a two-phase stepper motor is classified into two. They are:  Unipolar  Bipolar 19 Stepper Motor Mandalay Technological University Department of Computer Engineering and Information Technology
  • 20. 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.  Figure illustrates the working of a two-phase unipolar stepper motor. 20 A C B D M GND GND 2-Phase unipolar stepper motor Mandalay Technological University Department of Computer Engineering and Information Technology
  • 21. 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.  There is one disadvantage of unipolar motors. The torque generated by them is quite less. This is because the current is flowing only through the half the winding. Hence they are used in low torque applications.  On the other hand, bipolar stepper motors are a little complex to wire as we have to use a current reversing H bridge driver IC like an L293D. But the advantage is that the current will flow through the full coil. The resulting torque generated by the motor is larger as compared to a uni-polar motor. 21 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 22. Cont’d  The stepping of stepper motor can be implemented in different ways by changing the sequence of activation of the stator windings. The different stepping modes supported by stepper motor are explained below.  Full Step: In the step mode both the phases are energized simultaneously. The coils A, B, C and D are energized in the following order: 22  It should be noted that out of the two windings, only one winding of a phase is energized at a time. Step Coil A Coil B Coil C Coil D 1 H H L L 2 L H H L 3 L L H H 4 H L L H Mandalay Technological University Department of Computer Engineering and Information Technology
  • 23. Cont’d  Wave Step: In the wave step mode only one phase is energized at a time and each coils of the phase is energies alternatively. The coils A, B, C and D are energized in the following order: 23 Step Coil A Coil B Coil C Coil D 1 H L L L 2 L H L L 3 L L H L 4 L L L H Mandalay Technological University Department of Computer Engineering and Information Technology
  • 24. Cont’d  Half Step : It uses the combination of wave and full step. It has the highest torque and stability. The coil energizing sequence for half step is given below. 24 Step Coil A Coil B Coil C Coil D 1 H L L L 2 H H L L 3 L H L L 4 L H H L 5 L L H L 6 L L H H 7 L L L H 8 H L L H Mandalay Technological University Department of Computer Engineering and Information Technology
  • 25. Cont’d  The rotation of the stepper motor can be reversed by reversing the order in which the coil is energized.  Two-phase unipolar stepper motors are the popular choice for embedded applications.  The current requirement for stepper motor is little high and hence the port pins of a microcontroller/processor may not be able to drive them directly.  Also the supply voltage required to operate stepper motor varies normally in the range 5V to 24 V.  Depending on the current and voltage requirements, special driving circuits are required to interface the stepper motor with microcontroller/processors.  The following circuit diagram illustrates the interfacing of a stepper motor through a driver circuit connected to the port pins of a microcontroller/processor. 25 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 26. Cont’d26 Interfacing of stepper motor through driver circuit Mandalay Technological University Department of Computer Engineering and Information Technology
  • 27. Relay  Relay is an electro-mechanical device. In embedded application, the ‘Relay’ unit 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.  The magnetic field attracts the armature core and moves the contact point. The movement of the contact point changes the power/signal flow path.  ‘Relays’ are available in different configurations. Figure given below illustrates the widely used relay configurations for embedded applications. 27 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 28. Cont’d 28 Figure Relay Configurations  The Single Pole Single Throw configuration has only one path for information flow. The path is either open or closed in normal condition. For normally Open Single Pole Single Throw relay, the circuit is normally open and it becomes closed when the relay is energized. For normally closed Single Pole Single Throw configuration, the circuit is normally closed and it becomes open when the relay is energized. For Single Pole Double Throw Relay, there are two paths for information flow and they are selected by energizing or de-energizing the relay. Mandalay Technological University Department of Computer Engineering and Information Technology
  • 29. Understanding Test Questions IV 29 Mandalay Technological University Department of Computer Engineering and Information Technology 1. Which of the following is (are) example(s) for the input subsystem of an embedded system dealing with digital data? (a) ADC (b) Optocoupler (c) DAC (d) All of them (e) only (a) and (b) 2. Which of the following is (are) example(s) for the output subsystem of an embedded system dealing with digital data? (a) LED (b) Optocoupler (c) Stepper Motor(d) All of them (e) only (a) and (c) 3. Which of the following is true about optocouplers (a) Optocoupler acts as an input device only (b) Optocoupler acts as an output device only (c) Optocoupler can be used in both input and output circuitry (d) None of these
  • 30. Cont’d 30 Mandalay Technological University Department of Computer Engineering and Information Technology 4. Which of the following is true about a unipolar stepper motor (a) Contains only a single winding per stator phase (b) Contains four windings per stator phase (c) Contains two windings per stator phase (d) None of these 5. Which of the following is (are) true about normally open single pole relays? (a) The circuit remains open when the relay is not energized (b) The circuit remains closed when the relay is energized (c) There are two output paths (d) Both (a) and (b) (e) None of these
  • 31. Reviewed Questions IV31 Mandalay Technological University Department of Computer Engineering and Information Technology 1. What is Sensor? Explain its role in Embedded System Design? Illustrate with an example. 2. What is Actuator? Explain its role in Embedded System Design? Illustrate with an example. 3. Calculate the resistance in the following circuit. 4. What is stepper motor? How is it different from ordinary dc motor? 5. Explain the role of Stepper motor in embedded applications with examples. 6. What is Relay? What are the different types of relays available?
  • 32.  Only Original Owner has full rights reserved for copied images.  This PPT is only for fair academic use.  Coming soon for chapter 2 (4th portion) 32 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 33. 33

Editor's Notes

  1. Understand the different types of core i.e. processor Understand the difference between microprocessor & microcontroller Understand the classification of processors based on Bus Architecture, Instruction set Architecture, and Endiannes. Have an overview of processors from most simple and cheap to most expensive and complex, powerful Understand what are sensors and actuators, communication interfaces
  2. Controlling/monitoring functions.. The changes in system environment or variables are detected by the sensors connected to the input port of the embedded system. . It is achieved through an actuator connected to the output port of the embedded system
  3. 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. LEDs can be interfaced to the port pin of a processor/controller in two ways. In the first method, the anode is directly connected to the port pin and the port pin drives the LED. In this approach the port pin ‘sources’ current to the LED when the port pin is at logic High (Logic ‘1’). In the second method, the cathode of the LED is connected to the port pin of the processor/controller and the anode to the supply voltage Through a current limiting resistor. The LED is turned on when the port pin is at logic Low (Logic ‘0’)
  5. LEDs can be interfaced to the port pin of a processor/controller in two ways. In the first method, the anode is directly connected to the port pin and the port pin drives the LED. In the second method, the cathode of the LED is connected to the port pin of the processor/controller and the anode to the supply voltage through a current limiting resistor.
  6. The current flow through each of the LED segments should be limited to the maximum value supported by the LED display unit. The typical value for the current falls within the range of 20mA. The current through each segment can be limited by connecting a current limiting resistor to the anode or cathode of each segment. The value for the current limiting resistors can be calculated using the current value from the electrical parameter listing the LED display.
  7. Electrically isolated for two voltages Control via light signal
  8. AN optocoupler also known as an Opto-isolator or Photo-coupler is an electronic components that interconnects two separate electrical circuits by means of a light sensitive optical interface. We know from out tutorials about Transformers that they can not only provide a step-down (or step-up) voltage, but they also provide “electrical isolation” between the higher voltage on the primary side and the lower voltage on the secondary side. But we can also provide electrical isolation between an input source and an output load using just light by using a very common and valuable electronic component called an Optocoupler. The basic design of an optocoupler consists of an LED that produces infrared light and a semiconductor photo-sensitive device that is used to detect the emitted infra-red beam. Both the LED and phot-sensitive device are enclosed in a light-tight body or package with metal legs for the electrical connections as shown. AN optocoupler or opto-isolator consists of a light emitter, the LED and a light sensitive receiver which can be a single photo-diode, phot-transistor, photo-resistor, photo-SCR, or a photo-TRIAC with the basic operation of an optocoupler being very simple to understand.
  9. Two modes of rotation: continuous and discrete. Continuous rotation allows objects to be rotated around an axis by any quantity in degrees, including decimal values, while discrete rotation snaps the rotation to specified increments, such as increments of 10 or 15 degrees.
  10. The coils are represented as A, B, C and D, Coils A and C carry current in opposite directions for phase 1 (only one of them will be carrying current at a time). Similarly, B and D carry current in opposite directions fo phase 2 (only one of them will be carrying current at a time).
  11. There is one disadvantage of uni-polar motors. The torque generated by them is quite less. This is because the current is flowing only through the half the winding. Hence they are used in low torque applications. On the other hand, bipolar stepper motors are a little complex to wire as we have to use a current reversing H bridge driver IC like an L293D. But the advantage is that the current will flow through the full coil. The resulting torque generated by the motor is larger as compared to a uni-polar motor.
  12. If Full step 1.8 deg/step , 0.9 deg/step for half stepping………
  13. Can move /choose for controlling given signal around path An electromechanical relay consists of three terminals namely common © connection, NC (Normally closed connection), NO (Normally Open connection). We can control High voltage electronic devices using relays. A relay is actually a switch which is electrically operated by an electromagnet. The electromagnet is activated with a low voltage, for example 5 volts from a microcontroller and it pulls a contact to make or break a high voltage circuit.