Everyone is an inventor and especially you!!
Alternating voltage
With an alternating voltage, each pole is alternately plus and minus. The electrons therefore run back and forth as the forces repelling and attracting them change sides.

Although alternating voltage can take various forms, it is often sinusoidal, as depicted in the above image. The number of changes per second is expressed as the frequency, f, measured in the unit of Hz.
Because alternating voltage is constantly changing, it is important to know exactly what the alternating voltage is doing at any given moment during measurements. We call this specific moment the phase. The phase is spans 360 degrees before the wave cycle repeats. Notably, the voltage across the poles is exactly 0V at 0, 180 and 360 degrees, while the voltage is at its maximum at 90 and 270 degrees. The distance between 0 and 360 degrees is exactly 1 wavelength, with λ as the symbol and meters as the unit of measurement. The highest voltage is called the amplitude, and the difference between the negative and positive amplitudes is called the peak-to-peak voltage or top/top voltage. The other units and values for alternating current are the same as those for direct voltage. Voltage is represented by the symbol U and the unit Volt. Current has the symbol I, and the unit A. As an example, in Europe, 230V AC at 50 Hz is supplied via the socket (AC stands for alternating current).
The effective value
The amplitude of an alternating voltage can be either positive or negative. This basically means that an alternating voltage is usually smaller than its amplitude. Let's suppose we connect an AC voltage with an amplitude of 10 V to a 1 ohm resistor. Given that power is P = U * I, the power should be 10 watts. In reality, though, this isn't quite right. Ultimately, the voltage is only equal to the amplitude for a brief period of time. For the majority of the time, the voltage is actually lower than the amplitude, which means the power is also lower. The graph of power follows the graph of voltage! A DC voltage of 10 V on a 1 ohm resistor produces 10 Watts continuously. This means that an alternating voltage with an amplitude of 10 V delivers much less power than a direct voltage of 10 V. You can see this in the following illustration.

The shaded part shows the power delivered by the DC voltage, and the red wave shows the power delivered by the AC voltage. The negative phase also delivers power, so it's visible as a positive wave. To deliver the same power as a given DC voltage, we need an alternating voltage with a higher peak-to-peak voltage. That is why, when we discuss AC voltage, we usually talk about the effective value of that alternating voltage (and current). The effective value of an alternating current is the value of the direct voltage that supplies the same power as the alternating voltage. See the formula: Veff = VAC/√2. The peak-to-peak voltage is therefore much higher than the effective voltage. For example, the peak-to-peak voltage of our 230 VAC (effective) is no less than ±325 V.

Alternating voltage has the advantage that it can be used for inductive transfer (see our section on coils and transformers). This makes it easy to transform alternating voltage into other voltages. And that is essential for the transport of energy (see the section on cable losses).
Using alternating current, we can also create electromagnetic waves. These travel at the speed of light through space and air, among other things, and are the basis of (almost) all wireless data transfer, such as Wi-Fi.
The propagation speed of an alternating current in a substance (such as iron or copper) has the symbol V (velocity) and the unit of meters per second.
You can find the wavelength λ by dividing the propagation speed V by the number of vibrations per second f:

Since the speed of propagation through different substances is different, the wavelength will change if the vibration moves through another substance. This also applies to electromagnetic waves. 
Analogue
Everything in nature is analogue. A sound can get louder or softer without hearing “steps” between each change. The value changes smoothly. The same is true with light intensity and colour. So, when we translate natural phenomena such as light, sound, colour and movement, into electrical signals with the help of a sensor, we call these analogue signals. The picture shows an analogue signal that, in this case, takes on any value between 0 V and 1.5 V. Most electronics components can handle analogue signals just fine. But there are important parts that know only digital signals. See the section on digital.

Atomic model
An atom is the smallest building block that still has the properties of the material made with that building block. For example, iron consists of iron atoms. If you break things down any further, you end up with particles that are the building blocks of atoms itself like neutrons, protons and electrons.
Atoms often occur in combinations, which we call molecules. The vast majority of materials consist of molecules. Since we cannot see an atom, we try to imagine as best we can what it might look like and how it is put together. Therefore, we make a model, a simplified representation of reality. Just like you can make a drawing of a house, for example; it is not really your house, but it gives an idea of what a house is like.
In our model, the atom consists for the most part out of… NOTHING! In the centre is a nucleus with small positive (protons) and neutral (neutrons) particles. Around it, at a very large fixed distance, a kind of spherical cloud with one or more concentrations of a very small amount of negative energy: electrons. All the particles within the atom are represented in the model as tiny spheres.

To have an idea of the vast emptiness that exists inside an atom: If the nucleus is a soccer ball on top of Big Ben in London, the first electron is the tip of a needle on the control tower of Heathrow airport, about 18 kilometres away! And yet an atom itself is unimaginably small. There are more atoms in a glass of water than stars in the Milky Way! The electrons in the cloud orbit the nucleus and their charge is exactly balanced with the charge of the nucleus. Therefore, if the nucleus gets larger, more electrons must also move around it to maintain equilibrium. However, the first cloud is "full" with two electrons. If the atom needs more electrons, it uses a second cloud for that purpose at a larger fixed distance in which a maximum of 8 electrons can fit. When that "cloud" is full, the next electrons must again keep a greater distance and so on. Because the clouds are at a fixed distance, they are called shells.
The properties of an atom are mainly determined by the charge of the nucleus and the number of electrons floating around it, precisely the electrons in the outer shell. The composition of atoms is mapped out in the periodic table of elements that you may be familiar with from physics and chemistry. As you might imagine, the bond between an electron and the nucleus gets weaker and weaker as the distance increases. Very large atoms are therefore often unstable and can only exist for a short time before falling apart. 118 electrons seems to be about the maximum.
Ions
Due to strong forces of attraction, an atom can lose electrons to - or gain them from - another atom. When an atom loses or gains an electron, we call the result an ion. Because ions have a charge, they play an important role in electronics, and also in chemistry.

