Electrical & Electronics

Thinking… Learning… & Doing…


Posted by chyelim on February 19, 2008

Basic Components - Transistors

Function

transistors Transistors amplify current, for example they can be used to amplify the small output current from a logic chip so that it can operate a lamp, relay or other high current device. In many circuits a resistor is used to convert the changing current to a changing voltage, so the transistor is being used to amplify voltage. A transistor may be used as a switch (either fully on with maximum current, or fully off with no current) and as an amplifier (always partly on).

The amount of current amplification is called the current gain, symbol hFE.
For further information please see the Transistor Circuits page.


Types of transistor

NPN and PNP transistor symbols
Transistor circuit symbols

There are two types of standard transistors, NPN and PNP, with different circuit symbols. The letters refer to the layers of semiconductor material used to make the transistor. Most transistors used today are NPN because this is the easiest type to make from silicon. If you are new to electronics it is best to start by learning how to use NPN transistors. The leads are labelled base (B), collector (C) and emitter (E).
These terms refer to the internal operation of a transistor but they are not much help in understanding how a transistor is used, so just treat them as labels!

A Darlington pair is two transistors connected together to give a very high current gain.

In addition to standard (bipolar junction) transistors, there are field-effect transistors which are usually referred to as FETs. They have different circuit symbols and properties and they are not (yet) covered by this page.


Transistor leads
Transistor leads for some common case styles.

Connecting

Transistors have three leads which must be connected the correct way round. Please take care with this because a wrongly connected transistor may be damaged instantly when you switch on. If you are lucky the orientation of the transistor will be clear from the PCB or stripboard layout diagram, otherwise you will need to refer to a supplier’s catalogue to identify the leads.

The drawings on the right show the leads for some of the most common case styles.

Please note that transistor lead diagrams show the view from below with the leads towards you. This is the opposite of IC (chip) pin diagrams which show the view from above.

Please see below for a table showing the case styles of some common transistors.


Crocodile clip, photograph © Rapid Electronics
Crocodile clip
Photograph © Rapid Electronics.

Soldering

Transistors can be damaged by heat when soldering so if you are not an expert it is wise to use a heat sink clipped to the lead between the joint and the transistor body. A standard crocodile clip can be used as a heat sink. Do not confuse this temporary heat sink with the permanent heat sink (described below) which may be required for a power transistor to prevent it overheating during operation.


Heat sink
Heat sinkPhotograph © Rapid Electronics

Heat sinks

Waste heat is produced in transistors due to the current flowing through them. Heat sinks are needed for power transistors because they pass large currents. If you find that a transistor is becoming too hot to touch it certainly needs a heat sink! The heat sink helps to dissipate (remove) the heat by transferring it to the surrounding air. For further information please see the Heat sinks page.


Testing a transistor

Transistors can be damaged by heat when soldering or by misuse in a circuit. If you suspect that a transistor may be damaged there are two easy ways to test it:

testing a transistor
Testing an NPN transistor

1. Testing with a multimeter

Use a multimeter or a simple tester (battery, resistor and LED) to check each pair of leads for conduction. Set a digital multimeter to diode test and an analogue multimeter to a low resistance range. Test each pair of leads both ways (six tests in total):

  • The base-emitter (BE) junction should behave like a diode and conduct one way only.
  • The base-collector (BC) junction should behave like a diode and conduct one way only.
  • The collector-emitter (CE) should not conduct either way.

The diagram shows how the junctions behave in an NPN transistor. The diodes are reversed in a PNP transistor but the same test procedure can be used.

testing a transistor
A simple switching circuit
to test an NPN transistor

2. Testing in a simple switching circuit

Connect the transistor into the circuit shown on the right which uses the transistor as a switch. The supply voltage is not critical, anything between 5 and 12V is suitable. This circuit can be quickly built on breadboard for example. Take care to include the 10kohm resistor in the base connection or you will destroy the transistor as you test it! If the transistor is OK the LED should light when the switch is pressed and not light when the switch is released.

To test a PNP transistor use the same circuit but reverse the LED and the supply voltage.

Some multimeters have a ‘transistor test’ function which provides a known base current and measures the collector current so as to display the transistor’s DC current gain hFE.


Transistor codes

There are three main series of transistor codes used in the UK:

  • Codes beginning with B (or A), for example BC108, BC478
    The first letter B is for silicon, A is for germanium (rarely used now). The second letter indicates the type; for example C means low power audio frequency; D means high power audio frequency; F means low power high frequency. The rest of the code identifies the particular transistor. There is no obvious logic to the numbering system. Sometimes a letter is added to the end (eg BC108C) to identify a special version of the main type, for example a higher current gain or a different case style. If a project specifies a higher gain version (BC108C) it must be used, but if the general code is given (BC108) any transistor with that code is suitable.
  • Codes beginning with TIP, for example TIP31A
    TIP refers to the manufacturer: Texas Instruments Power transistor. The letter at the end identifies versions with different voltage ratings.
  • Codes beginning with 2N, for example 2N3053
    The initial ‘2N’ identifies the part as a transistor and the rest of the code identifies the particular transistor. There is no obvious logic to the numbering system.

Choosing a transistor

