Basic Electronic Components
Basic Electronic Components
Basic Electronic Components
Components
A SIMPLE INTRODUCTION TO THE MOST COMMON COMPONENTS
USED IN ELECTRONICS
WWW.BUILD-ELECTRONIC-CIRCUITS.COM
Basic Electronic Components Used in Circuits
Table Of Contents
1. Light-Emitting Diode (LED) ..........................................................................3
2
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
A Light Emitting Diode – or LED for short – is a small component that lights up
when current flows through it.
Sometimes you use it for simple tasks like indicating that your circuit has power,
that the circuit is working or that the circuit has failed.
But you can also combine several LEDs to create simple 7-segment displays that
can display numbers or use them to make cool light decorations. If you combine
enough LEDs in a square, you can even use them to show images.
The LED exist in many different colors; Red, green, blue and many more.
There is also a special type of LED called RGB. This is an LED where a red, green and
blue LED has been combined into one package. The colors mix, so by controlling
the intensity of each of the three colors you can create a wide spectrum of diffe-
rent colors.
3
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
Figure 2: The symbol used in circuit diagrams for a Light-Emitting Diode (LED)
Example
To use an LED, you need to connect it in a circuit with a resistor, as shown in Figure
3.
4
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
The reason you need the resistor is to make sure the LED does not burn up. A com-
mon LED can only handle a very low current. If you don’t use a resistor to control
the current, your LED will quickly die and become unusable.
That’s next. Jump on over to the next page to learn what a resistor is.
5
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
The Resistor
You’ll see resistors everywhere. And as the name suggests, they resist the current.
But you are probably wondering:
You use the resistor to control the voltages and the currents in your circuit.
6
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
Let’s say you have a 9V battery and you want to turn on an LED. If you connect the
battery directly to the LED, LOTS of current will flow through the LED! Much more
than the LED can handle. So the LED will become very hot and burn out after a
short amount of time.
But – if you put a resistor in series with the LED, you can control how much current
is going through the LED.
7
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
Example
In Figure 7 you can see a common example of how a resistor is used to control the
current for protecting the LED.
Figure 7: A common way to use resistors is to control the current for an LED
A standard LED can only handle up to around 20-30 mA. If the current it much big-
ger than that, the LED will quickly die.
Let’s say the LED in the circuit above needs 15 mA to give a good light, and it has a
voltage drop of 2 volts. (These values should be specified by the supplier when you
buy an LED.)
If you have a 9 V battery that you would like to power it with, which resistor value
do you need?
The voltage specified for the LED is the voltage drop the LED will have under nor-
mal conditions. That means you know you will have 2V over the LED.
8
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
To find the resistor value, we start by finding the voltage drop over the resistor.
Since there is a 2-volt drop over the LED, there will be a 7V drop over the resistor
(9V - 2V equals 7V).
You have 7V over the resistor, and whatever amount of current flows through it will
also flow through the LED. So by setting the resistor value to a value that gives you
15 mA, you’ll also get 15 mA through the LED.
By placing your hand over the R in the Ohm’s law triangle, you get that Resistance
(R) equals voltage (V) divided by current (I). This means you get:
R = 7V / 0.015 A = 467Ω
470Ω is a standard value close enough, so by choosing this resistor value you deci-
de that the current flowing in your circuit is 15 mA.
9
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
The Switch
The switch is a component that connects one pin to another. For current to flow
through a circuit, there needs to be a path from the plus of the battery to the mi-
nus of the battery.
If you build a simple circuit with an LED and a resistor and connect this to a battery,
your LED will light up. If you disconnect the plus of the battery from the circuit, the
LED turns off.
The switch is nothing more than a way to connect and disconnect two or more
things. For example to make a light-switch. Or a keyboard.
Figure 9: The switch symbol comes in many forms. This is the pushbutton switch.
10
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
Example
In Figure 10, you can see how you can use a switch to turn on and off an LED.
Figure 10: In this circuit, the switch turns on the LED when pushed down
11
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
The Capacitor
You can think of a capacitor as a battery with very low capacity. You can charge and
discharge it, just like a battery.
You never need your capacitor to be polarized. But for larger values, the capacitors
are made with a material that makes them polarized. So, sometimes you don't
have any choice but to use a polarized one.
12
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
Example
By connecting a capacitor in parallel with a resistor and an LED, the capacitor can
store energy and use the energy after the battery is disconnected. This creates a
“fading out”-effect of the LED.
In Figure 13 you can see such a circuit. To build this circuit, you'll need a capacitor
of at least 1000µF to see the effect.
Figure 13: A circuit where the LED fades out because of the energy stored in the capacitor
13
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
The Transistor
This is the component that seems to be the hardest to understand when starting
out. At least it was for me.
Figure 15: A little bit of current flowing through the base of the transistor turns it ON
14
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
In Figure 15, you can see an illustration of how the transistor works:
It has three pins named base, collector, and emitter. If you have a small current
flowing from base to emitter, you turn it on. With no current, it is off. To get current
flowing you need about 0.7V from base to emitter (for this type of transistor).
Unlike a normal switch that only has two states (ON or OFF), the transistor can also
be “partly on” by controlling the current that goes through its base. A bit of current
on the base produces a current of maybe 100 times more (depending on the tran-
sistor) through the Collector and Emitter. You can use this effect to build an ampli-
fier.
Example
A simple example of using a transistor is for building a touch-sensor, like in Figure
17.
In this example, the transistor does not let any current flow through the LED and
resistor if there is no current flowing through the base. That means there is no light
in the LED.
When you touch your finger to the touch-pad (for example two metal pins), your
finger acts as a resistor, and lets a little bit of current flow down through the
base of the transistor. The transistor “opens its gate” and lets about 100 times the
amount of current flow through the LED and resistor, which makes the LED light
up.
15
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
Figure 17: A touch-sensor that turns on a light when you touch it.
16
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
The Inductor
An inductor is just a coil of wire. If you take a wire and wind it up into a coil, you
have created an inductor. When you apply a current through the coil, a magnetic
field is created around it, and this field stores energy.
When the current through the inductor stays the same, the inductor does nothing.
It just lets the current pass through, just like it was a normal wire.
But when the current through the inductor changes, the built-up energy in the
magnetic field will resist this change by changing the resistance of the inductor.
Resistance to change is a good thing for example to create a filter to reduce noise.
17
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
If the wire is wound around a magnetic core (for example iron), the magnetic field
becomes much stronger. A transformer is a component made up of two inductors
wound around the same magnetic core.
The transformer is a classical component used to reduce the voltage in power su-
pplies. If you constantly change the current through one inductor (the input), the
change in magnetic field is picked up by the other inductor (the output).
If the input inductor has 1000 windings, and the other inductor has only 100, then
the resulting voltage on the output inductor is ten times less than the input volta-
ge.
Example
Inductors are often used in filters and oscillators, for example in radio equipment.
But it’s hard to find a practical circuit example that is both simple and really de-
monstrates how an inductor works, without going into mathematical explanations.
18
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
Note: Not all metals are magnetic. For example, copper coins won’t be attracted to the
magnet.
19
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
An integrated circuit is any kind of circuit that is integrated onto a chip. It can be a
radio transmitter, a microcontroller, an audio amplifier or any other circuit you can
think of.
By making a circuit on a small chip, it’s much easier to make advanced projects.
Let’s say you want to make a tracking device for your car. You can find a GPS chip
for positioning, a GSM chip to send text messages, and a microcontroller chip to
control everything.
To figure out exactly what a specific IC does, you need to check its datasheet. The
datasheet is a document that comes with every IC. You can find the datasheet for
almost any IC by just searching for the chip name + “datasheet” in Google.
The datasheet explains what each of the pins does, how much voltage it needs,
and often contains an example circuit to show you how to connect it.
20
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
Figure 23: The symbol for an IC is often a box with pins. But it can also be the symbol of the func-
tion of the IC (like a logic gate or an operational amplifier).
Example
The 555 timer is a very useful and popular Integrated Circuit. You can use it to blink
a light, to create sound, to create a clock signal, add a countdown timer and a lot of
other things.
A simple example is to blink an LED. By carefully selecting the values of the capaci-
tor and resistors on the input side, you can control how fast the light should blink.
21
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
The circuit shown in Figure 24 will blink an LED about once per second.
The resistors R1 and R2, together with the capacitor C1, set the output frequency
of the output pin. The frequency is the number of times the output goes high per
second. So an output frequency of 5 Hz would mean the output goes high 5 times
per second.
You can find the output frequency of your circuit by using the following formula:
To find the frequency, just replace R1, R2, and C1 with the values you use, and put
it all into a calculator.
Let's say you have a circuit with the following component values:
R1 = 100 kΩ
R2 = 10 kΩ
C1 = 10 µF
The resistor values are in ohms, and the capacitance is in farads. That means R1 =
100 000Ω, R2 = 10 000Ω, and C1 = 0.00001 F.
According to this calculation, the output should turn on and off 1.2 times per se-
cond with those values.
22
www.build-electronic-circuits.com
Basic Electronic Components Used in Circuits
23
www.build-electronic-circuits.com