Académique Documents
Professionnel Documents
Culture Documents
Level 0
Introduction to Electronics
This document is a property of Embedtrix Lab. No commercial usage is allowed without the written permission of the author.
1.1 Tolerance
The tolerance of a resistor refers to how close its actual resistance has to be to the value marked on it. Common tolerances are 5% and 1%.
1.2 Wattage
Depending upon the power requirements of the circuit, resistor wattage needs to be calculated that they dont over heat. Common ratings are Watt, Watt, 1 Watt and 5 Watt.
1.3 Values
Because it would be impractical to carry every possible value of resistor, they are available in pre-selected ranges. These ranges are known as preferred values.
Fig2
Fig3
2.Capacitors
A capacitor works on the principle of having two conductive plates which are very close and are parallel to each other. When a charge is applied to one plate of the capacitor, the electrons will generate an approximately equal, but opposite charge on the other plate. Capacitors will pass AC current, but will block DC current. A capacitor can also be used to smooth voltage ripple, as in DC power supplies. Capacitance is measured in Farads (F). The 2 types of capacitors we frequently use in circuits are ceramic and electrolytic capacitors. While ceramic capacitors do not have a fixed polarity; electrolytic capacitors should be connected in their specified polarities only else they might blow off! This polarity is usually provided on the side of the capacitors corresponding leg.
Fig6:
Electrolytic capacitor
There are two methods for marking capacitor values. One is to write the information numerically directly onto the capacitor itself. The second is to use the EIA coding system.
3.Diodes
Diode is a two terminal semiconductor device. The most common function of a diode is to allow an electric current to pass in one direction (called the diode's forward bias direction) while blocking current in the opposite direction (the reverse direction). Specialized diodes are used to regulate voltage (Zener diodes), to electronically tune radio and TV receivers (varactor diodes), to generate radio frequency oscillations (tunnel diodes), and to produce light (light emitting diodes). Tunnel diodes exhibit negative resistance, which makes them useful in some types of circuit.
The following are subminiature general purpose power rectifiers for low power applications
Instantaneous Voltage Drop @ forward current 1 A= 1.1V Maximum Full-Cycle Average Voltage Drop @ forward Current 1 A= 0.8V Maximum Reverse Current 0.03mA RMS Reverse Voltage 1N4001 : 35v 1N4002 : 70v 1N4003 : 140v 1N4004 :280v 1N4005 :420v 1N4006 :560v 1N4007 :700v
Absolute Maximum Ratings Peak Repetitive Reverse Voltage 1N4001: 50V 1N4002 :100V 1N4003 :200V 1N4004 :400V 1N4005 :600V 1N4006 :800V 1N4007 :1000V
Their value will depend on the current and the degree of smoothing required. As a general guide, if the current being drawn from a supply is high, the size of the smoothing capacitor will need to be large (around 2500uF or larger) if the hum level is to be kept down to a respectable level. It must also not be forgotten that all of these circuits are 'unregulated' i.e. as the load increases from zero to
maximum the output voltage will drop due to the transformer voltage dropping under load and losses across the diodes - and the storage capacity of smoothing capacitors. Example Say for example we want a power supply to give 9V at 1 A. We could use a M21 55 transformer which is rated at 1 A. If we use a bridge rectifier and the 9V tapping the output voltage will be:VDC= 1.41 XVAC - 1.41 X9V = 12.69V Peak (9V at 1A load)
Fig9: LED
4. Transistors
A transistor is a semiconductor device used to amplify and switch electronic signals. It is made of a solid piece of semiconductor material, with at least three terminals for connection to an external circuit. A voltage or current applied to one pair of the transistor's terminals changes the current flowing through another pair of terminals. Because the controlled (output) power can be much more than the controlling (input) power, the transistor provides amplification of a signal. Today, some transistors are packaged individually, but many more are found embedded in integrated circuits
Digital Electronics
1.1 What is a Digital system?
In most general terms, this systems behavior is sufficiently explained by using only two of its states can be Voltage(more than x volts or less?),distance covered(more than 2.5 km or less?],true-false or weight of an elephant(will my weighing machine withstand it?) ) Note that although in every case, the all the intermediate states ARE POSSIBLE AND DO EXIST, our point of interest are such that we dont require their explicit description. In electronic systems we mostly deal with Voltage levels as digital entities.
Integrated Circuits
1. 78XX Series Voltage Regulator ICs
78XX series are complete voltage regulators with outstanding ripple rejection and superior line load regulation. Current limiting is included to limit peak output current to a safe level. Safe area protection for the output transistor is provided. If internal power dissipation is too high, thermal shutdown occurs. Although designed primarily as fixed voltage regulators, these devices can be used with external components to obtain adjustable voltages and currents.
Fig.15: IC 7805
NOTE: Use 2 capacitors of value say 0.1F to filter the noise in the input and output of regulators supply as shown .
Fig.17: Operational Amplifier Ironically, this high gain in open loop makes it impossible to use it as a general purpose differential amplifier directly. [GOOGLY: If (V+-V-) = 0.005V; Vss = 12V what will be the output??]
Fig.18: IC 741 Opamp Simplest use of Opamp is as a comparator. It can be used to convert an analog signal to a digital signal defined by a fixed threshold. Set V- as the threshold voltage say 2.5 V and apply the analog signal to be digitized at V+ .What will be the output? Well if you have worked out the googly, this should be a piece of cake!
3. 555 Timer
3.1 555
555 is an IC used to generate a clock .The two attributes of a clock are Frequency Duty cycle. Both of these can be changed using this IC, however the duty cycle is always <50%. A dual version of this IC is available, the 556 There are two modes in which 555 can run. Fig.19: 555 Pin Configurations
F=
D=
Fig.21 555 in astable mode NOTE: Capacitor C2 is just to filter the noise and its value can be suitably chosen to be 0.01F. It can also be neglected.
4. 4029 counter
With the clock made, we are ready to count the number of pulses passed into the circuit. Note that any kind of counting requires a memory (you got to know that you have just counted 3 to go to 4!). Hence 4029 can also be used as a memory element that remembers its immediate previous state.
8 9 10 11 12 13 14 15 16
Gnd Binary/Hex bar Up/Down bar count Output bit 1 Parallel input bit 1 Parallel input bit 2 Output bit 2 Clock pulse Vdd
4 5 6 7 8 915 16
BI /RBI RBI i/p D i/p A Gnd a-g as per the fig Vcc
Kept high to allow normal function Blanks 0 from being displayed Most significant bit(O3) of 4029s o/p 3rd bit(O2) of 4029s o/p For power The o/p pins to 7segment display For power
NOTE: The COM pins are to be connected to Vcc via 220 ohm resistor. Why resistor is required?? The dot pin is just for display of decimal point and essentially only makes the upper and lower sides distinguishable from each other for a single display. without the asymmetry produced by dot how will we be able to see which side is upper and which is lower?
6. Triac BT136
TRIAC is designed for economical mains power and lighting control. SCI 51 D is a bidirectional thyristor when triggered, it conducts in both directions and can be triggered by a positive or negative gate signal. A TRIAC is approximately equivalent to two complementary unilateral thyristors (one is anode triggered and another is cathode triggered SCR) joined in inverse parallel (paralleled but with the polarity reversed) and with their gates connected together. .
It can be triggered by either a positive or a negative voltage being applied to its gate electrode (with respect to A1, otherwise known as MT1). Once triggered, the device continues to conduct until the current through it drops below a certain threshold value, the holding current, such as at the end of a half-cycle of alternating current (AC) mains power. This makes the TRIAC a very convenient switch for AC circuits, allowing the control of very large power flows with milliampere-scale control currents. In addition, applying a trigger pulse at a controllable point in an AC cycle allows one to control the percentage of current that flows through the TRIAC to the load. Low power TRIACs are used in many applications such as light dimmers, speed controls for electric fans and other electric motors, and in the modern computerized control circuits of many household small and major appliances
7. Motor Drivers
7.1 H- Bridge:
It is an electronic circuit which enables a voltage to be applied across a load in either direction. It allows a circuit full control over a standard electric DC motor. That is, with an H-bridge, a microcontroller, logic chip, or remote control can electronically command the motor to go forward, reverse, brake, and coast. H-bridges are available as integrated circuits, or can be built from discrete components. A "double pole double throw" relay can generally achieve the same electrical functionality as an H-bridge, but an H-bridge would be preferable where a smaller physical size is needed, high speed switching, low driving voltage, or where the wearing out of mechanical parts is undesirable. The term "H-bridge" is derived from the typical graphical representation of such a circuit, which is built with four switches, either solid-state (eg, L293/ L298) or mechanical (eg, relays).
S1 1
S2 0
S3 0
S4 1
0 0 1
0 1 0
0 0 1
0 1 0
Result Motor rotates in one direction Motor rotates in opposite direction Motor free runs (coasts) Motor brakes Motor brakes
Possible states of 4 bridges To power the motor, you turn on two switches that are diagonally opposed.
Figure 3: L293D
Figure 2: L298
The current provided by the MCU is of the order of 5mA and that required by a motor is ~500mA. Hence, motor cant be controlled directly by MCU and we need an interface between the MCU and the motor. A Motor Driver IC like L293D or L298 is used for this purpose which has two H-bridge drivers. Hence, each IC can drive two motors. Note that a motor driver does not amplify the current; it only acts as a switch (An H bridge is nothing but 4 switches).
Drivers are enabled in pairs, with drivers 1 and 2 being enabled by the Enable pin. When an enable input is high (logic 1 or +5V), the associated drivers are enabled and their outputs are active and in phase with their inputs. When the enable pin is low, the output is neither high nor low (disconnected), irrespective of the input. Direction of the motor is controlled by asserting one of the inputs to motor to be high (logic 1) and the other to be low (logic 0). To move the motor in opposite direction just interchange the logic applied to the two inputs of the motors. Asserting both inputs to logic high or logic low will stop the motor. Resistance of our motors is about 26 ohms i.e. its short circuit current will be around. 0.46Amp which is below the maximum current limit. It is always better to use high capacitance (~1000F) in the output line of a motor driver which acts as a small battery at times of current surges and hence improves battery life.