Most projects will specify a particular transistor, but if necessary you can usually substitute an equivalent transistor from the wide range available. The most important properties to look for are the maximum collector current IC and the current gain hFE. To make selection easier most suppliers group their transistors in categories determined either by their typical use or maximum power rating. To make a final choice you will need to consult the tables of technical data which are normally provided in catalogues. They contain a great deal of useful information but they can be difficult to understand if you are not familiar with the abbreviations used. The table below shows the most important technical data for some popular transistors, tables in catalogues and reference books will usually show additional information but this is unlikely to be useful unless you are experienced. The quantities shown in the table are explained below.

NPN transistors
Code Structure Case
style
IC
max.
VCE
max.
hFE
min.
Ptot
max.
Category
(typical use)
Possible
substitutes
BC107 NPN TO18 100mA 45V 110 300mW Audio, low power BC182 BC547
BC108 NPN TO18 100mA 20V 110 300mW General purpose, low power BC108C BC183 BC548
BC108C NPN TO18 100mA 20V 420 600mW General purpose, low power
BC109 NPN TO18 200mA 20V 200 300mW Audio (low noise), low power BC184 BC549
BC182 NPN TO92C 100mA 50V 100 350mW General purpose, low power BC107 BC182L
BC182L NPN TO92A 100mA 50V 100 350mW General purpose, low power BC107 BC182
BC547B NPN TO92C 100mA 45V 200 500mW Audio, low power BC107B
BC548B NPN TO92C 100mA 30V 220 500mW General purpose, low power BC108B
BC549B NPN TO92C 100mA 30V 240 625mW Audio (low noise), low power BC109
2N3053 NPN TO39 700mA 40V 50 500mW General purpose, low power BFY51
BFY51 NPN TO39 1A 30V 40 800mW General purpose, medium power BC639
BC639 NPN TO92A 1A 80V 40 800mW General purpose, medium power BFY51
TIP29A NPN TO220 1A 60V 40 30W General purpose, high power
TIP31A NPN TO220 3A 60V 10 40W General purpose, high power TIP31C TIP41A
TIP31C NPN TO220 3A 100V 10 40W General purpose, high power TIP31A TIP41A
TIP41A NPN TO220 6A 60V 15 65W General purpose, high power
2N3055 NPN TO3 15A 60V 20 117W General purpose, high power
Please note: the data in this table was compiled from several sources which are not entirely consistent! Most of the discrepancies are minor, but please consult information from your supplier if you require precise data.
PNP transistors
Code Structure Case
style
IC
max.
VCE
max.
hFE
min.
Ptot
max.
Category
(typical use)
Possible
substitutes
BC177 PNP TO18 100mA 45V 125 300mW Audio, low power BC477
BC178 PNP TO18 200mA 25V 120 600mW General purpose, low power BC478
BC179 PNP TO18 200mA 20V 180 600mW Audio (low noise), low power
BC477 PNP TO18 150mA 80V 125 360mW Audio, low power BC177
BC478 PNP TO18 150mA 40V 125 360mW General purpose, low power BC178
TIP32A PNP TO220 3A 60V 25 40W General purpose, high power TIP32C
TIP32C PNP TO220 3A 100V 10 40W General purpose, high power TIP32A
Please note: the data in this table was compiled from several sources which are not entirely consistent! Most of the discrepancies are minor, but please consult information from your supplier if you require precise data.

Structure This shows the type of transistor, NPN or PNP. The polarities of the two types are different, so if you are looking for a substitute it must be the same type.

Darlington pair

Darlington pair This is two transistors connected together so that the amplified current from the first is amplified further by the second transistor. This gives the Darlington pair a very high current gain such as 10000. Darlington pairs are sold as complete packages containing the two transistors. They have three leads (B, C and E) which are equivalent to the leads of a standard individual transistor. You can make up your own Darlington pair from two transistors.
For example:

  • For TR1 use BC548B with hFE1 = 220.
  • For TR2 use BC639 with hFE2 = 40.

The overall gain of this pair is hFE1 × hFE2 = 220 × 40 = 8800.
The pair’s maximum collector current IC(max) is the same as TR2.

Article from: © John Hewes 2007, The Electronics Club, www.kpsec.freeuk.com


Posted by chyelim on February 19, 2008

Basic Components - Variable Resistors

Construction

variable resistor track and wiper
variable resistor
Standard Variable Resistor
Photograph © Rapid Electronics

Variable resistors consist of a resistance track with connections at both ends and a wiper which moves along the track as you turn the spindle. The track may be made from carbon, cermet (ceramic and metal mixture) or a coil of wire (for low resistances). The track is usually rotary but straight track versions, usually called sliders, are also available. Variable resistors may be used as a rheostat with two connections (the wiper and just one end of the track) or as a potentiometer with all three connections in use. Miniature versions called presets are made for setting up circuits which will not require further adjustment.

Variable resistors are often called potentiometers in books and catalogues. They are specified by their maximum resistance, linear or logarithmic track, and their physical size. The standard spindle diameter is 6mm.

The resistance and type of track are marked on the body:
4K7 LIN means 4.7 kohm linear track.
1M LOG means 1 Mohm logarithmic track.

Some variable resistors are designed to be mounted directly on the circuit board, but most are for mounting through a hole drilled in the case containing the circuit with stranded wire connecting their terminals to the circuit board.