Battery
A battery is an electron pump. A chemical process inside the battery creates a voltage difference at the poles (terminals) that we can use as an energy source. When the supply of chemicals in the battery is exhausted, we call the battery empty. A regular battery then ends up in landfill or is (partially) recycled.
With rechargeable batteries, you can reverse the discharge process by putting electrons back in. That's called recharging. Unfortunately, this does not go on indefinitely, and the battery will be exhausted after 10 to 100 charges. Batteries are very convenient to use. Almost everything now has become cordless, like your cell phone, the drill, your headphones. And with a car, of course, a cord would really be impossible. But there is also a downside; batteries use rare resources that are often extracted from the ground at the expense of local populations. And the enormous use of batteries and the dumping of the resulting waste puts a huge burden on the environment. So, use mains power where it’s possible, and if batteries are really necessary, opt for rechargeable batteries.
A capacitor consists of two conducting plates with a very thin insulation layer between them. If you now send electrons to one of the plates (we'll call it plate A for now), it will get a negative charge. Because the plates are so close together, the electrons in the other plate (plate B) are pushed away. It seems as if the current passes through the capacitor for a moment, but when the plate is completely full of electrons, the movement stops. If you then remove all the electrons from plate A, it becomes positively charged and the electrons are attracted to plate B. Again it seems as if the electrons are moving through the capacitor, but they are not.
It is only the charging and discharging of plate A that causes the (opposite) discharging and charging of plate B. Plate B therefore always takes on the opposite charge of plate A. And the same is true in reverse, a capacitor has no polarity (plus and minus pole). The larger the plates, the more charge fits on them. The size of the plates and therefore the amount of charge that can fit on them is called the capacity. The unit of capacitance is called Farad. Most capacitors we use are much smaller than 1 Farad. You will encounter values from a few picofarads (pF) to several thousand microfarads (µf). (See the topic on Multiplication factor)
As you can imagine, capacitors with small capacitances fill up quickly. Thus, they can only transmit very fast changes. The larger the capacitance the larger the wavelength that can be transmitted. The other way around: the smaller the capacitance the higher frequency can pass through. The insulator between the plates is very thin. If the voltage gets too high, the insulator will break down and a short circuit will occur between the plates. This is why a capacitor always specifies the maximum voltage.
Bucket capacitor
There are special bucket capacitors that are used to store many more electrons. Officially, they are called “electrolytic capacitors”. These capacitors are polar, though, which means they have a plus pole and a minus pole. Connecting them in reverse breaks the electrolytic capacitor (electrolytic), sometimes with a big bang and a lot of fumes.
Be careful, those fumes are quite toxic! You can use an electrolytic capacitor as a supply bucket for electrons. When you have more than enough, you fill the bucket. As soon as you run short of electrons, you drain the bucket. To show that a bucket capacitor is an electrolytic capacitor, it has a different symbol and a plus and a minus sign on it. The open bar of the symbol is the plus pole of the capacitor. The English/American symbol, which is next to it, is also still widely used.
Water model of the capacitor
How a capacitor works is easily explained with the help of a water model:
In this, a capacitor is a vessel with a sheet of rubber in the middle. At rest, the sheet hangs in the centre of the vessel.
a) If we apply pressure, the sheet will immediately stretch with it. A lot of current flows, but the voltage across the capacitor is virtually 0!
b) The further the sheet is stretched, the more resistance it will create.
c) Eventually it reaches the final position and increasing the pressure no longer produces any movement. There is now full voltage, but no current flows!
d) If we now remove the water pressure, the rubber sheet will spring back and thus apply pressure itself for a short time! So ther is a current flowing very briefly when we remove the voltage.
e) If we reverse the water pressure, the pressure of the sheet will come on top of the water pressure.
f) The movement now repeats itself in the other direction.
In this way, an alternating current movement can be transmitted through a capacitor.
The voltage and current behavior of a capacitor in detail.
Now let's see, with the help of Ohm's law, what exactly the capacitor does.
When I apply voltage to a capacitor, it first behaves like a short circuit. The resistance at that moment is almost 0 Ω! So a very large current is already flowing, while the voltage is still almost 0 V. Something like this: U = I x R, R = 0.01 Ω. If I = 10 A then the voltage will only be 0.1 V! Now as the rubber sheet is stretched further and further, it holds back the current more and more, in other words: the resistance of the capacitor becomes larger and larger and even almost infinite when the rubber is completely against the output. The resistance is then very large and the current is very small. Something like this: U = I x R, I = 0.00001 A and the resistance = 100000 Ω, then U is 10 Volts. That is peculiar, first the current reaches maximum at zero volts and then the voltage becomes high, while almost no current is flowing. With DC voltage it ends here, the voltage remains high and the resistance is virtually infinite, the current is therefore practically 0.
This is very different with an alternating voltage! This is because the voltage keeps changing, so the capacitor keeps repeating the pattern. You see that the current flows first and then the voltage appears. We call this lag: With an alternating voltage, the voltage across a capacitor lags 90° behind the current!
AC resistance of a capacitor
A capacitor does not pass direct current, but it does pass alternating current. The degree to which the capacitor thereby hinders the alternating current being transmitted is called impedance with the symbol XC. Impedance thus corresponds to alternating current resistance and therefore has ohms as its unit. The AC resistance of a capacitor is calculated as follows:
Wherein f is the frequency of the alternating current in Hertz and C is the capacitance of the capacitor in Farad. And, if you don't already know; π is the Greek letter pi and it stands for the number 3.14. To find the AC resistance, first multiply the capacitance by the frequency. Then you multiply that number by 6.28 (2x3.14). Finally, you divide 1 by the result of that sum. The alternating current resistance therefore depends on the frequency! The higher the frequency, the lower the alternating current resistance of a capacitor. A capacitor indeed transmits high frequencies more easily than low frequencies and you will see in circuits that we can make good use of this.
Energy storage/DC behavior of a capacitor
If you charge a capacitor and then put it away, the voltage stays in it, justlike in a blown-up balloon. We used to play pranks on one another because of this, by charging a capacitor (that was suitable for it) with a high voltage and then putting it back in the cupboard. The next person who grabbed the capacitor and connected it would get quite a few sparks, to his or her horror! The energy you can store in a capacitor is equal to:
Wherein E is the stored energy, C is the capacitance of the capacitor and U is the voltage. To charge a capacitor you always need a limiting resistor, as an uncharged capacitor has a very low resistance, if not a short circuit. The enormous 'starting current' could destroy the power supply and the capacitor. Therefore, a small series resistance R is included in the circuit.
As soon as we flip switch S to U1, the capacitor begins to charge. At t = 0, the capacitor is a short circuit and all voltage falls across the resistor R. Maximum current flows through the resistor R (I = U1/R). The capacitor begins to charge and thus the resistance of the capacitor increases. Charging occurs according to an exponential function: the resistance of C keeps increasing, which makes charging slower and slower. After charging time: R*C (Ω and farad), the capacitor is 63% charged. After 5*R*C, the capacitor is fully charged and no more current flows. The voltage U1 is now completely across the capacitor C. If we now reset the switch to 0 V, exactly the opposite will happen. The capacitor will discharge through the resistor R according to an exponential function.. The fully charged capacitor carries the voltage U1 and causes a large current in the resistor. The more the voltage drops, the smaller the current through the resistor and after the discharge time 5*R*C the capacitor is completely discharged.
When using a capacitor as an energy storage, you must take into account the lowest voltage Um at which your connected circuit is still operating.The discharge curve of the capacitor and the minimum working voltage. From the graph you can see that only a small part of the capacity can be used as a result. After that, the voltage already drops below the minimum working voltage Um. Therefore, in this type of situation, a switching power supply is often used that can raise a low voltage. You will, of course, find examples of this in the example circuits shown in this book: circuit 12 and circuit 13.
Applications: Capacitors are widely used in filters because the alternating current resistance depends on the frequency. You also use capacitors if you only want to transmit alternating current signals, the so-called coupling capacitors.
Coil
A coil is essentially composed of a conducting wire, wrapped around a central core, which may or may not
include an iron insert. To understand a coil, we have to go back to physics class. We know from there that when you have a wire with a flowing current, a magnetic field is created around it (see “Spooky business” in letter 14).
By winding the wire around a core, thewindings amplify each other’s magnetic field in such a way that the coil generates a magnetic north pole at one end and, of course, the south pole at the other end. Which side the poles end up on will depend on the direction of current flow.
Coils come in many shapes and sizes, and with different core materials, but the basic principle of the coil is always the same.
A coil always works against (resists) a change in current. This is because the increasing current in a coil causes an increasing magnetic field, i.e., a magnetic wave. So, the coil is inside its own magnetic wave. That magnetic wave, however, also creates a counter current in the coil. Or to stay in figurative language: the magnetic wave makes the electrons in the coil skew to one side, so the electrons want to roll back into a stable, spread-out state. Any changing current through a coil causes a changing magnetic field, which in turn triggers an opposing electron movement. We call this self-induction. We can picture this using the example of a water wheel; I call this the water model
Water model of the coil
In the water model, a coil is represented as a paddle wheel driving a flywheel. A flywheel is a heavy wheel. It takes a lot of force to get it spinning. And it takes a lot of force to make it stop again. Initially, the wheel is at rest (the water is still). Now let’s think about the steps that follow:
a) Initially the wheel is at rest.
b) If we now connect water pressure, the wheel will first offer a very high resistance. Slowly the wheel starts to turn and once it turns, it will become easier to turn faster and faster.
c) Once it gets to a certain speed, the
water will almost flow freely, with hardly any resistance from the wheel.
d) If we now reverse the direction of the water pressure, the paddle wheel will first continue to rotate and thus make the water pressure even higher. The wheel's speed will gradually reduce due to the back pressure, and finally the wheel come to a stop.
e) Then the wheel starts turning in the other direction. at first slowly but then faster and faster.
f) Again, the wheel will speed up until it turns at full speed in the other direction. You can see from our water model that voltage is always applied to the coil first, and then current starts flowing afterward. We call this lagging: With an alternating voltage, the current through an inductor lags 90° behind the voltage! (See Alternating voltage, page 115). So, an inductor does exactly the opposite of a capacitor!
Once and current flows through the coil, it wants to continue flowing thanks to the flywheel principle. A coil therefore counteracts change and thus is a poor conductor for alternating current, but a good conductor for direct current. The degree to which an inductor opposes an alternating current is called self-inductance. Self-inductance is called L after Lenz. The unit is the Henry.
The degree to which a coil obstructs an alternating current depends on the frequency of the alternating current. The obstruction is called impedance, with the symbol ZL. Impedance thus corresponds to alternating current resistance, and therefore has ohms as its unit. The alternating current resistance or impedance of an inductor can be calculated using the following formula:
ZL = 2πfL
Thus, the impedance of a coil increases with increasing frequency. In practice, coils also have an Ohmic wire resistance.
Applications of coils
Conversion of electrical energy to mechanical energy
Because a coil is also an electromagnet, you can use a coil to convert electrical energy into mechanical energy. The coil, once current flows, becomes a powerful magnet that can attract plungers, pull levers, or move itself within a magnetic field. You can see these applications in action in the form of solenoids, relays, speakers, etc. For more information you can read the entries on relays and loudspeakers.
Storage of energy
A coil can also be used as a way to store energy. Once the current flows through a coil, it will continue because the “wheel” (remember our water model) still has momentum. A coil stores energy in the form of current! This can cause a few hiccups. When you switch off a coil, the current wants to keep going, but the resistance suddenly becomes infinite. Ohm’s law shows us that the voltage (across that infinite resistance) also becomes infinitely high! The voltage peaks that result from switching off coils are very high indeed and can cause problems in the rest of the circuit, even sparks that could cause fire. So if you use coils, it’s important to be aware of this. We need to use some clever tricks to make sure that the voltage spikes are attenuated nicely. For example, take a look at the freewheeling diode at a relay . A useful tool is the voltagedependent resistor or varistor. This type of resistor goes down at high voltage and up at low voltage. High voltages are thus automatically shortcircuited. But we can make good use of the stored energy in the coil as well! For example, with the buck regulator.
Buck regulatorA buck regulator is a switching power supply that makes convenient use of the
stored energy in the coil. To explain how the buck regulator works, let’s look at the following illustration.Here is how it works:
1. The switch is closed and the coil starts up. An increasing current flows through the load resistor. The bucket capacitor is filled; the diode is in reverse. The power supply delivers the load current and the charge current for the capacitor.
2. The switch is open, but the diode, in forward conduction now, allows the coil to release the stored energy to the load resistor. A decreasing coil current flows through the load resistor, which is replenished as the bucket capacitor empties.
3. By properly choosing the switching times and capturing the voltage variations with a capacitor, we can determine the output voltage. The buck regulator is widely used to convert a high DC voltage into a stable lower supply voltage. It is reliable and has high efficiency.
Current, Voltage and conduction
Conductors
A conductor is a material through which electrons can move easily. This would usually be a metal such as gold, silver, or copper.
Voltage
Voltage is the electron pressure put on the conductor by a voltage source. The symbol is U and the unit is volts (V).
Voltage source
To make electrons flow, we need an electron pump, i.e., an electrical power source. Examples of this would be an alternator or a battery.
Such a battery or dynamo supplies a voltage with the symbol U, and the unit is in Volts.
A battery supplies direct voltage. An alternator usually supplies an alternating voltage.
Direct current
Current, represented by the symbol I and measured in Amperes (A), refers to the flow of electrons through a conductor. We measure this by quantifying the charge of the electrons flowing through. When the current consistently flows in one direction, it’s referred to as direct current and correspondingly, the voltage is termed direct current (DC) voltage. Though we typically assume current flows from positive to negative, this isn’t actually correct (see Historical error, page 132). Regardless, it doesn’t impact the calculations we do.
Circuit
Electrons require a circuit to flow. Current travels in a closed loop: it starts from a power source, passes through a load, returns to the power source, and then flows back to the load again. This continuous loop is referred to as a circuit.
Each circuit has resistance (except in super rare cases like superconductivity) represented by the symbol ‘R’ and measured in Ohms (Ω), resistance is present in both the load and the power source. The power source’s resistance is known as the internal resistance, which should ideally be as low as possible.
Ohm’s law always applies to any resistance within a circuit: Voltage (U) equals Current (I) times Resistance (R), or U = I x R.

Lastly, remember that almost all electronics use direct voltage as their power source
.An example of a circuit: the battery pumps electrons around. The electrons flow through the battery via a conductor to the lamp, through the lamp and back to the battery. The energy used by the lamp is supplied by the battery until the chemicals that drive the pump are completely used up
Digital.
Your telephone, the television, your computer (of course), and many other devices are equipped with processors. These often come in the form of microcontrollers (for more information, see the entry on microcontrollers). A processor can only process digital signals. That means most electronics operate digitally. Digital signals only have two values: on and off (or, to put it in computational terms, one and zero). So, analogue signals such as light intensity or volume must first be digitized before they can be processed or stored in your phone or sent by Wi-Fi.
To digitize a rising and falling volume (as an example), we break time eopdown into set chunks. At (for instance) each 1 microsecond step, the volume gets measured and saved as a digital number. That’s right; on your PC, the volume is like a chart with a unique number for every microsecond! This sequence of digital numbers can be stashed away in the memory.
The same can be done with colours, amount of light, you name it. By the way, there are several ways to translate analogue values into digital values. The end result is always a staircase trend (like in the graph we’ve just seen), so it will never be exactly the analogue value! The big advantage is that with digital signals you have almost no noise (see Noise, page 140.)
Digital number
What do digital numbers look like? Ever wondered how we humans learned to count? You won’t believe it - it’s all about our fingers! We have ten of them, so it makes sense that we can countup to ten (zero, of course, stands for no fingers raised). But what happens when we run out of fingers? Simple! We remember that we’ve counted one complete set of ten fingers and start counting from one again. This laid the foundation for our numerical system, which is based on tens. Here’s an example: Imagine you’re trying to secretly tell your buddy the answer to an exam question (not that we’re condoning cheating!).If the answer is 23, you’d raise your ten fingers twice (2 x 10), and then raise three fingers. So, 23 is essentially two tens (twenty) and a three. But when we reach ten tens (10x10), our fingers “run out” again, and we progress to using three digits instead, moving into the hundreds. In every group, we always count up to 10. Isn’t it cool? We call it the decimal system.Computers have an even trickier time than we do, but smart systems allow them to process numbers extremely well. Imagine a computer only has “one finger”, used to make a zero (no raised finger) or a one (finger raised). What about two? Here’s the thing. The first slot can only count up to one (remember, the computer can only use 1 finger). So for two, the computer needs to go to the next slot and then uses the same lone finger to make a two. Effectively this is saying “nothing in the one slot, and one thing in the two slot; so, our total is two.” With two recorded, it can start with one again, getting to three (using two plus one). Then the first two slots are used and for the number four the computer has to shift to the next slot. As a result, computers calculate in multiples of twos. Sounds strange? Well, that’s the binary or dual system for you! See table 1.

Table 1. Here’s how we humans count up to 13, shown alongside the way computers do the same.
Binary arithmetic is also quite a bit more cumbersome.
You should only go through the following parts if you like them, otherwise you rarely or never use them.
Binary addition:
Suppose we want to add the binary numbers 00001011 and 01101010.
This actually works just like decimal addition (the ten-digit system), but with memorization for each digit:
00001011 = 11decimal
01101010 = 106 decimal
We start on the right, just like ours. 0 1 is of course 1. At the second digit we find 1 1.
That would be two, but that doesn't fit in a digit, so we say: remember 0 and 1.
At the third digit we find two zeros, which is of course zero, but we still remembered 1, so that becomes 1. The fourth digit is again 1 1, which means 0 and 1 are remembered. The fifth digit is 0 0 = 0 plus 1 of the previous digit is 1.
Digits 6 and 7 are both 1 and digit 8 = 0
So the result is 01110101 = 117 decimal
If you want, you can add decimals again and you will immediately see the agreement.
We move on to the ten because we have ten spots, the computer goes directly to the 1 because it only has one spot (light on, light off).
Now another example of multiplication.
I first give the numbers that the digits stand for:
128- 64- 32- 16- 8- 4- 2- 1
Bit 0 represents 1, bit 1 represents 2, bit 3 represents 8, bit 4 represents 16, and so on.
If we now multiply 11 by 106, the following happens:
01101010
00001011
For convenience, I put 11 at the bottom and left out the multiplication by 0.
As with us, we multiply each digit of the bottom number by the top one
The result of bit 0 = 1x106 = 01101010
The result of bit 1 = 2x106 = 212 = 11010100
The result of bit 3 = 8x106 = 848 = 1101010000
If we add all those numbers together, we get 1166 or 11x106. = 10010001110
In any case, you now understand where all those strange numbers come from when we talk about computers; they are always powers of 2!

