1 of 23

EMBEDDED SYSTEMS-1�(V18ECT17)�Embedded Hardware &Firmware Design��

2 of 23

Identify the Analog and Digital Electronic components for Embedded systems

3 of 23

4 of 23

5 of 23

6 of 23

7 of 23

8 of 23

9 of 23

10 of 23

11 of 23

12 of 23

13 of 23

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

14 of 23

  1. I/O Devices - Light Emitting Diode (LED):
  2. Light Emitting Diode (LED) is an output device for visual Vcc indication in any embedded system
  3. LED can be used as an indicator for the status of various signals or situations.
  4. Typical examples are indicating the presence of power conditions GND like „Device ON‟, „Battery low‟ or „Charging of battery‟ for a battery operated handheld embedded devices
  5. LED is a p-n junction diode and it contains an anode and a cathode.
  6. 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.
  7. A resister is used in series between the power supply and the resistor to limit the current through the LED

15 of 23

16 of 23

2. I/O Devices – 7-Segment LED Display

  • 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
  • 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
  • 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.

17 of 23

  • 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.

18 of 23

19 of 23

3. I/O Devices – 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)
  • 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.

20 of 23

4. I/O Devices – Stepper Motor:

  • 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.
  • Based on the coil winding arrangements, a two phase stepper motor is classified into

21 of 23

  • Unipolar
  • 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

22 of 23

The I/O Subsystem – I/O Devices – Relay:

  • 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.
  • 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.

23 of 23