Linear (LIN) and Logarithmic (LOG) tracks

Linear (LIN) track means that the resistance changes at a constant rate as you move the wiper. This is the standard arrangement and you should assume this type is required if a project does not specify the type of track. Presets always have linear tracks. Logarithmic (LOG) track means that the resistance changes slowly at one end of the track and rapidly at the other end, so halfway along the track is not half the total resistance! This arrangement is used for volume (loudness) controls because the human ear has a logarithmic response to loudness so fine control (slow change) is required at low volumes and coarser control (rapid change) at high volumes. It is important to connect the ends of the track the correct way round, if you find that turning the spindle increases the volume rapidly followed by little further change you should swap the connections to the ends of the track.


Rheostat

rheostat symbol
Rheostat Symbol

This is the simplest way of using a variable resistor. Two terminals are used: one connected to an end of the track, the other to the moveable wiper. Turning the spindle changes the resistance between the two terminals from zero up to the maximum resistance. Rheostats are often used to vary current, for example to control the brightness of a lamp or the rate at which a capacitor charges.

If the rheostat is mounted on a printed circuit board you may find that all three terminals are connected! However, one of them will be linked to the wiper terminal. This improves the mechanical strength of the mounting but it serves no function electrically.


Potentiometer

potentiometer symbol
Potentiometer Symbol

Variable resistors used as potentiometers have all three terminals connected. This arrangement is normally used to vary voltage, for example to set the switching point of a circuit with a sensor, or control the volume (loudness) in an amplifier circuit. If the terminals at the ends of the track are connected across the power supply then the wiper terminal will provide a voltage which can be varied from zero up to the maximum of the supply.


Presets

preset symbol
Preset Symbol

These are miniature versions of the standard variable resistor. They are designed to be mounted directly onto the circuit board and adjusted only when the circuit is built. For example to set the frequency of an alarm tone or the sensitivity of a light-sensitive circuit. A small screwdriver or similar tool is required to adjust presets. Presets are much cheaper than standard variable resistors so they are sometimes used in projects where a standard variable resistor would normally be used.

Multiturn presets are used where very precise adjustments must be made. The screw must be turned many times (10+) to move the slider from one end of the track to the other, giving very fine control.

preset presets multiturn preset
Preset
(open style)
Presets
(closed style)
Multiturn preset
Photographs © Rapid Electronics

Article from: © John Hewes 2007, The Electronics Club, www.kpsec.freeuk.com


Posted by chyelim on February 19, 2008

Basic Components - Relays

relay symbol
Circuit symbol for a relay
Relay, photograph © Rapid Electronics
Relay, photograph © Rapid Electronics
RelaysPhotographs © Rapid Electronics
working relay
Relay showing coil and switch contact

Article from: © John Hewes 2007, The Electronics Club, www.kpsec.freeuk.com

A relay is an electrically operated switch. Current flowing through the coil of the relay creates a magnetic field which attracts a lever and changes the switch contacts. The coil current can be on or off so relays have two switch positions and they are double throw (changeover) switches.

Relays allow one circuit to switch a second circuit which can be completely separate from the first. For example a low voltage battery circuit can use a relay to switch a 230V AC mains circuit. There is no electrical connection inside the relay between the two circuits, the link is magnetic and mechanical.

The coil of a relay passes a relatively large current, typically 30mA for a 12V relay, but it can be as much as 100mA for relays designed to operate from lower voltages. Most ICs (chips) cannot provide this current and a transistor is usually used to amplify the small IC current to the larger value required for the relay coil. The maximum output current for the popular 555 timer IC is 200mA so these devices can supply relay coils directly without amplification.

Relays are usuallly SPDT or DPDT but they can have many more sets of switch contacts, for example relays with 4 sets of changeover contacts are readily available. For further information about switch contacts and the terms used to describe them please see the page on switches.

Most relays are designed for PCB mounting but you can solder wires directly to the pins providing you take care to avoid melting the plastic case of the relay.

The supplier’s catalogue should show you the relay’s connections. The coil will be obvious and it may be connected either way round. Relay coils produce brief high voltage ’spikes’ when they are switched off and this can destroy transistors and ICs in the circuit. To prevent damage you must connect a protection diode across the relay coil.

The animated picture shows a working relay with its coil and switch contacts. You can see a lever on the left being attracted by magnetism when the coil is switched on. This lever moves the switch contacts. There is one set of contacts (SPDT) in the foreground and another behind them, making the relay DPDT.


The relay’s switch connections are usually labelled COM, NC and NO:

  • COM = Common, always connect to this, it is the moving part of the switch.
  • NC = Normally Closed, COM is connected to this when the relay coil is off.
  • NO = Normally Open, COM is connected to this when the relay coil is on.
  • Connect to COM and NO if you want the switched circuit to be on when the relay coil is on.
  • Connect to COM and NC if you want the switched circuit to be on when the relay coil is off.

Choosing a relay

You need to consider several features when choosing a relay:

  1. Physical size and pin arrangement
    If you are choosing a relay for an existing PCB you will need to ensure that its dimensions and pin arrangement are suitable. You should find this information in the supplier’s catalogue.
  2. Coil voltage
    The relay’s coil voltage rating and resistance must suit the circuit powering the relay coil. Many relays have a coil rated for a 12V supply but 5V and 24V relays are also readily available. Some relays operate perfectly well with a supply voltage which is a little lower than their rated value.
  3. Coil resistance
    The circuit must be able to supply the current required by the relay coil. You can use Ohm’s law to calculate the current:

    Relay coil current = supply voltage
    coil resistance

    For example: A 12V supply relay with a coil resistance of 400ohm passes a current of 30mA. This is OK for a 555 timer IC (maximum output current 200mA), but it is too much for most ICs and they will require a transistor to amplify the current.

  4. Switch ratings (voltage and current)
    The relay’s switch contacts must be suitable for the circuit they are to control. You will need to check the voltage and current ratings. Note that the voltage rating is usually higher for AC, for example: “5A at 24V DC or 125V AC”.
  5. Switch contact arrangement (SPDT, DPDT etc)
    Most relays are SPDT or DPDT which are often described as “single pole changeover” (SPCO) or “double pole changeover” (DPCO). For further information please see the page on switches.

Protection diodes for relays

Protection diode for a relay Transistors and ICs (chips) must be protected from the brief high voltage ’spike’ produced when the relay coil is switched off. The diagram shows how a signal diode (eg 1N4148) is connected across the relay coil to provide this protection. Note that the diode is connected ‘backwards’ so that it will normally not conduct. Conduction only occurs when the relay coil is switched off, at this moment current tries to continue flowing through the coil and it is harmlessly diverted through the diode. Without the diode no current could flow and the coil would produce a damaging high voltage ’spike’ in its attempt to keep the current flowing.


Reed relays

Reed Relay, photograph © Rapid Electronics
Reed RelayPhotograph © Rapid Electronics

Reed relays consist of a coil surrounding a reed switch. Reed switches are normally operated with a magnet, but in a reed relay current flows through the coil to create a magnetic field and close the reed switch. Reed relays generally have higher coil resistances than standard relays (1000ohm for example) and a wide range of supply voltages (9-20V for example). They are capable of switching much more rapidly than standard relays, up to several hundred times per second; but they can only switch low currents (500mA maximum for example).

The reed relay shown in the photograph will plug into a standard 14-pin DIL socket (’chip holder’).

For further information about reed switches please see the page on switches.


Relays and transistors compared

Like relays, transistors can be used as an electrically operated switch. For switching small DC currents (< 1A) at low voltage they are usually a better choice than a relay. However transistors cannot switch AC or high voltages (such as mains electricity) and they are not usually a good choice for switching large currents (> 5A). In these cases a relay will be needed, but note that a low power transistor may still be needed to switch the current for the relay’s coil! The main advantages and disadvantages of relays are listed below: Advantages of relays:

  • Relays can switch AC and DC, transistors can only switch DC.
  • Relays can switch high voltages, transistors cannot.
  • Relays are a better choice for switching large currents (> 5A).
  • Relays can switch many contacts at once.

Disadvantages of relays:

  • Relays are bulkier than transistors for switching small currents.
  • Relays cannot switch rapidly (except reed relays), transistors can switch many times per second.
  • Relays use more power due to the current flowing through their coil.
  • Relays require more current than many chips can provide, so a low power transistor may be needed to switch the current for the relay’s coil.

Posted by chyelim on February 19, 2008

Basic Components - Capacitors

Article from: © John Hewes 2007, The Electronics Club, www.kpsec.freeuk.com

Function

Capacitors store electric charge. They are used with resistors in timing circuits because it takes time for a capacitor to fill with charge. They are used to smooth varying DC supplies by acting as a reservoir of charge. They are also used in filter circuits because capacitors easily pass AC (changing) signals but they block DC (constant) signals.


Capacitance

This is a measure of a capacitor’s ability to store charge. A large capacitance means that more charge can be stored. Capacitance is measured in farads, symbol F. However 1F is very large, so prefixes are used to show the smaller values. Three prefixes (multipliers) are used, µ (micro), n (nano) and p (pico):

  • µ means 10-6 (millionth), so 1000000µF = 1F
  • n means 10-9 (thousand-millionth), so 1000nF = 1µF
  • p means 10-12 (million-millionth), so 1000pF = 1nF

Capacitor values can be very difficult to find because there are many types of capacitor with different labelling systems!

There are many types of capacitor but they can be split into two groups, polarised and unpolarised. Each group has its own circuit symbol.


Polarised capacitors (large values, 1µF +)

Examples: electrolytic capacitors Circuit symbol: electrolytic capacitor symbol

Electrolytic Capacitors

Electrolytic capacitors are polarised and they must be connected the correct way round, at least one of their leads will be marked + or -. They are not damaged by heat when soldering. There are two designs of electrolytic capacitors; axial where the leads are attached to each end (220µF in picture) and radial where both leads are at the same end (10µF in picture). Radial capacitors tend to be a little smaller and they stand upright on the circuit board.

It is easy to find the value of electrolytic capacitors because they are clearly printed with their capacitance and voltage rating. The voltage rating can be quite low (6V for example) and it should always be checked when selecting an electrolytic capacitor. It the project parts list does not specify a voltage, choose a capacitor with a rating which is greater than the project’s power supply voltage. 25V is a sensible minimum for most battery circuits.

