Back To Basics Episode 6: The Absolute Beginners Guide To Capacitors


Welcome back to Back To Basics, our journey to master electronics one little bit at a time.


Think of your favorite gadget. Your phone, your laptop, even your car. Now, imagine if they just… stopped working. Not because the battery died, but because they couldn’t handle the noise of their own electricity.


Most people know about batteries but, today, we are talking about the unsung hero of the circuit board: the capacitor. It’s the component that can dump its entire energy load in a millisecond, smooth out a jagged power supply, and even keep your clock running when you pull the plug.


Today, in back to basics, we dive into the world of electrostatic storage. Let’s find out how these little cans and disks actually work.

What Is A Capacitor


Basically, a capacitor is a passive component that stores energy in an electric field. Unlike a battery, which uses a slow chemical reaction, a capacitor is all about speed.


To visualize this, imagine a plumbing system. If a battery is a huge water reservoir, a capacitor is a small pressure tank. It can’t supply water for hours, but if the main pump flickers for a second, the pressure tank kicks in instantly to keep the flow steady. It’s the ultimate shock absorber for electricity.


It is made of three main parts: two conductive plates, and an insulator in between, called a dielectric. When we apply voltage, positive charges pile up on one plate, and negative charges pile up on the other. The charges would like to reach each other, but the dielectric stops them. That tension is actually stored energy inside the capacitor in the form of an electric field generated by those charges.


We measure the ability to store charge in Farads. But, because a single Farad is actually a huge amount of energy, we most often use a small fraction of it: the millifarad, the microfarad, the nanofarad, and the picofarad.

Top Three Applications

Why do we actually use capacitors?

There are three big roles for them:

  • filtering and smoothing, where they turn bumpy DC voltages into a smooth and steady line.
  • energy storage, where they can provide a quick burst, for example for a camera flash or a subwoofer’s bass hit
  • signal coupling, where they allow AC signals, like music, to pass through a circuit, while blocking unwanted DC offset.


Now, not all capacitors are built the same. Here are three types that you’ll see the most often.


Ceramic capacitors: small, cheap, and non polarized, which means you can plug them either way. They look like little lentils and are perfect to deal with high speed filtering.


Electrolytic capacitors: these look like miniaturized soda cans. They hold a lot of energy but they are polarized, meaning they have a positive and a negative side. Hook them up backward, and things will get really messy. They are perfect for low speed filtering, for example in DC power supplies.


Film capacitors: Usually rectangular and green or red. These are very stable and great for audio circuits or high voltage power.

And, just to give you the full picture, here is a table I made where all the type of capacitors are listed.

In here, note that NP0 capacitors are a special kind of ceramic capacitors. Polystyrene and polypropylene are the typical dielectrics of film capacitors. Tantalum capacitors are a type of electrolytic capacitors, where the positive plate uses tantalum metal, and the dielectric is made oxidizing one side of the tantalum plate. As the other kind of electrolytic capacitors, these are also polarized.

Identify The Codes

OK, let’s say now we got a bunch of capacitors, all there sitting on the workbench. But how do we know which one is which? Unlike resistors, which use color bands, capacitors use numbers and letters printed on their body. The big problem is, different types of capacitors don’t speak the same language. And… yes, sometimes even same type capacitors don’t.

Let me tell you the most common ways to interpret the information on the capacitors cases.

And let’s start with electrolytic capacitors. They are the most straightforward, because they are physically larger, and the manufacturers have enough room to print the actual values directly on the side.

The capacitance is a number followed by the Greek letter mu and a capitol F, which stand for microfarads. For example, this one says 100uF. No math required.

Follows the maximum voltage rating, in this case 50V. Remember that you have to always use the capacitor at a voltage smaller than the rated voltage, or you’ll damage the capacitor.

Last, we have the polarity, this big stripe with the minus sign. That stripe indicates the negative lead of the capacitor. Note also that in an electrolytic capacitor, the negative lead is also shorter than the positive one.

Let’s now take a look at the ceramic capacitors. These capacitors are too small for full labels. Instead, they use a three digit code and their unit is always expressed in picofarads, or pF. The first two numbers are the value, and the third number indicates how many zeros you have to add to the previous two digits to provide their value in picofarad.

Additionally, when the number of picofarads is very small, in the order of only one or two digits, then the value can be directly expressed with those digits. In that case, we have only one or two digit numbers.