Table 2. 451 Broken down, left the human way in multiples of ten, right the “computer” way in multiples of two.
Pretty clear that computers need more “slots” to store decimal numbers in binary, right? For the number 451, which only takes up three places in our heads (a four, a five, and a one), a computer needs a whopping nine places! That’s why computers have to handle so much data when working with our kind of numbers or characters.
Diode
A diode is a component that passes current in only one direction. The symbol for a diode is – quite appropriately – an arrow. The arrow points from anode to cathode, and thus the current flows from anode to cathode. The symbol has quite a few variations, such as an open arrow or an arrow with a line through it, however they all stand for the same component.
Water model of a diode
You can think of a diode in terms of the water model. It acts like a tube with a valve; the water can only flow in one direction. If the water flows one way, the valve opens and water can flow through. If the water flows the other way, the valve closes and no water can flow. You then say that the diode bars the way for the flow.
Before the valve opens, the water must already exert some degree of pressure in order to lift the valve. This is exactly how it is with the diode. If we connect the voltage in the forward direction, the diode always loses some voltage in order to keep the valve open. With a diode, this is called forward voltage (FV) or forward voltage loss. This voltage varies by type of diode, from 0.2 V to as much as 3 V.
You have to take into account that when the diode bars the flow of electrons, the valve can only handle a certain amount of pressure (voltage). Beyond that, it breaks down. This is why a diode always specifies the maximum reverse voltage. Another thing to keep in mind: The valve never closes a 100%, allowing a very small amount of current to flow in the reverse direction. This is called the leakage current.
Again, of course, there are many different diodes, with the reverse voltage, forward voltage loss, and maximum current being their most important characteristics.
Something that is easily forgotten is that a diode, when it passes current, also generates power in the form of heat through the forward loss voltage. As an example:
A current of 3 A flows through a diode with an FV of 1 V. The power generated is 1x3 = 3 Watts! (P=U*I). This is why we like to choose types with low FV for diodes when a lot of current has to flow, otherwise your circuit is going to get very hot and will require more cooling
Applications of the diode
The diode is used wherever you want to convert an alternating voltage into a direct voltage (see rectifiers). Diodes are also used to prevent voltage drop in a line.
Zenerdiode
A zener diode has as the symbol of a diode with a broken reversal stripe.
And that’s a fair description of what it does. If you connect a standard diode in reverse, it breaks down when the voltage gets too high. A zener diode is a diode that trips at a certain voltage without breaking down.Of course, the current should not be too high and a good current limiter is essential. But the nice thing is that you can create a fixed voltage this way. Zener diodes are almost always used for that purpose. Examples can be found in circuits 6,11 and 13. For zener diodes, the zener voltage is given, of course, but also the maximum power, the minimum zener current, and the possible voltage deviation
LED
LED stands for light-emitting diode. So a LED is a diode that emits light. This is reflected in the symbol.The nice thing about LEDs is that they lose much less energy as heat compared to typical light bulbs.
With anincandescent bulb, only 5 to 10 percent of the supplied energy is converted into light, the rest is burned up in heat; a pity if you don’tneed that heat! With modern LEDs, at leastLED symbol50 percent of the energy is converted into light. LEDs are available in many colours. One disadvantage is that LEDs
generally have a high forward voltage. And that means you cannot drive LEDs
with a low voltage of, say, a 1.5V battery.
A LED is ideal for small appliances like remote controls, doorbells, etc. Unfortunately, you always need at least two space-consuming batteries in series to power these.
Dynamo
A dynamo, or alternator, is also (erroneously) called a generator. A dynamo is a device that allows you to convert mechanical energy into electrical energy.
However, a generator is the combination of an alternator and a drive using another energy source to let it turn; a diesel engine for example. There are multiple electronics symbols in use to represent alternators, since thereare multiple types of alternators. In a circuit diagram (also called a schematic) you often will see an A (meaning alternator) or a G (meaning generator, which implies a motor is included) instead of a sine symbol.
First read everything about the coil, you'l need this knowledge to proprly understand the alternator.We need to understand coils because a dynamo consists of a coil and a magnet. Either the coil or the magnet is moved such that the coil is in an alternating magnetic field. This causes the electrons in the coil to roll back and forth, creating an alternating voltage on the ends of the coil. The deeper the coil is in the magnetic field, the better the output of the dynamo. You can find a simple dynamo project in the BIY part of this book, craft project 4 “The drain pipe dynamo”.As was mentioned, there are many types of alternators, but the basic principle is the same for all of them. the main difference between types is that, through many clever inventions, we now have very efficient alternators that can range from ones providing a very small output, to those that can provide huge outputs of up to 2 trillion watts
Driving the alternator.
An alternator must be driven, that is, something must turn the magnet or coil. Remember, we said that you only have a generator once you have both alternator and a drive.Most smaller generators use a gasoline or diesel engine to do this. But there are also many generators that are powered by turbines.
A turbine is similar to a water mill. Water or steam pressure causes the mill to turn. An example of a modern turbine is the paddle turbine found inside large dams that give us hydropower. The water in front of the dam is blocked so that it becomes very deep, meaning that the water level is far above whatever is on the other side of the dam. By letting the water flow down from a great height, it pushes down upon the turbine with great force, large enough to drive the huge dynamo inside the dam.Because no pollution is caused while generating energy using this process, we sometimes refer to hydropower as white coal. The ultimate source of this energy is the sun. Energy from the sun causes the ocean water to evaporate and be carried as clouds by the wind. The clouds rain down over the mountains, replenishing the water in the reservoir. Sounds like a perfect form of energy production, right? Unfortunately, the construction of a dam also often has far-reaching consequences for the surrounding area and the environment, so it’s not a perfect solution that we can just build everywhere.
If there are no mountains or reservoirs available, energy has to be generated using a different approach. A good alternative energy source is wind, and we can build dynamos in windmills. But most of our electrical energy is made using steam turbines: Turbines driven by steam pressure. Steam is made by heating water. That heating is done in combustion chambers, which burn coal, natural gas and/or biomass, or by nuclear reactors.In a nuclear power plant, the steam pressure is created by nuclear fission. This does not release CO2 or particulate matter into the air. That is a very nice energy source! Unfortunately, up to 75% of the heat disappears in the air and in the cooling water . Other problems of a nuclear power plant are the radioactive waste, which continues to release deadly radiation (not electromagnetic radiation) for thousands of years, and the major risks in the event of accidents. The nuclear fission process can go uncontrolled in an accident, releasing enormous amounts of radioactive waste into the air or water. That is not imaginary, the disasters with the nuclear power stations in Chernobyl and Fukushima still have enormous consequences. What is less known is that more nuclear disasters have occurred, including:
Sellafield, Great Britain – 1957
Idaho Falls, Idaho, United States –1961
Jaslovské Bohunice, Czechoslovakia – 1977
Three Mile Island, United States – 1979
Ibaraki Prefecture, Japan – 1999
Nuclear energy does not cause air pollution, but there is still a lot of invention to be done before we can use nuclear energy safely.
Earth/Ground
In electronics you often come across the words earth or Ground (GND).
You probably already know that this has little to do with garden soil or potting soil. What is meant by earth? Suppose you have a small steel ball. You stuff electrons into the sphere. What happens then? The electrons are distributed as evenly as possible over the sphere and the sphere acquires a negative charge. An electron is extremely small, so you cannot even measure the first few thousand electrons that you stuff into the sphere. The planet earth on which we live is also more or less a sphere. That sphere contains many substances such as water with salts dissolved in it, minerals including metals, and so on. Many materials that conduct reasonably well. The planet Earth is a huge sphere. If you pump a few billion electrons into it, the result is not even measurable. Sometimes you can see billions of electrons being pumped into the Earth when lightning strikes. Yet the earth receives next to nothing charge.
You can think of the earth as a huge vessel into which we can pour all the excess water, or, if we need it, take it out. In electronics we use the earth as a storage place for electrons. The earth as a huge capacitor. If we want to protect circuits or electrical equipment against voltage peaks, we ensure that those peaks can easily flow to earth. For example, the washing machine in your house is also grounded. If a wire breaks in the washing machine and 230 V appears on the outside, it flows immediately to earth so that the washing machine remains safe. How?
Yes, it really is true that we stick a well-conducting pin deep into the ground for this. Most houses have their own earth pin.
Electromagnetic waves
Electricity and magnetism are basically twins; where you find one, you’ll find the other. When you put an alternating voltage through a wire, electromagnetic waves are created. Those waves consist of a magnetic wave (red in the picture) and an electric wave (blue in the picture). They are connected and at right angles to each other. Those waves fly in all directions, and right through most things. If you make a bundle of those waves, with a parabolic mirror found in a flashlight, they mainly fly in one direction. The light we see also consists of electromagnetic waves, so, you can see those waves very easily with a flashlight: The beam of light from your flashlight is also a beam of electromagnetic waves. (Try it, preferably on a foggy evening, and you will see the whole beam)Electromagnetic waves, like other waves, have a wave height and a wavelength. The wave height indicates the strength of the wave, and is called the amplitude. The wavelength can vary from kilometres in size, to far smaller than a millimetre, depending on the wave. As humans, our sight is limited to a very small band of wavelengths between 300 and 700 nm, in which we perceive the three primary colours of blue, red, and green. Other colours that we can see are combinations of these. Most of the electromagnetic waves we cannot see. Electromagnetic waves are often called radio waves because they are used to transmit speech and music. Nowadays, radio waves are used for anything we want to send without a
a wired connection, such as Instagram and WhatsApp.
Electromagnetic spectrum
If we list all possible frequencies of electromagnetic radiation, neatly sorted from low to high along a line, we would call that a spectrum. Thus, the electromagnetic spectrum is the sorted collection of all possible frequencies for an electromagnetic wave. The electromagnetic spectrum is extremely large, the longest wavelength being about 100,000 km, while the shortest is about 1 trillionth of a meter.In electronics, there are only a few values from the spectrum that you will frequently encounter. It is good to know that there are more frequencies than just 2.4 GHz and 5 GHz, but you certainly don’t need to know the spectrum by heart. If you want to know exactly what the spectrum looks like and what its range is, you can find the whole spectrum here.
Https://en.wikipedia.org/ wiki/Electromagnetic_spectrum
A strange problem.
If you make a wave with a rope, for example by moving it up and down with your arm, the forward motion is easy to understand, because the upward motion of your hand pulls up the rope particles, which then pull the next rope particles along with them, and so on. But electromagnetic waves fly straight through empty space. And there are virtually no particles to pull on there at all! Therefore, sound cannot fly through space; in the vacuum of outer space you hear nothing! But the strange thingis that all electromagnetic radiation is able to simply fly through space. This is only possible if that radiation itself consists of a stream of particles. Those particles are called photons. In physics we sometimes use the wave property to describe electromagnetic radiation, and sometimes the particle property, whichever is convenient.So, what are photons? As you know from my previous letters, electrons move in shells around the nucleus of the atom. When an electron jumps to a lower energy shell of its atom, a very small amount of energy is released, and we call that a photon. Light flying through the vacuum is made up of those kinds of very small energy packets.
Seeing infrared:
We humans cannot see infrared, our eyes simply don’t have the right sensor cells for that. Infrared is in the part of the spectrum invisible to us. But there is a trick you can use to see infrared anyway. Use your cell phone’s camera to look at the TV remote control. Change channels.... Your cell phone’s camera picks up easily the infrared radiation and the display shows it as white light we can see. Thanks to your phone, you can still see infrared!
Energy and power
Energy is a very special thing. No one really knows what it is. If you have a lot of energy, you can do a lot of things. You need energy to move, to make heat, to make light and many other things. You could say that energy is the source of allphysical work. But where does energy come from? Nobody knows the answer. At the moment we think that all the energy in the universe has always been there and will always be there. Energy comes in many different forms. But not all energy is attractive and/or useful to humans. Energy in the form of heat is our best friend, but in electronics it is almost always our worst enemy. Because everything in electronics is based on the movement of electrons, heat is generated everywhere. All components get hot. Not only is this a waste of precious energy, it also causes many problems. Devices and components must always be cooled to prevent them from getting too hot.
Energy in the form of electricity is very useful to us. All electronics use this energy. Unfortunately, apart from lightning, there is no natural source of electricity on Earth. This means that we have to make electricity from other sources, such as wind or solar energy. Coal, gas and oil are natural sources of energy. To make electricity from them, they are first converted into heat (by combustion) and then into pressure to drive turbines, which in turn drive dynamos. Hydrogen is not a natural energy source, but rather a form of storage. If you want to use hydrogen as a fuel, it must first be produced using electricity
Since the energy has to be generated in a power plant, it has to be paid for. It is therefore important to be able to measure and calculate the amount of energy. The consumption of energy is called power. The power of a DC voltage is calculated by multiplying the voltage by the current: P = U*I
For an alternating voltage the formula is P = Ueff*I
(see alternating current). The unit of power is watt.
To calculate the amount of energy used, we multiply the power by the time the power is used: E = P*t
The unit is watt-hour, mostly expressed in kilowatt-hour
Transport of energy
Power has to be transported like any other good. The power plant makes electricity that is then sent to customers via high-voltage lines. The high voltage is then reduced to 230V AC and transported to homes and businesses. In your home, the power comes in at the meter box and then goes to the sockets. From there, the power is fed through a cable to electrical appliances. These devices adjust the voltage and send the power to the components. At the end of the process, the power isdistributed to printed circuit boards via power supplies. All this transport causes some losses and disturbances, which we need to think about.
Cable losses in energy transport
All materials, including good conductors, resist electric current. Put simply, all conductors have some resistance. Now, imagine we roll out a kilometre of copper wire with a total resistance of 1 Ω. We use a 10V direct voltage. If we want to transport 100 watts of power over a kilometre of copper wire with a resistance of only 1 Ω, we need to deliver a current of 10 A. The law of Ohm tells us that the voltage drop across 1 Ω at 10 A is 10 V. This means that at the end of the cable, all the power is used up and nothing is left for the user!
Therefore, we do use high voltages to transport electric energy. Take a look at the following calculation: In stead of 10 Volt, we are using 1000 Volt. To deliver 100 Watts of power we now only need a current of 0.1 ampere! The cable loss therefore is decreased to 0.1 x 1 = 0.1 V. and 0.1 x 0 .1 = 0.001 Watts. Plenty of energy left for the customer!
Ferrite
Ferrite is a ceramic material in which metals are mixed. Ceramic means a material that, like porcelain, can be fired in an oven so that it becomes very hard. Teacups are made of fired clay or porcelain. Those are ceramic materials.
These, of course, do not conduct. Thanks to the mixed-in metals, ferrite can conduct magnetic fields very well. Because it is ceramic, it can be made into any shape before being baked in an oven. After that, ferrite is enormously hard and strong. Ferrite is made specifically for its magnetically conductive properties.Ferrite is used in coils to strengthen the magnetic field. With ferrite, you can adjust the value of a coil by putting in more or less ferrite. Because ferrite conducts magnetically very well, it is also used as a choke coil. Highfrequency signals are short-circuited in the ferrite and thus choked or attenuated. DC or low frequency AC signals will pass easily. You can find this application as ferrite cores around power cords for appliances but also as ferrite beads on circuit boards
Filters
Filters are used to block out junk, so that you are left with a pure substance. Dust filters, for example, remove dust from the air, so that you can breathe clean air. In electronics, filters actually do no different. Electronic filters remove clutter from your signals. A common type of clutter, for example, is noise. You can use noise filters to deal with that. If you have too much treble in your headphones, you can filter it out. With coils, resistors and capacitors you can build many different filters . Filtering is an extensive part of electronics. Following are some simple examples.
RC-filters
RC filters are made using a mix of resistors and capacitors. Resistor values stay the same, regardless of the frequency,
while the AC resistance (impedance) of capacitors change based on the frequency. The higher the frequency, the lower the impedance of a capacitor. For the full scoop on capacitors, check out our entry on them. We can use a capacitor and resistor together as a voltage divider to create basic filters. Try to imagine a voltage divider (See voltage divider) with a capacitor in place of the “top” resistor. For the high frequencies, the capacitor has a very low resistance; they zip right through. Instead, for low frequencies, the capacitor is a high resistor so there is not much voltage left after the voltage divider. Congrats! You’ve just built a highpass filter. Change things up
a bit and let the resistor and capacitor swap places. Now it’s an entirely different story. All the high frequencies trickle down to zero, and it’s the low frequencies that pass with ease. Well done — you have crafted a low-pass filter.

LC-filters
Coils are great at resisting alternating current. The higher the frequency, the better they block this type of current. That’s why coils often come in handy when we want to stop alternating currents, like interfering signals. A coil used this way is known as a ‘choke coil’ because it stifles the interfering signals. In the day-to-day practice of electronics, this coil often shows up as a ferrite bead, usually employed to suppress interference pulses. These days, ferrite beads come in SMC form. To know more, you can take a look at our entry on Ferrite.
Picture combining a coil (L) and a capacitor (C) into a voltage divider. What you’ve just cooked up is a combo that not only stifles interfering signalsBefore (on the left) and after the LC filter.but can also short circuit them to the ground, thanks to the capacitor. This setup creates a powerful filter, though it’s a bit more complex when it comes to calculations and adjustments.
Force
If we look closely around us, we can see forces at work everywhere. Anything we throw into the air will fall back to earth. The earth attracts (or pulls on) all objects upon and aroud it. We call that gravity. If we hold two magnets together, they will push each other away or attract each other. We call that the magnetic force.
Something that pushes or pulls on an object is called a force.
Four basic forces have been found (so far):
The weak nuclear force ensures the energy exchange within the atomic nucleus.
The strong nuclear force ensures that the atomic nuclei stay together.
Gravity ensures that everything remains on the Earth and that the planets remain in their orbits.
The electromagnetic force ensures that the electrons remain around the nucleus of the atom. This power makes our electronics possible.
Forces are very mysterious, they are invisible and no one knows exactly why they exist.
Fuse
A fuse is a handy device used to keep a circuit from experiencing too much current. Picture an old-school fuse that you might uncover if you were living in a house that was built during your grandma’s era. It’s pretty simple—just a glass tube with a super thin silver wire inside. If the current gets too high (above a certain limit), that little wire goes “poof” (literally burns out), stopping the current flow and keeping the circuit safe and sound.
When you’re looking at diagrams, a fuse is shown as a rectangle with a melting wire inside. Beside it, you’ll see the current limit—the number that tells you when the fuse will burn out. There’re a couple of types of fuses to know about. The slow fuse (S) does what the name implies—it holds out for a bit before burning up. Then there’s the fast fuse (F)—it’s quick to burn out, doing so instantly once pushed over its limit. But it’s not all vintage tech. These days, we’re working with fresh materials to build tiny fuses, which can be soldered directly onto a printed circuit board (check out the entries on PCBs and surface mount components). One major upgrade is the self-healing fuse. When the current gets too high, instead of blowing up, these fuses increase their resistance, essentially putting the brakes on the current. And if the current dips back down, the resistance lessens. Way better than traditional fuses that need changing every time the current spikes!
Heatsink
In electronics, heat is almost always a problem rather than a benefit. As electrons run through the components the components get hotter and hotter, and eventually break down from overheating. This is why most components always have a maximum power rating listed. The parts lose their heat to the air over time; this is why machines like computers have fans to blow away hot air and bring in cooler air, which will take away the heat more efficiently. In special cases, water cooling is also used, since (cold) water is great at sucking up heat. Unfortunately, most components are in a plastic housing, which makes them harder to cool. This is understandable, because you don’t want the part to accidentally make contact anywhere. You also want to protect the important metal materials in your machine from oxidation (i.e. getting rusty). Plastic is not a good conductor of heat, meaning it won’t take away the heat from the metal component at any decent rate. That’s why parts that need to handle high levels of power often have metal plates in the plastic. Those plates conduct heat and are exposed to the outside air, allowing the part to cool much more quickly. The greater the surface area over which air can flow, the better the part can dissipate its heat. Therefore, you can help the part cool faster by making the cooling surface larger. Then, of course, you have to use a material that conducts heat well, such as copper or aluminium. Aluminium is cheaper and lighter than copper, which is why that material is most commonly used to make the cooling surface larger. There are many cleverly devised shapes of aluminium that you can attach to your part or vice versa to enlarge the cooling area. Those shapes are quite appropriately called heatsinks. The specifications of a heatsink state how much the temperature of the heatsink rises per added power in watts. In Europe, we use °C/W. The lower this value, the less the temperature rises, the better the cooling capacity!Most components come with documentation telling you the maximum temperature at which they still work well. You can, of course, calculate the power from the circuit, and in turn, you can calculate how big the heatsink should be. To do this, you divide the allowable temperature rise by the power.

Here is an example:
A transistor KD880 has a collector voltage of 12 V. The emitter voltage is 4 V. The current is 2 A. The maximum safe operating temperature is 60 °C.
The ambient temperature is 20°C. Across the transistor falls 12 - 4 = 8 V. The power the transistor must convert to heat is 8 V x 2 A = 16 W. The transistor is allowed to heat up a maximum of 60-20 =40 °C. So, you need to mount a heatsink of 40/16 °C/W = 2.5 °C/W.
Historical error
Alexander Volta invented the first zinc-copper battery in about 1800. The scientists at the time thought that the current flowed from plus to minus and therefore always opted for that. Only much later (about 1860) did a Mr. Rutherford discover that electrons have a negative charge. And... it is the electrons that can move through a conductor. The electron flow therefore runs from minus to plus! This makes no difference at all for all our calculations and we therefore continue to use the conventional current from plus to minus.

Integrated circuits
Thanks to the very large, important Dutch manufacturer ASML, parts can be made increasingly smaller due to advances in technology. Manufacturers can therefore stick many thousands of parts together on a very small surface. We call these integrated circuits or ICs. Very large integrated circuits will of course become hot, so significant cooling is required. By continually lowering the operating voltage (again through advances in technology), manufacturers try to limit the power (P =U*I). Large processors, such as the I7 from Intel, have approximately 2 trillion MOSFET’s on board of one integrated circuit!!!
(For further details, read the entry about transistors and mosfets). Only one simple IC is used in the example circuits of the book. There are thousands more to discover!
Logic circuits
The word logical is used for a lot of things, but in electronics it has a very clear meaning. A logical circuit is a circuit where you can put zeros and ones into and where zeros and ones come out. A logic circuit always reacts the same to the zeros and ones you put in it. A zero and a one are always a fixed voltage. In 5 V logic, for example, this is
0 V and 5 V. Logic circuits therefore work in binary mode. There are just a few basic circuits and they are very easy to understand and apply. You can come up with a lot of fun circuits with logic circuits.
Logic gates
A gate is an arch that you can walk under, sometimes with a door in it. You enter a gate and you come out the other side. And that's exactly how it is with logic gates. There are three basic gates, with which you can make many combinations.
The OR gate, the AND gate and the NOT gate. The Not gate has 1 entrance and 1 exit. The exit is always opposite to the entrance. That is why the NOT gate is also called an inverter. The common emitter circuit with the NPN transistor is in fact also a NOT gate. The OR gate has two (or more) inputs. The output becomes 1 when one of the two inputs becomes 1. An OR gate is very easy to make with diodes
The AND gate also has two (or more) inputs. The output becomes 1 when both inputs become 1. The AND gate is also easy to make with diodes.
Leaving aside all electronic limitations, you can (logically speaking) expand the inputs of the AND gate and the OR gate indefinitely.
So you can trigger an alarm if a 1 arrives at one of the many inputs of the OR gate, for example from a glass break sensor.
Or you can ensure that you can only make a decision together. If a 1 is missing somewhere on one of the inputs of the AND gate, there will be no 1 on the output.
The flip-flop
In circuit 9 you will find a switch that switches every time you press a button. That's exactly what a flip flop does. A flip-flop is a logic circuit that switches the two outputs every time you operate it. Many variations of the flip-flop have been invented, but they all do the switching. Because a flip-flop has a logical hold switch, you can use it as a binary memory. Each flip-flop can remember exactly 1 bit.
There are many logic circuits for sale as integrated circuits. There are even integrated circuits (IC) whose logic functions can be selected by programming them.
Loudspeaker
One of the most fun inventions made possible with a coil is the loudspeaker. It works as follows. If you send an alternating current through a coil, it becomes a magnet whose north and south poles constantly alternate. If you suspend this coil in the field of a permanent magnet, it is alternately attracted or repelled by the permanent magnet. The coil moves with the frequency of the current we send through it. Attached to the coil is a funnel made of light cardboard; the cone, which then with the coil will also move back and forth.The cone vibrates, which in turn makes the air vibrate. Vibrating air is what our ears pick up as sound. If the frequency is in the range audible to us, we “hear” the electrical signal that was sent into the coil, since it comes out as sound!
The principle of the modern coil speaker remains the same, simply lot of additiLoudspeaker symbol.onal components that have been invented over time to ensure that the sound it produces sounds as natural as possible. The loudspeaker symbol is a simple representation of a loudspeaker. It states the resistance of the coil and the maximum power of the speaker. Data sheets often include a graph showing which tones are best reproduced.
The nice thing about loudspeakers is that the principle also works in reverse. If you vibrate the cone by sending sound to it, e.g. by speaking to it, the coil vibrates with it. The coil then moves back and forth in the magnetic field of the permanent magnet. As a result, the coil “sees” a changing magnetic field, and the electrons in the coil start rolling back and forth in tune with the vibration. The signal from the coil is the electrical version of the sound that caused it to vibrate! Such a sound sensor is called a microphone. To record sound as faithfully as possible, a microphone is built very differently compared to a loudspeaker, but the principle is completely the same. So, you can also use a loudspeaker as a microphone, but without all of the adaption made for a microphone the sound quality will be rather poor.Microphone symbol.Materials have now been invented that themselves shrink and expand instantly when you offer a negative or positive voltage to them. Piezo crystals, for instance. With these, you can make verysmall speakers and also tiny microphones. The ones that are used in mobile phones for instance.