Tantalum Bead Capacitors

Tantalum bead capacitors are polarised and have low voltage ratings like electrolytic capacitors. They are expensive but very small, so they are used where a large capacitance is needed in a small size. Modern tantalum bead capacitors are printed with their capacitance, voltage and polarity in full. However older ones use a colour-code system which has two stripes (for the two digits) and a spot of colour for the number of zeros to give the value in µF. The standard colour code is used, but for the spot, grey is used to mean × 0.01 and white means × 0.1 so that values of less than 10µF can be shown. A third colour stripe near the leads shows the voltage (yellow 6.3V, black 10V, green 16V, blue 20V, grey 25V, white 30V, pink 35V). The positive (+) lead is to the right when the spot is facing you: ‘when the spot is in sight, the positive is to the right‘. tantalum bead capacitors

For example: blue, grey, black spot means 68µF
For example: blue, grey, white spot means 6.8µF
For example: blue, grey, grey spot means 0.68µF


Unpolarised capacitors (small values, up to 1µF)

Examples: small value capacitors Circuit symbol: capacitor symbol Small value capacitors are unpolarised and may be connected either way round. They are not damaged by heat when soldering, except for one unusual type (polystyrene). They have high voltage ratings of at least 50V, usually 250V or so. It can be difficult to find the values of these small capacitors because there are many types of them and several different labelling systems!

100nF capacitor Many small value capacitors have their value printed but without a multiplier, so you need to use experience to work out what the multiplier should be!

For example 0.1 means 0.1µF = 100nF.

Sometimes the multiplier is used in place of the decimal point:
For example: 4n7 means 4.7nF.

Capacitor Number Code

A number code is often used on small capacitors where printing is difficult: 1nF capacitor

  • the 1st number is the 1st digit,
  • the 2nd number is the 2nd digit,
  • the 3rd number is the number of zeros to give the capacitance in pF.
  • Ignore any letters - they just indicate tolerance and voltage rating.

For example: 102 means 1000pF = 1nF (not 102pF!) For example: 472J means 4700pF = 4.7nF (J means 5% tolerance).

Colour Code
Colour Number
Black
0
Brown
1
Red
2
Orange
3
Yellow
4
Green
5
Blue
6
Violet
7
Grey
8
White
9

Capacitor Colour Code

A colour code was used on polyester capacitors for many years. It is now obsolete, but of course there are many still around. The colours should be read like the resistor code, the top three colour bands giving the value in pF. Ignore the 4th band (tolerance) and 5th band (voltage rating). 10nF and 220nF capacitors For example:

brown, black, orange means 10000pF = 10nF = 0.01µF.

Note that there are no gaps between the colour bands, so 2 identical bands actually appear as a wide band.

For example:

wide red, yellow means 220nF = 0.22µF.

Polystyrene Capacitors

polystyrene capacitor This type is rarely used now. Their value (in pF) is normally printed without units. Polystyrene capacitors can be damaged by heat when soldering (it melts the polystyrene!) so you should use a heat sink (such as a crocodile clip). Clip the heat sink to the lead between the capacitor and the joint.


Real capacitor values (the E3 and E6 series)

You may have noticed that capacitors are not available with every possible value, for example 22µF and 47µF are readily available, but 25µF and 50µF are not! Why is this? Imagine that you decided to make capacitors every 10µF giving 10, 20, 30, 40, 50 and so on. That seems fine, but what happens when you reach 1000? It would be pointless to make 1000, 1010, 1020, 1030 and so on because for these values 10 is a very small difference, too small to be noticeable in most circuits and capacitors cannot be made with that accuracy.

To produce a sensible range of capacitor values you need to increase the size of the ’step’ as the value increases. The standard capacitor values are based on this idea and they form a series which follows the same pattern for every multiple of ten.

The E3 series (3 values for each multiple of ten)
10, 22, 47, … then it continues 100, 220, 470, 1000, 2200, 4700, 10000 etc.
Notice how the step size increases as the value increases (values roughly double each time).

The E6 series (6 values for each multiple of ten)
10, 15, 22, 33, 47, 68, … then it continues 100, 150, 220, 330, 470, 680, 1000 etc.
Notice how this is the E3 series with an extra value in the gaps.

The E3 series is the one most frequently used for capacitors because many types cannot be made with very accurate values.


Variable capacitors

variable capacitor symbol
Variable Capacitor Symbol
variable capacitor
Variable Capacitor
Photograph © Rapid Electronics

Variable capacitors are mostly used in radio tuning circuits and they are sometimes called ‘tuning capacitors’. They have very small capacitance values, typically between 100pF and 500pF (100pF = 0.0001µF). The type illustrated usually has trimmers built in (for making small adjustments - see below) as well as the main variable capacitor. Many variable capacitors have very short spindles which are not suitable for the standard knobs used for variable resistors and rotary switches. It would be wise to check that a suitable knob is available before ordering a variable capacitor.

Variable capacitors are not normally used in timing circuits because their capacitance is too small to be practical and the range of values available is very limited. Instead timing circuits use a fixed capacitor and a variable resistor if it is necessary to vary the time period.


Trimmer capacitors