For example, on this one we read the digits 1-0-4. That means we have a 10 followed by 4 zeros. That gives us the number 100,000, so the value is 100,000 pF, or 100nF, or 0.1uF. And yes, we need a little math to interpret the values of these capacitors.

Here is another ceramic capacitor. This one has only two digits printed on it: 3-3. This means that the number 33 is the nominal value of the capacitor in pF.

Lastly, let’s take a look at a film capacitor.

These capacitors often use a mix. You might see a 3-digit code, like the ceramics, but you will also see a letter at the end. That letter represents the tolerance, or how accurate the nominal value actually is.

But wait, there is more: the rated voltage. This one can be expressed in three different ways. It can be written explicitly, or it could be missing, of there could be a code which is prefixed to the capacitor value.

If it is expressed in clear, then that is the actual rating.

If the voltage rating is not present at all, then it is 50V by default.

If it is encoded along with the capacitance value, then it can be one of those listed in the EIA standard. Here is the corresponding table for the most common.

As an example, the film capacitor above reads: 2A393J.

2A translates into a voltage rating of 100V; 393 translates into a value of 39,000pF, or 39nF, and the letter J at the end translates into a tolerance of 5%.

Here is the hole list of tolerances.


A pro tip for you now, valid for any kind of capacitor. If the text is rubbed off, or too small to read, or has any other problem that prevents you from reading it, don’t guess. Use a multimeter capable of reading capacitance. It will give you the live reading of exactly what that component is holding, and it’s the only way to be 100% sure before you solder the component in a circuit.

Pitfalls


Okay, now that we have covered some theory and some practical aspects, it’s time to take a look at what I call the ‘Wall of Shame’. If you stay in this hobby long enough, you will eventually blow up a capacitor. It’s almost a rite of passage! But to save you the jump-scare and the smell of burnt electrolyte, I want to show you the most common ways people accidentally kill or misuse their capacitors—and how you can avoid doing the same.
Here is my list #1 mistakes every beginner makes and how to fix or prevent them.

  • The polarity POP or: connecting an electrolytic capacitor backward. The consequence is that the internal dielectric breaks down, the electrolyte boils into gas, and pressure builds up until the safety vent bursts, or the whole capacitor pops. To prevent that, always look for the stripe on the side of the capacitor, which marks the negative lead, or look for the longer leg, which marks the positive lead.
  • Ignoring the voltage rating, or using a capacitor that is rated exactly for the voltage of the circuit or. worst, a capacitor with a smaller rating. In such a case, an excessive voltage can push the capacitor over its limits, causing it to leak or fail prematurely. Avoid that by always leave a safety margin. Use a capacitor rater 20 to 50% higher than the circuit voltage. If the circuit works at 12V, use a 16V or even a 25V capacitor.
  • The ghost charge. This has more to do with safety. Don’t assume a capacitor is off just because the device is unplugged. Capacitors, especially if large, can hold a dangerous charge for days or even weeks. Touching the leads can give you a nasty shock, or damage the multimeter if connecting the charged capacitor to it. Before handling the capacitor, discharge it. This can be safely done using a high value resistor ,like 1k, to bleed the energy off slowly.
  • Wrong type for the job, for example when using an electrolytic capacitor when a ceramic one should have been used instead. The result is usually an erratic behavior of the circuit. For example, using a large electrolytic capacitor near a micro-controller can cause the random reset of the micro-controller itself, because of the random electrical noise on the power line that the capacitor cannot get rid of. In such a case a small ceramic capacitor should be used for decoupling. Remember: electrolytic capacitors are good for bulk energy storage, ceramic capacitors are good for high speed noise filtering.
  • Soldering stress, or thermal shock. Holding the soldering iron on the capacitor leads for too long causes excessive heat that can dry out the electrolyte inside an electrolytic capacitor, of crack the ceramic layer of a ceramic capacitor, or melt the dielectric of a film capacitor. Always use a clean and tinned iron tip to be able to do make good soldered joints is a short time. You may want to see my video on soldering techniques for further information.

The Essential Capacitor Starter Kit

Before closing, here are some suggestions to create your own capacitors starter kit, an assortment of capacitors that covers 95% of the necessities for beginners projects, like Arduino, LED circuits, simple audio circuits, and so on. Start with a mix of ceramic and electrolytic capacitors. You can add more later.