Loudspeaker principle


Loudspeaker symbol microphone symbol
Magnetism
Magnetism is a force, although we have no idea why it exists or what causes it. What we do know is that magnetism has something to do with electrical power. A magnet always consists of a north pole and a south pole. Equal poles repel each other, while opposite poles attract each other. A magnetically sensitive material, such as iron, nickel, or cobalt, itself becomes magnetic when it enters a magnetic field.
The magnetic force is transmitted by magnetically sensitive materials. The object becomes a north pole magnet where it is touched with a south pole and vice versa. Once the magnetic force is removed, the object loses its magnetism again.However, if a magnetically sensitive object stays in a strong magnetic field for a long time, it itself becomes a magnet, meaning that if the object is then removed from the magnetic field, it remains magnetic. This is called remanent magnetism. Usually, the object loses this remanent magnetism again after a period of time.Objects that are forever magnetic are called permanent magnets.A wire, or better, a coil, through which current flows, also becomes magnetic. This is called electromagnetism. Electromagnetism and magnetism play a major role in our lives. Wherever electrical energy is converted into mechanical energy (e.g. electric motor) and wherever mechanical energy is converted into electrical energy (e.g. dynamo), these two forms of electromagnetism are used. See the drain pipe dynamo and mono-polar motor projects for simple examples.
Check out this cool trick:
Believe it or not, everything around us is within the scope of Earth’s magnetic field. Even though it’s pretty weak, it still has enough strength to mess with objects that respond to magnets. Start by grabbing a long, iron object - an old screwdriver maybe? Align it parallel to a compass needle. Here comes the fun part: give the iron a good whack with a hammer to pump in some energy. Be sure to distribute your hits evenly across the iron. You’ll start to notice that the iron gradually turns into a (sort of weak) magnet. Just remember, this trick only works with iron - don’t try it with copper, stainless steel, or anything else. And a word of advice: test if the piece of iron is attracted to a magnet before you start hammering at it - you don’t want to spend days hammering for nothing.
Measuring
Taking measurements may seem like a mundane activity, but if you stop to think about it, it is something very intriguing indeed. Measurements make invisible things visible to us, usually in the form of numbers and letters. In electronics, of course, we mainly measure current, voltage, resistance, and frequency. To do that, we need a sensor and a meter. A sensor is a component that converts a signal into a measurable signal. The simplest sensor is a resistor. When we send a current through a resistor, a voltage is applied across the resistor. The greater the current, the greater the voltage.Now our meter comes into play; with a voltmeter, we can then measure that voltage and always calculate the corresponding current. Annoyingly, the measuring resistor itself also obstructs the current, thus causing the measurement to not quite be correct..
For example, we are going to measure the current through the circuit consisting of battery B1 and resistorR1. The voltage supplied byB1 is 5 V. R1 is 1 Ω. We know without measuring, thanks to Ohm’s law (U = I x R), that the current through R1 is 5 A. Now, we stick our 1 Ω sensor in the circuit. The meter only indicates 2.5 A! How can that be? Is the meter broken? No, the meter is working perfectly well. Thanks to our measuring resistor, the total resistance in the circuit has now become 2 Ω. And 5 V divided by 2 Ω is 2.5 A. Without the measuring resistor, the current is 5 A; with the measuring resistor, the current is 2.5 A. We have a measurement error as high as 50%! We therefore need to ensure that our measurement resistance is as small as possible when measuring current.

the real current

False current measurement
When measuring voltage we have a similar problem. The meter also uses a resistor as a sensor. That resistor will be parallel to the resistor over which we want to measure the voltage. The total resistance therefore becomes smaller. For example, you want to measure the output voltage of a voltage divider. The voltage divider consists of R1 and R2, both 1 kΩ. The battery supplies 5V. Thanks to Ohm’s law we know that the voltage across resistor R2 must be exactly 2.5 V. You connect the meter and it shows slightly less than 1.7 V! Is the meter broken? No, due to the internal resistance (sensor) of the voltmeter, there is now a resistance in parallel with R2. The total resistance there now becomes 500 Ω! The voltage is therefore only 1/3 of 5 V, which is approximately 1.7 V. Another significant measurement error thanks to the measuring resistor. That is why we use the highest possible measuring resistance when measuring voltage.
Measuring resistors also have a tolerance of their own, so they are not exact the value indicated, but slightly less or more. That “slightly” is defined by a percentage indicated on the resistor as well. (See Resistor). So, your resistor’s tolerance affects your measurement as well. The accuracy of your measurement therefore depends not only on your sensor, but also on your actual meter.

The real Voltage

False Voltage measurement
Nowadays we measure almost everything digitally. This means that we divide the time into very small steps of, for example, a millisecond and take a measurement every time a step has passed. We also call this 'taking a sample'. Each sample is represented by a number. We do this using an analogue to digital converter. By doing smart calculations (for example always taking the average of the last 10 samples) we get a value that we can display on a screen. If your meter can convert few samples per second, you will not see short voltage peaks. So you have to know exactly what the properties of your meter are to know whether the measured value corresponds somewhat to reality.
The universal meterAnd now the most commonly used meter at the moment, the universal meter, also called a multimeter. Universal because it can measure many different things and often has a number of useful tricks up its sleeve. They come in all shapes and sizes and from very cheap to very expensive. If we take into account an accuracy that we can use for our purpose, you can have an excellent universal meter for a few tens of euros.
Let's take a look at such a meter. Again, there are many types and sizes, so each meter can look different. Above you will see a screen on which the selected function and the measurement result are visible. This often includes one or more keys to select additional functions. In the middle there is a rotary switch with which you choose a measuring range or function. Finally, at the bottom are the connection points for the measuring leads. What can such a meter do? We can see this conveniently from the switch with which you choose the functions. The button is now OFF, and you have to set it there every time you do not have to measure. The meter runs on a battery and if you leave it on the battery will run out! One step to the right the meter will measure alternating voltage with 500 V as a maximum. Another step to the right, the sensitivity is slightly greater and you can measure alternating voltages up to 200 V. You can then measure direct current from very accurately (2 mA full scale) up to 10 A. Please note, to measure 10 A current, the black measuring lead must be disconnected. connected to the current measuring input. This is the case with almost all multimeters. In the next step, the meter itself supplies a square wave voltage that you can use as a test signal. The next step is a whistle-through and diode test. The whistling causes the meter to beep when there is very low resistance between the measuring pins. For example, you can test cables. One pin on each side, if the meter does not whistle then there is an interruption somewhere. The diode measurement makes good use of the forward loss voltage of a diode. A good diode shows a voltage drop of between 0.3 and 1.2 V in the conducted direction and in the reverse direction the voltage is equal to the supply voltage, so much higher. The following steps let you measure a resistor in increasingly larger increments from 200 Q full scale to 200 MQ full scale. And finally, you can measure DC voltage with decreasing accuracy from 200 mV to 500 V full scale. That is already an incredible amount, for a meter that costs less than 20 euros. Let's look at the specifications, or how accurately does the meter measure? According to the specification, this meter measures DC voltage with an accuracy of ± 0.8%. Alternating voltage with an accuracy of ± 2%. Direct current with an accuracy of ± 2% and resistances with an accuracy of ± 1 to 1.5%. Measures 10 V. DC voltage, the actual voltage is somewhere between 9.84 V and 10.16 V. If you measure a DC current of 100 mA, the actual current is somewhere between 96 mA and 104 mA. It is therefore important that you know in advance how accurately you want to measure and how accurately you can measure. Bear in mind that with large values it is not useful to measure very precisely. If you want to measure the distance between Paris and Utrecht, you obviously do so in kilometers, not in millimeters. The thickness of a hair is measured in micrometers and not in kilometers. With the multimeter, the accuracy is given for the full scale reading per measuring range. In the 200 mA range the accuracy is ± 0.2% of 200mA, so ± 0.4 mA.
Microcontroller
Think of a microcontroller as a calculator. The controller, the calculator’s heart, manages all operations. When you punch in numbers or commands on your keyboard, a translation occurs: these inputs are turned into binary language, the only language the controller recognizes. From this binary form, the controller can tell whether it’s dealing with an actual number or an instruction. Then, it figures out where to send this binary input. Options abound: it can safely tuck the number into its memory, or whizz it off to the arithmetic unit for calculation. If it needs to convey the number back to you, it sends it to the display unit, which acts like a translator. Here, the binary code is seamlessly converted back into a readable number. Who knew calculators could be so intriguing?
For instance, let’s say we’re calculating 2+3=6.
First things first, all inputs get translated into binary numbers, and outputs are always converted back into numbers that we can easily read.
So, let’s get started: you punch in the number “2” on your keypad. That sends the number in binary form (0010) hurtling towards the controller. The controller then tucks this number safely into memory while also flipping it over to the screen. And, voila! You see the number “2” on your calculator’s display.
Next, you hit the “plus” sign. This also becomes a binary number that the controller receives, recognizes as command, stows away in memory, and mirrors on the screen. Then, you punch in the number “3”. This similarly arrives at the controller, gets stored, and appears on your screen.
Finally, you hit the “equals” sign. The controller gets the message, recognizes
it as command, bundles up the 2, the 3, and the plus sign, and dispatches them to the arithmetic unit. Here, the addition operation happens, producing “6”. This result zooms back to the controller, which then serves it up to both memory and your eager eyes on the screen. And just like that, you’ve done a calculation in the secret language of your calculator!
So, these are the components of a calculator:
• The memory
• An arithmetic unit
• A traffic controller or controller
• Input device (keyboard)
• Output device (display)
The memory, arithmetic unit, and controller all bundled together in a housing (integrated, i.e. without keyboard and display) is called a microcontroller.

Moreover, a microcontroller has a program memory. Here, you can store a series of commands (binary, naturally) that the microcontroller executes. When the sequence ends, it loops back. This series of commands is known as a program, and crafting one is called programming.
In addition, a number of ports (interfaces) to the outside world are often included. The most well-known are the display interface (where the outside world can look at what the device is doing) and the keyboard interface (where you can tell the device what to do).
Modern microcontrollers are also packed with cleverly designed solutions, mostly to make them faster, more efficient and more reliable. There are many types of microcontrollers, all with their own special features and often their own language. You can create an endless number of applications with a microcontroller. It is indispensable for an inventor. For beginners, Arduino is a very nice device to start out with. Its language is easy to learn, and you can soon make really cool things with it. (See the fantastic website www.codingideaswithkids.com)
Modulating and demodulating
Electromagnetic waves (radio waves) travel at the speed of light. Therefore, if we can somehow pack messages into radio waves, we can send those messages at the speed of light, too. Packing a message into a light or radio wave is what we call modulation. The simplest kind of modulation is ‘on and off’. With a torch, you can transmit morse characters or ASCII codes (just like I did with Fred in my letter, “Bang chuka chuk!” page 70).
Even typically analogue things like music or images, as long as they are represented as electrical signals, can be packed in radio waves.
Packing messages in a radio wave might seem tricky, but it involves just two basic ways: amplitude modulation (AM) and frequency modulation (FM). Actually, it’s way simpler than it sounds!
A radio wave, which is an electromagnetic wave, has only two features: how long a full wave is and how tall. The wave’s height is called its amplitude. So with amplitude modulation, we’re basically changing the wave’s height.
As you may know, the human ear can hear frequencies from about 30 Hz to 20 kHz. A radio wave, by comparison, has very high frequencies, such as
2.4 gHz for Wi-Fi. That’s 2.4 billion Hz! Sound itself travels slowly (relative to light) and dies out quickly, but a radio wave travels at the speed of light and carries over huge distances. By fiddling with the amplitude of the radio wave to match a sound wave, the sound wave can hitch a ride along with the radio wave. This shows how adjusting the radio wave’s amplitude lets us send along a lower frequency. This radio wave, aptly named a carrier wave, trucks the lower frequency along with it. And because its amplitude changes around, this tweaking style is known as amplitude modulation, or AM for short.
Of course, you can also change the length of an entire wave section. By doing so, you change the frequency of the carrier wave. Again, the low frequency is hidden in the high. We call it frequency modulation, or FM for short. The picture is very exaggerated, usually the variation is very small compared to the carrier wave.So the trick of hiding the low frequency wave within a high frequency wave is called modulating. If you want to get the low frequency wave out again, you have to demodulate.

Amplitude modulation

Frequency modulation
Morse code and ASCII code
Why ASCII code was introduced
Morse code is made up of short and long signals. These signals can be communicated in the form of light (for example from a torch) or as sound, in the form of beeps. So, how do we tell a short beep from a long beep? Simple - the long beep is at least three times longer than a short one! Additionally, there’s got to be a pause the length of one long beep between each signal. Quite tricky, don’t you think? Especially considering some folks can signal faster than others! Another thing with Morse code is the character limit. There aren’t as many as you’d find on a computer keyboard, for instance.The Morse code alphabet and the numbers 0 to 9. Morse code can be tricky and sometimes slow to work with. Why? Because there’s no fixed time to differentiate between the ‘zero’ (a short signal) and ‘one’ (a long signal). If you lose track, it gets confusing to figure out where one character ends and another one starts. Morse code isn’t exactly speedy, either. Every character needs a series of long and short signals. For example, digit ‘0’ requires five long signals! The more characters you want, the lengthier your Morse code signal gets.
ASCII code is a digital code meant for machines. ASCII code is a much better alternative if you have the equipment for it. Instead of a tone or light flash, we now send and zero or a one.
For the ones we make the line plus, for the zeros we make the line zero. The zero is 0 V and the 1 is a fixed voltage, e.g. 5 V.
An individual character consists of 8 digits, for example the character k is represented by the digital sequence:11001011 Using this method, you can create up to 255 characters, all of precisely the same length. Let’s compare this with Morse code: the Morse character for zero is made of five long signals that come with four short pauses. Combined, that equals the length of 19 short signals. On the other hand, each character in ASCII code is made up of just 8 short signals. When you’re communicating in ASCII code, every character starts with a pause of a specific duration known as the ‘start-bit.’ The character that comes up next is a mix of 8 bits (ones or zeros), all of the same duration—that duration is something both communicators need to agree on. After that, there’s a ‘stop-bit,’ marking the end of a character for a predetermined duration. Every message character follows this pattern: a start-bit, then eight character bits, ending with a stop-bit.
The start-bit is important for synchronisation:
Even machines with very accurate clocks never run exactly in sync. If you keep sending characters, the machines will eventually get out of sync and end up not understanding each other’s messages. Therefore, communicating machines start clocking each start-bit. The duration of the following character is so short that a small deviation between clocks makes no practical difference.The ASCII code has been greatly expanded to accommodate all the special characters, various languages and their unique characters, and the distinctive characters in mathematics and physics. As a result, the code was extended to 16 bits, allowing for the creation of up to 65,535 characters.

The Morse code alphabet and the numbers 0 to 9.
Multiplication factor
Electronics often involves working with very large and very small numbers. That is why multiplication factors are used. You have known some of them for a long time, such as kilo for 1000 times. A kilogram is 1000 grams, a kilometer is 1000 meters and a kilo-Ω (kΩ) is 1000 Ω.
Here you will find a handy overview of all factors used in electronics. The custom is to paste the symbol directly in front of the unit name.
1 µH = 10-6 Henry,
1 MgΩ = 106 Ω,
and so on.
Noise
If you close your eyes and listen carefully, you’ll find that the world is full of noise. You hear sounds from different sources: car traffic on the motorway some way off, an aeroplane passing high above you, birds whistling in the trees, the wind rustling through the trees, and so on. Background noise is what we call it. Your brain is perfectly capable of ignoring those sounds (unless you actually stop to listen to them) so that you can easily hear new or important sounds such as your friend’s voice.
Electrical signals also have noise.
That noise, like the background noise, comes from different sources. The heat movement of atoms causes resistors, transistors and amplifiers to produce noise. Switching power supplies creates lots of switching spikes on the power supply. Electromagnetic radiation is picked up by wires and/or PCB traces. All that noise is amplified along with the actual signal.
Sometimes the noise is so strong that the signal ‘drowns’ in it.