trimmer capacitor symbol
Trimmer Capacitor Symbol
trimmer capacitor
Trimmer Capacitor
Photograph © Rapid Electronics

Trimmer capacitors (trimmers) are miniature variable capacitors. They are designed to be mounted directly onto the circuit board and adjusted only when the circuit is built. A small screwdriver or similar tool is required to adjust trimmers. The process of adjusting them requires patience because the presence of your hand and the tool will slightly change the capacitance of the circuit in the region of the trimmer!

Trimmer capacitors are only available with very small capacitances, normally less than 100pF. It is impossible to reduce their capacitance to zero, so they are usually specified by their minimum and maximum values, for example 2-10pF.

Trimmers are the capacitor equivalent of presets which are miniature variable resistors.


Posted by chyelim on February 19, 2008

Basic Components - Diodes

Article from : © John Hewes 2007, The Electronics Club, www.kpsec.freeuk.com

Example: Diodes Circuit symbol: Diode circuit symbol

Function

Diode characteristic Diodes allow electricity to flow in only one direction. The arrow of the circuit symbol shows the direction in which the current can flow. Diodes are the electrical version of a valve and early diodes were actually called valves.

Forward Voltage Drop

Electricity uses up a little energy pushing its way through the diode, rather like a person pushing through a door with a spring. This means that there is a small voltage across a conducting diode, it is called the forward voltage drop and is about 0.7V for all normal diodes which are made from silicon. The forward voltage drop of a diode is almost constant whatever the current passing through the diode so they have a very steep characteristic (current-voltage graph).

Reverse Voltage

When a reverse voltage is applied a perfect diode does not conduct, but all real diodes leak a very tiny current of a few µA or less. This can be ignored in most circuits because it will be very much smaller than the current flowing in the forward direction. However, all diodes have a maximum reverse voltage (usually 50V or more) and if this is exceeded the diode will fail and pass a large current in the reverse direction, this is called breakdown. Ordinary diodes can be split into two types: Signal diodes which pass small currents of 100mA or less and Rectifier diodes which can pass large currents. In addition there are LEDs (which have their own page) and Zener diodes (at the bottom of this page).


Connecting and soldering

Diode connections Diodes must be connected the correct way round, the diagram may be labelled a or + for anode and k or - for cathode (yes, it really is k, not c, for cathode!). The cathode is marked by a line painted on the body. Diodes are labelled with their code in small print, you may need a magnifying glass to read this on small signal diodes! Small signal diodes can be damaged by heat when soldering, but the risk is small unless you are using a germanium diode (codes beginning OA…) in which case you should use a heat sink clipped to the lead between the joint and the diode body. A standard crocodile clip can be used as a heat sink.

Rectifier diodes are quite robust and no special precautions are needed for soldering them.


Testing diodes

You can use a multimeter or a simple tester (battery, resistor and LED) to check that a diode conducts in one direction but not the other. A lamp may be used to test a rectifier diode, but do NOT use a lamp to test a signal diode because the large current passed by the lamp will destroy the diode!


Signal diodes (small current)

Signal diodes are used to process information (electrical signals) in circuits, so they are only required to pass small currents of up to 100mA. General purpose signal diodes such as the 1N4148 are made from silicon and have a forward voltage drop of 0.7V.

Germanium diodes such as the OA90 have a lower forward voltage drop of 0.2V and this makes them suitable to use in radio circuits as detectors which extract the audio signal from the weak radio signal.

For general use, where the size of the forward voltage drop is less important, silicon diodes are better because they are less easily damaged by heat when soldering, they have a lower resistance when conducting, and they have very low leakage currents when a reverse voltage is applied.

Protection diode for a relay

Protection diodes for relays

Signal diodes are also used with relays to protect transistors and integrated circuits from the brief high voltage produced when the relay coil is switched off. The diagram shows how a protection diode is connected across the relay coil, note that the diode is connected ‘backwards’ so that it will normally NOT conduct. Conduction only occurs when the relay coil is switched off, at this moment current tries to continue flowing through the coil and it is harmlessly diverted through the diode. Without the diode no current could flow and the coil would produce a damaging high voltage ’spike’ in its attempt to keep the current flowing.


Diode Maximum
Current
Maximum
Reverse
Voltage
1N4001 1A 50V
1N4002 1A 100V
1N4007 1A 1000V
1N5401 3A 100V
1N5408 3A 1000V

Rectifier diodes (large current)

Rectifier diodes are used in power supplies to convert alternating current (AC) to direct current (DC), a process called rectification. They are also used elsewhere in circuits where a large current must pass through the diode. All rectifier diodes are made from silicon and therefore have a forward voltage drop of 0.7V. The table shows maximum current and maximum reverse voltage for some popular rectifier diodes. The 1N4001 is suitable for most low voltage circuits with a current of less than 1A.

Also see: Power Supplies


Operation of a Bridge Rectifier

Bridge rectifiers

There are several ways of connecting diodes to make a rectifier to convert AC to DC. The bridge rectifier is one of them and it is available in special packages containing the four diodes required. Bridge rectifiers are rated by their maximum current and maximum reverse voltage. They have four leads or terminals: the two DC outputs are labelled + and -, the two AC inputs are labelled ~. The diagram shows the operation of a bridge rectifier as it converts AC to DC. Notice how alternate pairs of diodes conduct.

Also see: Power Supplies

Bridge Rectifier photograph © Rapid Electronics Bridge Rectifier photograph © Rapid Electronics Bridge Rectifier photograph © Rapid Electronics Bridge Rectifier photograph © Rapid Electronics Bridge Rectifier photograph © Rapid Electronics
Various types of Bridge Rectifiers
Note that some have a hole through their centre for attaching to a heat sinkPhotographs © Rapid Electronics

Zener diodes

Example: Zener diode Circuit symbol: Zener diode circuit symbol
a = anode, k = cathode Zener diode circuit Zener diodes are used to maintain a fixed voltage. They are designed to ‘breakdown’ in a reliable and non-destructive way so that they can be used in reverse to maintain a fixed voltage across their terminals. The diagram shows how they are connected, with a resistor in series to limit the current.

Zener diodes can be distinguished from ordinary diodes by their code and breakdown voltage which are printed on them. Zener diode codes begin BZX… or BZY… Their breakdown voltage is printed with V in place of a decimal point, so 4V7 means 4.7V for example.

Zener diodes are rated by their breakdown voltage and maximum power:

  • The minimum voltage available is 2.7V.
  • Power ratings of 400mW and 1.3W are common.

Posted by chyelim on April 25, 2007

Basic Components - Identifying resistors

Most axial resistors use a pattern of colored stripes to indicate resistance. Surface-mount ones are marked numerically. Cases are usually brown, blue, or green, though other colors are occasionally found such as dark red or dark gray.

One can use a multimeter or ohmmeter to test the values of a resistor.


Posted by Soony on April 1, 2007

Basic Components - Resistors

What is a Resistor?
 
A resistor is a electronic component that resists an electric current by producing a voltage drop between its terminals. It applies the law which is referred as Ohm’s law ‘ ’ The electrical resistance is equal to the voltage drop across the resistor divided by the current through the resistor. Resistors are widely used in electrical networks and electronic circuits
 

The symbols for resistor:
 

Resistor symbol

 

 

Conclusion: Resistor limits the electric current in the circuits.
 

How do you differentiate resistor?
 

Resistor is made out of four-band identification which is the most commonly used color coding scheme on all resistors. It consists of four colored bands that are painted around the body of the resistor. The scheme is simple: The first two numbers are the first two significant digits of the resistance value, the third is a multiplier (10 to the power of 0,1,2 and so on), and the fourth is the tolerance of the value. Each color corresponds to a certain number, shown in the chart below. The tolerance for a 4-band resistor will be ±5%,  ±10% or ±20%.
 

 Electric Component Tolerence
An electrical specification might call for a
resistor with a nominal value of 100 Ω (ohms), but will also state a tolerance such as “±5%”. This means that any resistor with a value in the range 99 Ω to 101 Ω is acceptable. For critical components, one might specify that the actual resistance must remain within tolerance within a specified temperature range, over a specified lifetime, and so on.
Many commercially available resistors and capacitors of standard types, and some small inductors, are often marked with coloured bands to indicate their value and the tolerance. High-precision components of non-standard values may have numerical information printed on them.
 
 

 

 

Conclusion: The value of resistor is determined by the colours on it.
 

Calculation of resistor
The relationship between voltage, current, and resistance through a metal wire, and some other materials, is given by a simple equation called Ohm’s Law:

where V is the voltage (or potential difference) across the wire in volts, I is the current(Ampere) through the wire in amperes, and R, in ohms, is a constant called the resistance—in fact this is only a simplification of the original Ohm’s. Materials that obey this law over a certain voltage or current range are said to be ohmic over that range. An ideal resistor obeys the law across all frequencies and amplitudes of voltage or current.

Series and parallel circuits

Resistors in a parallel configuration each have the same potential difference (voltage). To find their total equivalent resistance :

The parallel property can be represented in equations by two vertical lines “||” (as in geometry) to simplify equations. For two resistors,

The current through resistors in series stays the same, but the voltage across each resistor can be different. The sum of the potential differences (voltage) is equal to the total voltage. To find their total resistance:
 

A resistor network that is a combination of parallel and series can sometimes be broken up into smaller parts that are either one or the other. For instance,

However, many resistor networks cannot be split up in this way. Consider a cube, each edge of which has been replaced by a resistor. For example, determining the resistance between two opposite vertices requires matrix methods for the general case. However, if all twelve resistors are equal, the corner-to-corner resistance is 56 of any one of them.
Conclusion:     Parallel –   1/R(total) = 1/R1+ 1/R2
                        Series – R(total) = R1 + R2
                        Series plus Parallel – R(total) = (1/R1 +1/R2) +R3


Posted by chyelim on February 22, 2007

Basic Components - RESISTOR COLOUR CODES

RESISTORS WITH FOUR COLOURED BANDS

For traditional resistors there are usually FOUR coloured bands.  The first three bands will show the value of the resistor (the resistance) in Ohms.  The fourth coloured band indicates the tolorance of the resistor, that is how close the actual resistance may be to the value indicated.  A 1k Ohm (1000 Ohm) resistor with a 20% tolorance could have a value anywhere between 800 and 1200 Ohms.The tolorance band is sometimes spaced further apart from the other three bands, which helps when deciding which way round to read off the value, which is sometimes difficult to establish immediately.

 

RESISTORS WITH FIVE COLOURED BANDS

A number of resistors have FIVE coloured bands to indicate their resistance value and tolorance.  The first four bands indicate the value while the fifth band indicates the tolorance.  Again it is often difficult to tell which way round to read off the value, but the tolorance band is usually spaced a little further apart from the first four bands.

 

 

 

 

     

 

 

 


Posted by chyelim on February 22, 2007

Basic Components - Finding the Value of a Resistor by Color Codes

To calculate the value of a resistor using the color coded stripes on the resistor, use the following procedure.

Step One:

Turn the resistor so that the gold or silver stripe is at the right end of the resistor.

Step Two:

Look at the color of the first two stripes on the left end. These correspond to the first two digits of the resistor value. Use the table below to determine the first two digits.

Step Three:

Look at the third stripe from the left. This corresponds to a multiplication value. Find the value using the table below.

Step Four:

Multiply the two digit number from step two by the number from step three. This is the value of the resistor in ohms. The fourth stripe indicates the accuracy of the resistor. A gold stripe means the value of the resistor may vary by 5% from the value given by the stripes.
 

 

Resistor Color Codes (with gold or silver strip on right end)
    

Color Color First Stripe Second Stripe Third Stripe Fourth Stripe
Black 
0
0
x1
 
Brown 
1
1
x10
 
Red 
2
2
x100
 
Orange
3
3
x1,000
 
Yellow
4
4
x10,000
 
Green
5
5
x100,000
 
Blue
6
6
x1,000,000
 
Purple
7
7
   
Gray
8
8
   
White  
9
9
   
Gold
      5%
Silver
      10%

 

Follow the procedure above with the examples below and soon you will be able to quickly determine the value of a resistor by just a glance at the color coded stripes.
    

Example 1:

You are given a resistor whose stripes are colored from left to right as brown, black, orange, gold. Find the resistance value.

Step One: The gold stripe is on the right so go to Step Two.

Step Two: The first stripe is brown which has a value of 1. The second stripe is black which has a value of 0. Therefore, the first two digits of the resistance value are 10.

Step Three: The third stripe is orange which means x 1,000.

Step Four: The value of the resistance is found as 10 x 1000 = 10,000 ohms (10 kilo ohms = 10 k ohms). The gold stripe means the actual value of the resistor mar vary by 5% meaning the actual value will be somewhere between 9,500 ohms and 10,500 ohms. (Since 5% of 10,000 = 0.05 x 10,000 = 500)

Example 2:

You are given a resistor whose stripes are colored from left to right as orange, orange, brown, silver. Find the resistance value.

Step One: The silver stripe is on the right so go to Step Two.

Step Two: The first stripe is orange which has a value of 3. The second stripe is orange which has a value of 3. Therefore, the first two digits of the resistance value are 33.

Step Three: The third stripe is brown which means x 10.

Step Four: The value of the resistance is found as 33 x 10 = 330 ohms. The silver stripe means the actual value of the resistor mar vary by 10% meaning the actual value will be between 297 ohms and 363 ohms. (Since 10% of 330 = 0.10 x 330 = 33)

Example 3:

You are given a resistor whose stripes are colored from left to right as blue, gray, red, gold. Find the resistance value.

Step One: The gold stripe is on the right so go to Step Two.

Step Two: The first stripe is blue which has a value of 6. The second stripe is gray which has a value of 8. Therefore, the first two digits of the resistance value are 68.

Step Three: The third stripe is red which means x 100.

Step Four: The value of the resistance is found as 68 x 100 = 6800 ohms (6.8 kilo ohms = 6.8 k ohms). The gold stripe means the actual value of the resistor mar vary by 5% meaning the actual value will be somewhere between 6,460 ohms and 7,140 ohms. (Since 5% of 6,800 = 0.05 x 6,800 = 340)

Example 4:

You are given a resistor whose stripes are colored from left to right as green, brown, black, gold. Find the resistance value.

Step One: The gold stripe is on the right so go to Step Two.

Step Two: The first stripe is green which has a value of 5. The second stripe is brown which has a value of 1. Therefore, the first two digits of the resistance value are 51.

Step Three: The third stripe is black which means x 1.

Step Four: The value of the resistance is found as 51 x 1 = 51 ohms. The gold stripe means the actual value of the resistor mar vary by 5% meaning the actual value will be somewhere between 48.45 ohms and 53.55 ohms. (Since 5% of 51 = 0.05 x 51 = 2.55)

 

 


Posted by chyelim on February 22, 2007

Basic Components - Variable Resistors

Variable resistors are also common components. They have a dial or a knob that allows you to change the resistance. This is very useful for many situations. Volume controls are variable resistors. When you change the volume you are changing the resistance which changes the current. Making the resistance higher will let less current flow so the volume goes down. Making the resistance lower will let more current flow so the volume goes up. The value of a variable resistor is given as it’s highest resistance value. For example, a 500 ohm variable resistor can have a resistance of anywhere between 0 ohms and 500 ohms. A variable resistor may also be called a potentiometer (pot for short).