Ceramic capacitors will be useful as non polarized noise killers. They are used for decoupling and filtering high frequency noise.
Useful values are:

  • 22pF, essential if you are building your own micro controllers, ad they are used in crystal oscillators.
  • 0.1 uF, the most common capacitor in existence. Every integrated circuit usually needs one of these right next to its power pin.
  • 1uF, good for general purpose filtering


Electrolytic capacitors will be useful as polarized power smoothers. These are bulk energy storage for power supplies. The most common values for beginner projects are:

  • 10uF, 25V or 50V. used for small scale power smoothing.
  • 100 uF, 25V. Great for stabilizing power rails in breadboard projects.
  • 1000uF, 25V. The big tanks. Used when dealing with motors or long LED strips of LEDs that pull a lot of current.

As an alternative, rather than buying individual values, search for capacitor assortment kits, on sites like Amazon, Adafruit, or Ali Express. They usually come in a plastic organizer box and are very cheap.

When buying a kit, look for capacitors rated at 25V or 50V. While 16V capacitors are smaller, a 50V capacitor can do everything a 16V one can, making it much more versatile for a beginner who might accidentally plug it into a 24V source.

Conclusion


So, there you have it: the humble capacitor. It is not just a tiny battery; it is the heartbeat and the filter of almost every circuit you’ll ever build.

I’ll see you in the next episode, and in the mean time…

Happy experiments!!!

Back To Basics Episode 5: Kirchhoff’s Laws – The Rules Of Circuits

Welcome back to Back To Basics, our journey to master electronics one little bit at a time.

So far, we have covered the essentials: safety, basic tools of the trade, and the important Ohm’s law, the foundational relationship between voltage, current, and resistance.


But what happens when circuits get more complex than a single resistor? What about parallel branches, multiple power sources, or a complex resistive network? We need a bigger, better set of rules. Today, we’re introducing the two most powerful, indispensable rules in circuit analysis: Kirchhoff’s Laws.

Named after physicist Gustav Kirchhoff, these laws are the foundation for everything we do next. By the end of this video, you’ll be able to analyze any basic series or parallel circuit and understand how energy and charge are conserved inside the wires.

KCL

Let’s start with the simplest concept, the one you can’t argue with: Kirchhoff’s Current Law, or KCL. KCL is all about the conservation of electric charge. It states that: The algebraic sum of currents entering a node (or junction) must be equal to the algebraic sum of currents leaving that node.


Think of it as a plumbing pipe junction, or a traffic merge lane. If you have 5 Amperes of current flowing into the junction, you must have 5 Amperes flowing out across all the outgoing paths. Charge can’t just pile up or disappear in a wire—it must be conserved. Simply put: What comes in must come out!


We call the meeting point of three or more wires a node. Mathematically, we express this as: The sum of currents entering the node equals the sum of currents leaving the node.


Let’s look at this simple parallel circuit.


We have a total current It leaving the battery. When it hits the first parallel junction (the node), it splits into two branch currents, I1 and I2. KCL immediately tells us that the total current is the sum of the branch currents.


So, It = I1 + I2. And here is the clever part: at the next node, I1 and I2 meet up again to form the original total current It, as it returns to the battery. KCL is your sanity check for all parallel circuits.

KVL


Let’s now talk about the other law, which is about the principle of energy conservation in a circuit: Kirchhoff’s Voltage Law, or KVL.
KVL governs the voltages around a closed loop—any path that starts and ends at the same point.


KVL states that: The algebraic sum of all the voltages around any closed loop in a circuit is equal to zero.


To understand the meaning of this statement, let’s use another analogy. Imagine a roller coaster, which works based on the physics concept of potential energy. The battery (the voltage source) is the lift hill that gives the car potential energy—a voltage rise. The resistors are the dips, loops, and brakes that use up or drop that energy—the voltage drops. When the car returns to the loading platform, its net change in height—its net potential energy—is zero.


In a circuit loop, the energy supplied by the source must be completely dropped across the components. If we trace the entire loop, the sum of voltage rises and drops must be zero.


In this simple series circuit, we have a source voltage (VS) and three resistors with voltage drops V1, V2, and V3 across them. If we trace the loop, always in the same circular direction representing the flow of the current, going from the negative to positive terminal of the battery is a rise, and going across each resistor in the direction of current flow is a drop.


