One-sentence summary
A battery is a small store of energy that powers our electronic circuits; choosing the right type, connecting it with the correct polarity and avoiding heat and short circuits are the basics of working safely.
Why does it matter?
In robotics and electronics, almost every circuit needs a power source, and very often that source is a battery. A battery looks small, but it holds real energy. Used correctly, that energy lights an LED or spins a motor. Used incorrectly, a battery can get hot, leak fluid and, in rare cases, cause harm.
The good news is that battery safety comes down to a few clear rules. Learn them, and you protect both yourself and your project. Every battery example here is low-voltage and made for learning. We never use a wall socket, mains electricity or exposed wiring. Mains electricity is dangerous for this age group and is not the subject of these lessons.
Short definition: Battery safety is knowing how to use, store and dispose of a battery without causing risks such as heat, short circuits and leaks.
Getting to know battery types
Knowing your power source is the first step to using it safely. We mostly use low-voltage sources.
Alkaline cells (AA and AAA)
These are the batteries we see most often. A single AA cell gives about 1.5 volts. In robotics kits we usually connect several one after another.
Example: Connect 2 AA cells in series and you get about 1.5 V + 1.5 V = 3 V. Connect 4 in series and you get about 6 V. Boards like the micro:bit often run from a 2×AA (3 V) battery holder.
USB power
The USB port on a computer or a power bank gives 5 volts. Powering boards such as Arduino and micro:bit through a USB cable is safe and practical, and USB is low-voltage by design.
Lithium batteries (the type to handle with care)
The rechargeable lithium batteries in phones, power banks and some robot kits store a lot of energy. That makes them powerful but also more sensitive. Always use them with an adult nearby, stay present while they charge, and never open or pierce them.
Three big risks and how to prevent them
1. Short circuit
A short circuit is a direct path between a battery's plus (+) and minus (−) terminals that skips the parts in the circuit, usually through a bare wire or a metal object. When it happens, a very large current flows and the battery heats up quickly.
Example: If you drop a loose cell into a pocket with metal keys, a key can touch both terminals at once. That is a short circuit, and the battery can get hot. So keep spare batteries away from keys and coins.
Ways to prevent it:
- Never join a battery's two terminals with metal.
- A circuit should always have a path that runs through the parts.
- When you connect an LED, always use a current-limiting resistor.
2. Overheating
A battery may get slightly warm while working, and that is normal. But if it gets too hot to hold, something is wrong. Heat is often a sign of a short circuit or a wrong connection.
Rule: If a battery gets unexpectedly hot and it is safe to touch, switch the circuit off; if not, tell an adult right away. Do not throw a hot battery into water or the bin.
3. Wrong polarity (reversed connection)
Every battery has a plus (+) and a minus (−) terminal. If you connect the circuit backwards, some parts will not work and others can be damaged. An LED, for example, only lights up the right way round.
Rule: Match the + and − marks on the holder with the marks on the battery. Check twice before connecting.
A simple resistor calculation for an LED
Connecting an LED straight to a battery is a common mistake. The LED can draw too much current and burn out, so we add a resistor to limit the current. For this we use Ohm's law: R = V / I.
Example: We want to light a red LED from 5 V USB power. A red LED drops about 2 V across itself, so the voltage across the resistor is 5 V − 2 V = 3 V. Let us choose a safe current of 0.02 A (20 mA).
Given:
Source voltage V_source = 5 V
Voltage across the LED = 2 V
Voltage across resistor = 5 V − 2 V = 3 V
Target current I = 0.02 A (20 mA)
Ohm's law: R = V / I
R = 3 V / 0.02 A = 150 ohms
If we do not have exactly 150 ohms, a slightly larger resistor (for example 220 ohms) is safe; the LED shines a little dimmer but draws less current.
The circuit as a text schematic
Below is a simple LED circuit as a text schematic. Electricity leaves the battery's plus terminal, passes through the resistor and the LED, and returns to the minus terminal.
[Battery +] ──> [Resistor 220Ω] ──> [LED anode +] ──> [LED cathode −] ──> [Battery −]
Symbols:
Battery : long line = +, short line = −
Resistor : rectangle or zig-zag line
LED : arrow shows current direction; long leg = anode (+)
The resistor always sits on the current path, before or after the LED. Forget it, and the LED is left unprotected.
Spotting damaged and swollen batteries
Sometimes a battery shows from the outside that something has gone wrong. Recognising these signs is very important for safety.
- Swelling: If a battery is puffed up or looks like a balloon, do not use it. This is a serious warning, especially in lithium batteries.
- Leaking: If there is white powder or sticky fluid on the battery, keep it away from your skin and eyes and ask an adult for help.
- Bad smell or colour change: If there is a burnt smell or a change in colour, switch the circuit off.
- Dents or holes: A physically damaged battery is not safe.
If you see any of these signs, do not use the battery and show it to an adult. Do not put it in the normal bin; follow the recycling path below.
Correct storage and recycling
Batteries need to be stored correctly even when they are not in use.
- Keep them in a dry, cool place away from direct sunlight.
- You can put tape over the terminals of spare batteries to prevent short circuits.
- Keep batteries away from metal objects such as keys and coins.
- Do not mix old and new batteries in the same holder.
When batteries reach the end of their life, they do not go in the normal bin, because the materials inside can harm the environment. Instead, they go into the used-battery collection boxes found in shops and schools. Take swollen or damaged lithium batteries to these points too.
Mini practice
With an adult supervising, gather a 2×AA (3 V) battery holder, one red LED, one 220-ohm resistor and connecting wires.
- Place the batteries in the holder with the correct polarity (so
+and−match). - Plan the wires first: Battery + → resistor → LED long leg → LED short leg → Battery −.
- Connect the resistor before the LED. Do not forget it.
- Make the connection and watch the LED light up.
- After a few seconds, check the battery with your hand: is it overheating? If not, the circuit is running safely.
Write in your notebook: if the LED does not light, check the polarity first, because an LED only works the right way round.
Common mistakes
Connecting an LED without a resistor
Wrong: Connecting an LED straight to the battery. Better: Always add a current-limiting resistor.
Joining the battery terminals with metal
Touching a wire or metal object to both terminals creates a short circuit and heats the battery. Store spare batteries so their terminals are not exposed.
Mixing up the polarity
Connecting without checking the + and − marks can damage parts. Check twice before connecting.
Carrying on with a swollen battery
Using a puffed-up battery because it "still works" is risky. Do not use it; place it in a special collection box.
Safety note
- These lessons use only low-voltage sources: cells (2×AA, 3–6 V), USB (5 V), micro:bit and Arduino.
- Never use a wall socket, mains electricity or exposed wiring. Mains electricity is dangerous and is not the subject of these lessons.
- Always have an adult nearby with batteries, motors, soldering, cutting tools and hot surfaces.
- Connect the polarity correctly, use a current-limiting resistor with parts such as LEDs, and avoid short circuits.
- Lithium batteries store a lot of energy; be especially careful about heat and short circuits, and never open or pierce them.
- Do not use a swollen, leaking or damaged battery; place it in a special used-battery box.
Lesson summary
- A battery is a low-voltage store of energy for circuits; a wall socket is never used in these lessons.
- The three big risks are short circuits, overheating and wrong polarity; all are prevented by simple rules.
- To limit current in parts such as LEDs, we choose a resistor with Ohm's law (
R = V / I). - Swollen, leaking or dented batteries are not used and are shown to an adult.
- Batteries are stored dry and away from metal, and go to a used-battery box at the end of their life.
Check questions
- What is a short circuit, and why does it heat the battery?
- Why do we use a resistor when connecting an LED to a battery?
- Calculate the resistor needed for a 5 V source, a 2 V LED and 20 mA of current.
- What should you do when you see a swollen lithium battery?
- Why don't we throw used batteries in the normal bin?
Answers
- A direct path between the plus and minus terminals that skips the parts. A very large current flows through it, so the battery heats up quickly.
- The resistor limits the current through the LED. Without it, the LED draws too much current and is damaged or burns out.
- The voltage across the resistor is
5 V − 2 V = 3 V. With Ohm's law,R = 3 V / 0.02 A = 150 ohms. If 150 ohms is not available, a slightly larger value such as 220 ohms is safe. - Do not use it, charge it or open it. Show it to an adult and place it in a special used-battery collection box.
- The materials inside can harm the environment and water, so they go into the used-battery boxes found in shops and schools.
Source and verification note
For “Battery Safety”, verification focuses on whether the relationship between Getting to know battery types and USB power remains consistent across examples. Activities are designed only for low-voltage direct-current circuits; mains electricity is not used. Component values must be rechecked for the actual circuit, and connections should be reviewed with an adult before power is applied.
Next lesson
Reading a Circuit Diagram: We will learn the schematic symbols for parts such as batteries, resistors and LEDs, and read a simple circuit drawing step by step.