Digital technology offers a strong defence against noise. The reason? The signal can only be zero or one. This means the little noise signals are automatically left out. However, even digital technology isn’t foolproof. In the signal chain, zero isn’t exactly zero and one isn’t exactly one.
Therefore, limits are specified:
In 5 V logic, for example, ‘less than 0.9 V’ is considered zero and greater than 3.7 V is considered one. If a signal is 1, it only switches to zero if the voltage briefly dips below 0.9 V. On the other hand, if the signal is zero, it only turns to one if the voltage briefly goes above 3.7 V. The space between these two levels is known as hysteresis. All signals that fall within this gap are simply ignored. So, if your signal is 4 V, in this scenario, it counts as 1. It would only switch to 0 if a (noise) signal exceeding -3.099 V comes along! But really, 3V is a pretty solid voltage, so you won’t often see 3V noise.You may remember that
P = I x U, meaning that high voltages result in high power, which causes a lot of heat. Therefore, we aim to reduce the supply voltage, particularly in microcontrollers that use a lot of power and work digitally, to minimize power usage! However, there’s a snag. The lower the logic voltage levels, the smaller the hysteresis, making digital signals more prone to noise. Don’t worry, though. Clever inventors have been tackling this issue for a long time, so we can keep using lower and lower supply voltages.
Oscillation
You’ve likely experienced a microphone “whistle”—a piercing sound that drowns out every other noise. So, what causes this? It happens when the sound from the speakers feeds back into the microphone. For specific tones, the system amplifies the sound once, twice, or even more times. These tones go in a continuous loop, reaching the highest possible volume allowed for by the setup. The loop only breaks when the circuit is disrupted. That’s why it’s called oscillation. While these oscillations can be quite bothersome in daily life, they’re immensely useful in electronics. In setting up things like transmitters or sirens, the concept of oscillation is extensively used. For instance, if a signal is looped from the output back into the input, and the gain or amplification is at least equal to 1, then the circuit begins to oscillate. You can find examples of this in circuits 12, 13, and 14.
Printed circuits
In the circuits I made as a boy, the parts I had to deal with were quite bulky and were soldered together with wire.That made tinkering and inventing a very messy job, and, as a result, mistakes were easy to make. Each part had “leads,” which were then soldered to a piece of wire, a solder support, or some other part in the circuit.Nowadays, things are a good bit cleaner. All that wiring is printed onto a plastic plate through a special process, hence the name printed wiring. Such a plate is called a printed circuit board, or PCB for short. Because the wiring is made via a kind of printing process, we also call it printed wiring.
Working with printed wiring offers great advantages.
Printed wiring is designed based on a schematic taken directly from software on a computer. The probability of errors is therefore very much smaller. Printed wiring can be easily miniaturised, meaning that you can fit complex circuits into a very small space. Part placement can be automated by specially designed robots.
Printed wiring also comes with disadvantages, however, especially for the amateur. To design a PCB, you need to use software that is hard to master. Positioning, soldering, or replacing parts is precision work that requires special soldering equipment as well as very steady hands.
Lucky for you, if all that extra stuff seems like a major pain, there’s a ton of components with leads, experiment boards, and universal PCB’s just waiting for you to get hands-on. Check out Fritzing (https://fritzing.org/); it’s got an all kinds of ideas and projects to help you cook up some brilliant circuits with the aforementioned components and tools.
And guess what? Modern PCB-design is no longer just for pros; amateurs are getting in on the act, too. There’s all kinds of high-quality, open source (that means free!) software you can use to create schematics and print drawings (https://www.kicad.org/).
Oh, and did you know? Lots of companies will do the heavy lifting and handle the production process of the printed circuit board for amateurs — and not just for a fortune. These same companies often hook you up with tools for placing and soldering the components (https://www.eurocircuits.com/, for example). So, if you think you’re up for it, just hit up the ‘net and see where this journey takes you!
Rectifiers
With an alternating voltage/current, the electrons keep running back and forth. When we make circuits, they usually use a DC voltage between 3 V and 12 V. With a DC voltage/current, the electrons always run in one direction. If we have an alternating voltage source, we must first ensure that the electrons can only run in one direction. We convert the alternating voltage into a direct voltage and of course we do this with a diode. Below you will see various rectification diagrams with explanations.
Single-phase rectification
Above you see the schematic. A transformer turns 230 V alternating voltage into 9 V alternating voltage. With an alternating voltage, the current flows back and forth. If the current flows clockwise, the diode lets it pass. If the current wants to flow counterclockwise, the diode stops it.
The graph shows the result of this circuit. The blue line is the voltage from the transformer. The red line is the DC voltage across the resistor. The first thing you notice is that the DC voltage becomes and remains zero when the AC voltage becomes negative. The diode then of course blocks the current through the resistor, no current through the resistor means no voltage across the resistor. Only the positive part (positive phase) of the alternating voltage is allowed through. That is why we call this single-phase rectification. If you look closely, you'll see something else that stands out. The DC voltage always remains a little lower than the AC voltage from the transformer. This is due to the forward loss voltage of the diode! As a result, not the entire alternating voltage falls across the resistor, but the voltage – FV. Most electronics will not work well on this DC voltage that keeps dropping out for a while!
Single-phase rectification with bucket capacitor
You see almost the same diagram here, except in this case a (bucket) capacitor has been placed after the diode. If the alternating voltage is positive, two currents now flow through the diode, the load current through the resistor R1, plus the charging current for the (bucket) capacitor C1. So the bucket capacitor is filled during the positive phase. If the alternating voltage is negative, the capacitor discharges (the bucket empties) via the load resistor R1. The smaller the resistance (the heavier the load) the faster the capacitor discharges.
You can see in the graph above that the voltage in the negative part of the alternating voltage drops to less than 3 V. Also not an ideal situation if your circuit needs 5 V. What can help is a larger (bucket) capacitor, but the charging current will also increase considerably. So you must choose a source (transformer) and diode that can supply and pass that large charging current.
Full-wave rectification
Rectification is of course much better if you could use both halves (phases) of the alternating voltage.
By far the most beautiful invention is therefore the solution of the full-wave rectifier. The transformer has a center tap on the output coil. The current is now sent through the load resistor using two diodes. When the current flows through the transformer to D1, it will pass the current to R1. The current returns via the center branch. D2 blocks (blocks) at that moment. If the current flows towards D2, it will pass the current to R1, while diode D1 is cut off. The (bucket) capacitor is therefore charged twice per wavelength instead of once. Therefore, the tension will also decrease less. The negative phase is thus made positive! Hence the name full-wave rectification.
Diode bridge
You need this circuit if the transformer does not have a center tap and you still want full-wave rectification. Two diodes are always on and two are off. Try it, how does the current flow if A is positive and B is negative? And if B is plus and A is minus? The result is almost the same as that of the previous circuit, but because the current always flows through two diodes, you are dealing with twice the forward voltage drop and double the power loss in the diodes.
AM-demodulator
A special single-phase rectifier is the AM demodulator. It consists of a diode followed by a capacitor.
This is the schematic of a real working radio receiver. So you can recreate it, if you want to!
Here’s how it works.
The coil, L1, and the adjustable capacitor, C1, together form a tuned circuit connected to an antenna. (See Resonance, page 147.)The AM modulated carrier wave is rectified via diode D1, then the high frequencies are filtered out, thanks to C2. The low frequencies that remain still have enough energy to directly drive a high-Ohm earplug.
Relay

A relay is a switch that is electrically operated. A relay consists of a coil, an armature and two, or more, springloaded contacts. When we send current through the coil, it becomes a strong magnet. That magnet pulls the armature down. The other side of the armature then presses the spring-loaded contacts together; the switch is closed. When you turn off the current, the armature is no longer attracted by the coil. The spring-loaded contacts spring back and no longer make contact; the switch is open. The symbol for a relay consists of the symbol of a coil connected by a dotted line to one or more contacts. Read the entry about the coil, to better understand the following problem.
There is a problem if we want to switch of the relay. The coil wants to maintain the current but there is no circuit available to do so. The stored energy is then released as a voltage spike. When the coil is suddenly disconnected, this can lead to high energy pulses! In the case of a relay, this is something you don’t want, as it can destroy the electronics that are supposed to switch the relay. A free-wheeling diode solves this problem.

Basic relay symbol


The free-wheeling diode
1 The relay is energized and a current flows through the coil from plus to minus. The diode is in reverse.
2. The relay is turned off. The current in the coil continues to flow for a while but is short-circuited through the diode, so there is no voltage spike.

Different types of resistors

Resistor symbols

Resistor
As the word resistor suggests, resistors provide resistance to something. That something is a current. There are many different types of resistors. The resistor with leads, like those seen on the left in the picture, are still widely used, but on printed circuit boards a lot of SMC resistors (seen on the right in the picture) are now used, which are soldered directly to the board thanks to their metal edges. (for more information, see the entry on SMD or SMC).
In a schematic, resistors are represented by a rectangle with two connections, and their value next to it. In American and English schematics, the zigzag line is used with the value next to it. The unit of resistance is ohms, usually abbreviated to the Greek omega sign: Ω. A resistor has a value of 1 Ω if exactly 1 A of current flows when you put exactly 1 V of voltage across the resistor.
Water model of the resitor
If we use the water model and imagine our electrons as flowing water, a resistor can be compared to a thin tube. The thinner the tube, the less easily water can pass, the higher the resistance.
Ohm’s Law
Current will flow through the resistor only if a voltage is applied to the pins. The more voltage the more current will flow, but the greater the resistance, the less current will flow.
You can see this immediately in Ohm’s law:

A higher voltage means more current, a higher resistance means less current. Conversely, then, we know the voltage across a resistor if we know the current and resistance. And finally, we can calculate resistance if we know the voltage and the current.

This applies to any resistor anywhere in a circuit!
Power
Resistors convert the voltage difference into power in the form of heat. A resistor gets hotter as the voltage increases, and also as the current increases. You can see this immediately in the formula for power
P.

Where P is the power generated in Watts, U is the voltage across the resistor in Volts, and I is the current through the resistor in A.
The heat generated needs to be properly dissipated, otherwise the resistor will get too hot and may break down. Always make sure you use a resistor of the correct wattage, and have adequate cooling!
Tolerance
It is difficult to fabricate resistors with precise resistances. Manufacturers therefore specify how much the value of a resistor can vary (in percentage) from the specified value.



Basic applications of the resistor
Current limiting
Resistors often put in series with other components. Their main role? Limiting the current going through that component. A good example would be this LED controller. Suppose we want to light a LED at 5 volts. For instance, a LED with a “forward voltage” of 1 Volt. Once the voltage rises above 1 Volt the LED comes into conduction. This particular LED is at its best when the current running through it is 20 mA. Therefore, if we have current flowing through our LED, the voltage across the resistor is 4 volts (5V power supply minus 1 Volt Forward voltage drop). Now, we don’t want our LED to get more than 20 mA of current, so we need to calculate the resistance value. We can do this using Ohm’s law, which looks like this: R=U/I
By sticking to this law, we find that our needed resistance is: 4.0 ÷ 0.02, which equals 200 Ω.
Always remember to double-check the current limitation to keep things running smoothly!
Voltage divider
With resistors we can divide a voltage into several smaller voltages. Here you see a simple voltage divider. The input voltage is divided by the resistors into U1 and U2. You can calculate these with the following formulas:


Things get a little more difficult if you want to connect a circuit to the voltage U2 that may/should operate at U2.That connected circuit of course also uses current and is in fact an extra resistor, also called a load resistor, or R-load for short. Before you can calculate the resulting voltages, you have to calculate the substitute resistor of R2 and R-load. To do so we use the “resistors in parallel” formula:

Once we have calculated the resistances in this manner, the formula for U2 is back to basic.


Potentiometer
A potentiometer is an adjustable voltage divider. It’s made from a big resistor with a sliding contact on top. This is easy to visualise if you look at the symbol - the slider is shown by a pointed arrow. When you crank the slider up, the lower resistance goes up and the upper resistance goes down, and the opposite happens if you slide it down.
Anti “floating” resistor
If a copper wire is not connected to anything, you never know what voltage is on it. Such a “floating” line is very sensitive to interference, so you certainly don’t want loose ends in your circuits. Yet you make that mistake easier than you think. Look at this very simple circuit of a single switch:


What’s the voltage at IO1 when the switch is open? The wire running from the switch to S1 is in a “floating” state, meaning it can take on any value! If there’s a surplus somewhere, electrons may just hop into the wire or induction voltages might crop up.
Obviously, we don’t want that!
So, we always ensure that a line is connected to something. How? By linking the line to a known voltage with a resistor, usually the supply voltage or zero. If we connect it to pull the voltage up, we refer to that resistor as a pull-up resistor. Conversely, if we pull the voltage down to zero, we call it a pull-down resistor.
When we use a pull-up resistor to define the open line, we can be sure about the voltage at IO1 when the switch is open - it’s 5V. However, when the switch closes, P drops to 0V.
Choosing the value of such a resistor is all about finding a balance. The resistor decreases the total resistance of the circuit, which in turn consumes energy. Take a 10 Ω resistor for example. It makes the input less affected by disturbances, but it demands a hefty 0.5 A, thereby consuming 2.5 watts when the switch is closed! A more typically used value for a 5V supply is 10 kΩ, and for a 3V supply, it’s 3.3 kΩ.
Make sure that all nodes in your circuit always have a defined state (or value).
Colour code for resistors.
Standard leaded resistors feature four rings. The ring that’s further apart from the others is known as the tolerance ring.
Ensure that it’s on the right. Each colour represents a value from 0 to 9:
black stands for 0, brown for 1, red for 2, orange for 3, yellow for 4, green for 5, blue for 6, purple for 7, grey for 8, and white for 9.
Starting from the left, note down the number each ring denotes. Your usual resistors have ring 1, ring 2, some number of zeros, then a tolerance. Therefore, by applying this colour code, the top standard resistor in the picture measures 470 Ω, with a tolerance of 2%. Precision resistors, like the bottom one in the image, carry an extra ring: ring 1, ring 2, ring 3, a bunch of zeros, and then comes the tolerance.
This means the precision resistor shown is 39000 Ω (also known as 39 kΩ) with a tolerance of 2%.
If there’s no tolerance ring (i.e., it’s blank), then the resistor’s tolerance is a broad ± 20%. Thus, such resistors can deviate considerably from the specified value, so it is better not to use them. For SMD/SMC resistors, there’s a written code consisting of usually three digits: the first two digits provide the value and the last one indicates the multiplier.(Read the entry on SMC/SMD for more info!)

Switch
Usually you want to be able to turn the power in a circuit on or off. For example, you don't always leave the lamp in your room on. Fortunately, there is a switch in the wall that allows you to turn the lamp on or off. A switch usually consists of two pieces of conductive material that you can press together. Such as the momentary switch in the project "A light by your bed"
Because there are many different switches, there are also many different symbols. However, the principle is always the same. As soon as the conductors touch each other, they make contact and the circuit is closed. The conductors in a switch are therefore called contacts. So a switch has contacts that can be closed or opened. When the contacts are closed, the switch connects the connected wires to each other, but not when the contacts are open
There are many different switches. The most common are push switches, toggle switches and rotary switches. A toggle switch always remains in the position you set it to. A toggle switch is usually used to turn the light on or off. A rotary switch often has multiple decks, each with its own switching pattern. You can find them, for example, in the universal meter. Contacts can burn at high voltages and/or currents. In that case, special switches (switch rollers) are used that are filled with nitrogen or from which the air has been sucked out.
Schematic and circuit
Imagine yourself as the animal tamer at the circus. Only your animals are billions of years old, they are electrons. And you can make them do the most difficult tricks. There's nothing like jumping through a flaming hoop. To get them to do these tricks, we let the electrons flow through mazes of our own making in circuits. We place all kinds of obstacles, slides and many more electronic parts in those mazes. It is difficult to design such a maze if you cannot imagine it. That is why we make a very precise drawing of each maze. We call such a drawing a diagram. Each part has its own symbol and each connection is a line. Moreover, each part in the diagram has its own number/letter combination, so that you always know exactly which part you are talking about. You can easily draw on a piece of paper, but with large circuits this becomes difficult. With today's drawing software (CAD) you can easily draw a diagram. And immediately design printed wiring based on the diagram you have drawn. Fortunately, there is also an 'open source' project, so that you can have a good software package at your disposal for free. https://kicad-pcb.org/.
Serial and parallel
Resistors in series
If you connect resistors one after the other; in series, the total resistance increases, namely the sum of all resistances.
Series: R-total = R1 R2 R3 (and so on)
Together 16 Ω (remember: always larger than the largest)
Resistors in parallel
If you connect resistors next to each other, in parallel, the total resistance becomes smaller and smaller.
You can calculate the total resistance with the following formula:
Parallel: 1/R-total = 1/R1 1/R2 1/R3 and so on.
Together 2.6 Ω (remember: always smaller than the smallest)
The black lines are the connecting wires and have 0 Ω resistance. In the drawings I have drawn the highest resistance as the narrowest tube. In real electrical schematic drawings, the blocks are all the same and the value is simply stated next to or in it.
Series and parallel connection of capacitors
Condensator in series
If you stick capacitors together (in series), the capacitance becomes smaller and the alternating current resistance becomes larger.
In series connection, the replacement value consists of the addition of the reversed values:
1/C-total = 1/C1 1/C2 1/C3 (and so on)
(That is just the opposite of the resistance)
Capacitors in parallel
If you connect capacitors in parallel, the capacitance increases. This is easy to understand because the AC voltage across the capacitors is the same everywhere and the plate area increases every time you connect an additional capacitor in parallel.
For the replacement capacity C of the parallel connected capacitors C1 to Cn, we add the capacitances of the capacitors together.
C-total = C1 C2 C3 (and so on)
Series and parallel connection of coils
Inductors are not as easy to calculate as resistors and capacitors. Coils are sensitive to magnetic fields, but they also create them when you pass current through them!
So if you place coils one behind the other or next to each other, they will always feel each other's magnetic field.
Coils in series
Because the self-inductance of a coil is directly proportional to the number of turns, the formula for a series connection is simple:
L-total = L1 L2 L3 and so on.
The DC resistance also adds up, but the parasitic capacitance actually decreases. But due to the magnetic fields of the coils connected in series, the result of the formula is not accurate.
Coils in parallel
There are no simple calculation rules for connecting coils in parallel. Coils owe their alternating current resistance to the fact that they have to build up a magnetic field that is consistent with the current flowing through the coil. Unfortunately, that magnetic field also affects the coils that are placed next to a coil. If we forget that for a moment, you could use the following formula:
What is also possible is that the coils lie completely in each other's magnetic field. If the direction of their fields is the same, the parallel connection will have no consequences for the inductance. The direct current resistance does of course decrease.
If the direction of their fields is opposite, they cancel each other's inductance! If they are also of different values, currents will flow between them, which can cause them to become hot and break! It is therefore important to measure series and parallel coils in practice.
There are still parts with legs.
Fortunately, because for us inventors it is very easy to quickly put something together on an experimental board. Huh, an experiment board? What is that?
Experimental plates are made especially for hobbyists, which are thick plastic plates with holes under which copper springs are located. These springs are connected to each other in rows, so that you can quickly assemble a circuit. The official name is breadboard and you are definitely going to need one, luckily they are not expensive. In the photo you see a breadboard with 2 x 20 rows of 5, connected to each other, holes and below and above power lines always divided into groups of 5. In the top part of the drawing I have shown with lines how the copper springs are connected. :
In row 1, a, b, c, d and e are connected. And also f, g, h, i and j. This is exactly the same for every row. At the red and blue power lines you can see that 5 holes are connected one below the other. As an example: The thick red wire from the left is connected to the resistor via the plus power pins. The other side of the resistor is connected to the LED via row 8. The other leg of the LED is in row 10. Row ten is connected to the negative power pins with a blue wire and the thick blue wire is connected to that. If you connect a battery to the red and blue wire, the LED will turn on.
Soldering
Metals become liquid when you heat them. Metals do not all have the same melting point. Copper only melts at 1080 °C. Silver melts at 960 °C and tin at 230 °C. When you mix metals (called alloying), the mixture (alloy) does not have a precise melting point, but first becomes viscous and then increasingly liquid as the temperature continues to rise. Nowadays we use a mixture of tin and silver as solder. You can liquefy solder with a soldering iron (a heated point of metal with a high melting point). If you hold that liquid metal mixture against another metal with a higher melting point, an alloy is also formed at the interface. If you then allow the metals to cool at rest, they will be mechanically and electrically well bonded together.
We use this when we want to solder parts together or on a printed circuit board. Tin/silver solder can be easily processed at approximately 380°C. Unfortunately, your soldering iron also loses atoms to the hot liquid, so that it is slowly 'eaten'. Furthermore, liquid metal can very easily combine with the oxygen in the air (oxidize). Metal oxides conduct heat and electricity very poorly, so we cannot use them. That is why an anti-oxidant (flux) is added to the solder. In modern solder, this agent is already in the solder wire. It is useful to look at an online soldering course or demonstration. This way you quickly understand how to do it. Allowing good flow and not using too much solder are probably two important instructions.
1. the switch is closed and the coil starts up. An increasing current flows through the load resistor. The diode is turned off.
2. The switch is open and the coil can deliver the stored energy to the load resistor thanks to the diode. The diode is conducting. A decreasing current flows through the load resistor. By choosing the switching times carefully and absorbing the voltage variations with a capacitor, we can determine the output voltage.
Transformer
We reduce an alternating voltage with a transformer, two very well-coupled coils of different values. The symbol of a transformer consists of two coils lying flush against each other, often with one or two lines in between to indicate that it contains a (soft iron) core. Because there are many different transformers, with many or few windings, you will also find many variations on the symbol. A winding is exactly one wire loop of a coil. By changing the number of windings we change the voltage and maximum current of the transformer coils.
As an example, a mains transformer with three output voltages (6V, 9V and 12V) and a maximum power of 12V, 0.5 ampere. You can see the symbol next to this. A mains transformer has many thin windings on the primary side of the mains. On the secondary side one or more coils with a thick wire and relatively few windings. Apart from losses of energy (in heat), the primary power is equal to the secondary power. A primary coil of 230 VAC at 1 ampere can therefore supply almost 230 Watts at the output. A good transformer is quite efficient up to 97%.
Transistor in MOSFET
Transistor and (mos)fet are semiconductors with three connections. A large current can flow between two of those connections, the third connection serves to regulate that current. Transistor and mosfet have a completely different internal structure. Both have their pros and cons. In transistors the three connections are called; Collector, Emitter and Base. The basis is the control input, the main current runs between Collector and Emitter.
With the Mosfet the connections are called Drain, Source and Gate. The gate is the control input, the main current flows between drain and source
See the symbols opposite.
remember: transistor = current controlled mosfet = voltage controlled
There are two types of each, an N-type and a P-type. In the NPN transistor, the emitter is the output of the large line and the collector is the input. With the PNP transistor it is the other way around, which you can easily see from the direction of the emitter arrow.
With the Mosfet, the current flows from drain to source with the N-channel type and from source to drain with the P-channel type.
De NPN transistor
On the left you see the water model of an NPN transistor. The main channel is closed with a plate with holes. There is a rubber flap with holes on the plate, but offset in such a way that the channel is closed. When we now blow water through the thin pipe on the side, the rubber flap comes loose from the metal plate and water can flow through the main pipe. The more water you send through the side entrance, the greater the distance between the rubber flap and the metal plate becomes, so that much more water can flow. At a certain point the cloth and plate are so far apart that the maximum current flows; more power steering from the side makes no sense. When I had completed the water model, there would also be a check valve at the bottom of the transistor, like in the diode. The water cannot flow back. Since the transistor is a controllable diode, it also has a forward voltage drop between the base and the emitter. This voltage drop varies from 0.5 to 0.9 V. In our sums we always assume 0.7 V in the formula: VB – VE = 0.7 V
The transistor is therefore a large diode tube that you can open by allowing current to flow into the large tube through a small tube. The collector is the entrance to the large tube. The emitter is the exit of the large tube. This is where the current comes from that enters via the collector and the base. In the formula: IE = IB IC
How far the large tube opens due to the small auxiliary current through the base varies per type of transistor. We call that the current amplification factor and the symbol is ß. By multiplying the base current by the current gain you get the corresponding collector current. In the formula: IC = ß 0.2 V to as much as 0.5 V. With large currents, a transistor therefore becomes quite hot, and much hotter if it is only half open. That is why a transistor is then cooled. The properties of a transistor are recorded on a data sheet by the manufacturer. There you will find the maximum voltage between collector and emitter, the maximum current, the maximum power and the gain factor of the transistor. The maximum frequency at which the transistor still works is often also mentioned.
Of N-MOSFET
With the N mosfet, two grids lie on top of each other, precisely in such a way that they close each other's holes. So no water can flow. If I now apply pressure through the side on the top grille, it slides to the side and the holes are exposed. The further I slide, the more water can flow. Finally, the holes are exactly above each other and the maximum current has been reached. When I stop applying pressure, the top plate springs back and the power shuts off. The current cannot flow back with the MOSFET either, but the MOSFET does not have a built-in diode. This also means that there is no fixed threshold voltage. On the contrary, you should think of the mosfet as an adjustable current source. Each gate voltage has a fixed channel opening. The control voltage of mosfets is therefore variable and ranges from the minimum gate voltage to 10 or more volts. The Mosfet requires minimal pressure to slide the valve open. This tension varies widely. For a Mosfet, the minimum gate voltage VGS is therefore stated at which it will still open. Please note: this can also be 10 V or more. If the gate voltage rises above VGS, the mosfet will open further as the gate voltage increases. At a certain voltage the mosfet is fully open. A very small internal resistance remains, with most mosfets a few to tens of mΩ. That is why mosfets are very suitable for switching large currents. The voltage loss across the small internal resistance is very small, so is the dissipated power. As an example, a mosfet with an ON resistance of 12 mΩ has a voltage loss of 10x0.012 at 10 A. = 0.12 V so a power of 1.2 Watts. A transistor with a 0.3 V loss would produce no less than 3 Watts of heat. You can also find all important information on the data sheet for mosfets.
It is now clear to you that there are many variations of all parts. This also applies to the BJT and the MOSFET. Fortunately, there are many transitors and mosfets that are pretty much universal and are the most commonly used.
Transistors and MOSFETs play a major role in electronics; virtually everything is built with it. You can use them as switches, memory elements, amplifiers and much more. You will encounter a number of practical applications in circuits.
Basis transistorschakelingen
There are three basic circuit diagrams for transistors. The common emitter circuit or GES, the common base circuit or GBS and the common collector circuit or GCS. The most commonly used is the common emitter circuit and is therefore explained further below.
The common emitter circuitHere you see an ordinary NPN transistor in conduction. There are 2 circuits: the base-emitter circuit (the red arrows) and the collector-emitter circuit (the purple arrows). The base is supplied with power via R1. Ohm's law applies to R1, so the current through R1 (and the base) is equal to 4.3/47000 = 0.09 mA. The collector current is then ßX0.09 mA = 200x0.09 mA = 18 mA. The emitter current is then of course 18 0.09 = 18.09 mA. The collector resistance is 0.018*220 = 3.96 V (Ω's law U = I*R). The power supply pushes the current through the circuits, so the current flows through the power supply back from 0 to 5 V. This circuit can be used for many fun inventions.
Because the emitter is at zero, it is used for both the input and the output, hence the name: 'common emitter circuit'.
Here you see the PNP transistor in common emitter circuit. It takes some getting used to, but as you can see, the transistor does everything the same as the NPN transistor, only exactly in reverse. The emitter is connected directly to the 5 V. The 5 V line is now the common line for input and output. The base is always 0.7 V lower than the emitter and the currents are therefore opposite. You will discover that combining NPN and PNP offers many possibilities.
The power line is a virtual zero for all signals. The power supply ensures that the supply voltage always remains the same (5 V in the example). So if an alternating voltage signal arrives on the power supply line, it will be short-circuited to zero via the power supply.
If you apply an alternating current variation to the input of a GES (the base), it will appear in reverse at the output (the collector). So the GES is an inverter!
Multiplication factor
Electronics often works with very large and very small numbers. That is why multiplication factors are used. You have known some of them for a long time, such as kilo for 1000 times. A kilogram is 1000 grams, a kilometer is 1000 meters and a kilo-Ω (kΩ) is 1000 Ω. Here you will find a handy overview of all factors used in electronics. The custom is to paste the symbol directly in front of the unit name. 1 µH = 10-6 Henry, 1 MgΩ = 106 Ω, and so on.
Resistance
As the name suggests, resistors resist current, in other words resistors hinder current. the greater the value of the resistance, the more difficult it is for current to pass through.
The value is given in the unit Ohm, usually abbreviated to the Greek omega sign: Ω. Here you see the European and American symbol for resistance. In the diagram the value is stated next to or in the resistor. A resistor has a value of 1 Ω if exactly 1 A of current flows when you apply exactly 1 V voltage across the resistor. Nowadays resistors can be made very precisely, with margins of error of less than 0.1%!
There are many different types of resistors, depending on the application.
You will use the models shown here the most. On the left the normal resistor with legs and on the right an SMD resistor that can be soldered directly to the printed circuit board thanks to the metal edges.
The water model of resistance
This is the simplest water model: compare a resistor with a pipe through which water flows. The narrower the pipe, the more difficult it is for water to flow through it and therefore the higher the resistance value.
Wet van Ohm
Current will only flow through the resistor if a voltage is applied to the pins. The more voltage, the more current will flow, but the greater the resistance, the less current will flow.
You can immediately see this in Ohm's law.
Greater voltage means greater current, greater resistance means lesser current.
Conversely, we also know what voltage is across a resistor if we know the current and resistance: U = I x R.
And finally, we can calculate resistance if we know the voltage and current. R = U/I
This applies to any resistor anywhere in a circuit!
Power of a resistor
Resistors convert the voltage difference into power in the form of heat. A resistor becomes warmer as the voltage increases and also as the current increases.
You can immediately see this in the formula for the power P:
P = U x I
Where P is the generated power in Watts, U is the voltage across the resistor in Volts and I is the current through the resistor in A.
The heat that is generated must be properly dissipated, otherwise the resistance will become too hot and could break.
Always ensure that you have a resistor of the correct power and sufficient cooling.
Basic applications of resistance
Current limitation
Resistors are often used in series with other components to limit the current through that component. An example of this is the following LED control.
During conduction, a voltage (forward voltage) of 1 V falls across this LED. The LED works best at a current of 20 mA. The voltage across the resistor is therefore 4 V when current flows through the LED. We want to limit the current to 20 mA, the resistance value now follows from Ω's law:
R=U/I
The resistance must therefore be: 4: 0.02 = 200 Ω
Always ensure proper current limitation to protect your components. Keep in mind that the power is now largely generated in the resistance. In the example, the power in the resistor is 4 x 0.02 = 0.08 Watt.
Voltage divider
With resistors we can divide a voltage into several smaller voltages. Here you see a simple voltage divider.
The input voltage is divided into U1 and U2 by the resistors. You can calculate this with the following formulas;
It becomes a bit more difficult if you want to connect a circuit to the voltage U2 that may/must operate on U2. Of course, that circuit also uses current and is therefore in fact an extra resistor that we also call a load resistor or Rlast for short. The bottom resistor now consists of the parallel connection of R2 and RLast.
This makes the formulas a little more complicated, but if you look closely, it's not that bad, right?
Anti “floating” resistance
If a copper wire is not connected to anything, you never know what voltage is on it. Such a 'floating' pipe is very sensitive to malfunctions. So you certainly don't want any loose ends in your circuits. Yet that happens easier than you think. Just look at this very simple circuit of 1 single switch:
What is actually the voltage on IO1 when the switch is open? The line from the switch to P 'floats' and can therefore assume any value! Electrons can simply jump into the wire if there is a surplus somewhere or induction voltages can occur.
Of course you don't want that at all!
That is why we ensure that a pipe is always connected to something. We do this by connecting the line with a resistor to a known voltage, usually the supply voltage or neutral.
If we increase the voltage, we also call that resistance a pull-up resistance. If we pull to zero, it is called a pull-down resistor.
In the circuit shown here we know exactly what the voltage at P is, thanks to the pull-up resistor: 5 V. When the switch closes, P becomes 0V.
The choice of the value of such a resistor is always a compromise. The resistor reduces the total resistance of the circuit and therefore also uses energy. A resistor of 10 Ω in the example would make the input very insensitive to interference, but when the switch is closed it requires no less than 0.5 A and therefore 2.5 Watt! A common value for a 5 V supply is 10 kΩ, for a 3 V supply 3.3 kΩ. Make sure that all nodes always have a value.
Color code for resistors.
The standard resistors have four rings. One of those rings is at a greater distance, that is the tolerance ring.
Hold it to the right. The color values run from 0 to 9, black = 0, brown = 1, red = 2, orange = 3, yellow = 4, green = 5, blue = 6, purple = 7, gray = 8 and white = 9
We count from the left: Write down the number per ring. Standard resistors have ring 1, ring 2, a number of zeros in ring 3 and a tolerance.
The upper standard resistance is therefore 470 Ω with a tolerance of 2%
Precision resistors have an extra ring: ring 1, ring 2, ring 3, a number of zeros in ring 4 and a tolerance.
The lower precision resistance is therefore 39000 Ω, that is 39 kΩ with a tolerance of 2%
If the tolerance ring is missing (blank), the resistor has a tolerance of ± 20%. Now a resistor may deviate a little bit, but it is better not to use these resistors.
Solar cell
You already knew that you can make light with electricity. But it is also possible to convert light energy back into electrical energy. And we have an inexhaustible source of energy in the sky: the sun. There are many ways to use solar energy, but the solar cell is an electronic way. Solar cells are made in such a way that incident sunlight causes a voltage on the connections of the solar cell. Unfortunately, the return is not very high. A maximum of 20% of the incident light is (currently) converted into electricity. But a lot of people are working on that. One invention after another ensures that the return is increasingly higher. How exactly a solar cell works is so complicated that the famous scientist Albert Einstein had to be involved to explain it. For us it is enough for the time being that we know it works. The cheap Chinese garden lights all contain solar cells. These lights rust quickly and are then replaced after a year. A shame for the environment, but good for us: the solar cells are usually still fine to use!