KVL says:
Vs -V1 – V2 – V3 = 0


Rearranging this equation shows us that the source voltage is exactly equal to the sum of the voltage drops:
Vs = V1 + V2 + V3


KVL is the reason why the voltage splits up in a series circuit. The total energy has to be accounted for, and it must balance out to zero when you return to the start. If your KVL equation doesn’t equal zero, you’ve made a mistake!

Circuit Analysis Application


Now for the fun part: let’s put KVL, KCL, and our trusty Ohm’s Law together. This is where you unlock your circuit analysis superpower.


Here is a classic intermediate circuit: a series resistor, followed by two parallel resistors, all connected to a battery. We cannot simplify this down to a single equivalent resistance as easily. So… what do we do?

First, we look at the main node where the total current (IT) splits. KCL immediately gives us our first equation:

It = I2 + I3


Next, we apply KVL to the main loop. We have one voltage rise (Vs) and three drops: across R1, R2, and R3. Wait, we only need to account for the components in the loop.

Let’s apply KVL to the outer path: The source voltage minus the drop across R1 minus the drop across R2 must equal zero.

Vs – VR1 – VR2 = 0


And here’s the trick. We use Ohm’s law, V = IR, to replace the voltage drops with their corresponding currents and resistances.

Since It flows through R1 and I2 flows though R2, our final KVL equation becomes:

Vs – (It * R1) – (I2 * R2) = 0

Now we have two equations,

It = I2 + I3 and

Vs – (It * R1) – (I2 * R2) = 0


and we can create a third for the second inner loop:


Vs – (It * R1) – (I3 * R3) = 0


By substituting and solving this system of linear equations, we can find any unknown current or voltage in the circuit! This is the power of Kirchhoff’s Laws.

Conclusion


Today, we have learned that all complex circuits follow two simple, unbreakable rules: Charge is conserved (KCL), and energy is conserved (KVL). These are the cornerstone principles that every electrical engineer and technician uses daily.


In the next episode of Back To Back, we are going to examine a new component that can be used in electronic circuits: the capacitor. From there, a whole new world will open to us, filled with voltages and currents that change over time and can be used for many, many applications.


Happy experiments!!!

Companion Video:

Back To Basics Episode 4: Let’s Talk About Resistors

Hi there! Welcome to the fourth episode of Back To Basics, where we explore everything electronics from the beginning.

It is time to start learning about components, and what’s better than beginning with the ubiquitous resistor, a component present in each and every electronic circuit.

We will cover some theory, the math, and the major kind of resistors available on the market. All with a very simple approach that will help you understand what resistors are for, and which one to choose for your own projects and experiments.

Controlling The Flow


Before we get to the components, let’s look at the three ways materials behave electrically.

There are three fundamental kind of materials:

  • conductors,
  • insulators, and
  • resistors

Conductors allow current to flow very easily, like for example in copper wires. They have a high conductivity, which translates in a very low resistance.

Insulators are the opposite of conductors. They block the current flow, like for example with rubber or plastic. They have a very low conductivity, which translates in a very high resistance.

In between these two categories we have the resistors, which are capable of controlling the current flow. They lay in between the conductors and the insulators in terms of conductivity, having very specific values of resistance.

You can view resistance like a water pipe. Conductors are very large water pipes, which offer minimal resistance to the flow of water, here representing the electric current.

Insulators are totally clogged pipes, where the flow of water is totally stopped.

And finally the resistors, which are like water pipe of a specific section, so that they limit the flow of water to specified amounts.

The Fundamental Rule: Ohm’s Law


The math that governs the current flow through a resistor is called Ohm’s Law, and it is the most important concept in electronics.


Here is the formula:

V = I R

where:

V is the voltage, or the entity that forces the current to flow, which is measured in Volt; I is the current, or the flow rate of the charges, which is measured in Ampere; R is the value of the resistance, or the entity that opposes to the flow of current, which is measured in Ohm.

Resistor Calculations: Series And Parallel

Most of the time we need to create circuits with multiple resistances, connected in various ways. Two most common ways of connecting components are the series connection and the parallel connection.In both case, resistors can be replaced with an equivalent resistance.


Here is an example of two resistors, R1 and R2, connected in series. When resistors are connected this way, there is only one path for the current and the equivalent resistance R3 is just the sum of the resistances in series.


And here is an example of two resistors connected in parallel. In such cases, the current splits into multiple paths when it enters the parallel, and it regroups when it leaves the parallel. The equivalent resistance is the reciprocal of the sum of the individual reciprocal resistances.

Note the simplified formula on the right, only valid in the case of only two resistances in parallel.


You can see that when resistors are in series, the total resistance increases, while when the resistors are in parallel, the total resistance is smaller that the smaller resistor in the parallel connection.

Practical Example

Let’s put this information into practice.

Let’s say we have a 9V battery, a resistor, and a LED. Knowing that the current that must flow through the LED is 20mA, and that the voltage at the LED is 2V, what’s value of resistor we have to put in series to the LED to limit the current to the 20mA value?

Since the three components are all in series, the current will be the same through all of them. Since we want a 20mA current through the LED, then also the resistor will be traversed by a current of 20mA. Additionally, the volt at the resistor is given by the difference between the voltage value on the left and the one on the right. The voltage on the left is the battery voltage. The voltage on the right is the voltage required by LED, which is 2V.

Using Ohm’s law, we can therefore write:


So, in practice, if we want to power an LED using a voltage source of 9V, we need to put a resistor in series with a value of 350 Ohm.

Physical Components: Types Of Resistors


Let’s now take a look at the kind of resistors we can find on the market and how they are made.

We have two main categories based on the physical aspect of the resistors:

  • through hole resistors, or THT resistors, usually in the shape of a cylinder with two wires coming out of them, and
  • surface mounted resistors, or SMT (or SMD) resistors, usually in a cubic and small shape.


We can also categorize resistors as fixed or variable. All fixed resistors can be either THT of SMD resistors. The variable resistors can be mechanically variable, thermally variable, or electromagnetically variable.


A typical example of mechanically variable resistors are the potentiometers, which usually have three terminals, the usual two at their two ends, and a third one, connected to a sliding connector touching the resistive material between the two ends. Measuring between one of the two end terminals and the slider, we can obtain all the resistance values between zero and the nominal value of the potentiometer.


Thermally variable resistors are usually called thermistors. They have two leads, and their resistance value changes with the temperature.


An example of electromagnetically variable resistor is the photo-resistor, a resistor that changes its resistance with the intensity of the light.


The resistance value of resistors can be imprinted on the resistor itself in two different ways, depending on the kind of resistor. It can be just printed using only numbers, the last of which always represents the number of zeros following the other numbers. Or it can be printed using numbers and the letter R, which represents the decimal point. Or it can be imprinted in the form of colored bands.


Here are a few of examples of number representations:


And here is an example with numbers with a decimal point:

When using colors, instead, we can have from a minimum of 3 bands, to a maximum of 6.

Here is the decoding chart to interpret the resistance value, the tolerance and, eventually, other information. You can find similar charts with a simple google search.


One last classification of resistors is based on the material used to make them. We can have:

  • carbon film resistors, made depositing a thin layer of carbon, usually graphite, on a ceramic or paper substrate
  • metal film resistors, made of a thin layer of metal deposited on a cylindrical support


The final, but not the least important, specification about resistors is their power dissipation capability or power rating. The power rating depends on the type of material they are made and the type of material of their support, as well as their size and the presence of a aluminum heat sink. the numbers can vary from 1/8W, going to 1/4W, 1/2W, 1W, and so forth, up to the hundreds of Watt.


When calculating the value of a resistor, never forget to calculate also the power it will need to dissipate, and always choose a resistor that can dissipate at least that amount of power.

For example, let’s get back to our example of resistor limiting the current in a LED. To calculate the power dissipation, we can use either one of these formulas:


n our example, we know the value of the resistor and the current that flows through it, so we can write:


Therefore we can use a resistor capable of dissipating 1/8W, equal to 0.25W, since its rating is greater than the actual dissipated power.


Don’t forget: always use a resistor with a rating higher than the calculated power, or the component may burn or even explode.

Conclusion


Well, now you know the theory behind resistance, how to use Ohm’s Law, how to calculate series and parallel equivalents, and how to physically identify the component you need.


In the next episode, we will dive deeper into the Kirchhoff’s Laws, which build on top of everything we covered today.

Happy experiments!!!

By the way: here is the link to the corresponding YouTube video, which you may want to watch for completeness: