What is current? Electric current is the flow of electric charge past a point in a circuit. It is measured in amperes, or amps (A), and small currents in milliamps (mA). SparkFun's guide to voltage, current and resistance (opens in a new tab) puts it simply: current is the rate at which charge flows, and one amp is about 6.241 × 10^18 electrons passing a point every second.
Currents span a huge range. A red LED is tested at 10 mA in Kingbright's WP7113ID datasheet (opens in a new tab). An ESP32 chip draws 95 to 100 mA while its Wi-Fi listens, says Espressif's ESP32 datasheet (opens in a new tab). An electric kettle can draw up to 13 A, according to the Wikipedia article on kettles (opens in a new tab).
Current decides what works, what overheats and what hurts. Below: amps, AC vs DC, everyday currents, worked sums and why a chip's pin needs help to run a relay or a motor. New to electronics? Start with the 12 ideas you need before your first circuit.
What is current? Electric current in plain words
Picture a crowd walking through a gate. Count the people who pass the gate each second, and you have measured their flow. Current is the same count, but for electric charge going past one point in a wire.
In formulas, current has the letter I. The Wikipedia article on electric current (opens in a new tab) gives the rule for a steady flow:
I = Q ÷ t, or current = charge ÷ time.
Q is the charge in coulombs and t is the time in seconds. So 1 coulomb passing in 1 second is 1 amp. The same article explains where the letter comes from: the French phrase "intensité du courant", current intensity, which André-Marie Ampère used.
The water picture
SparkFun's Ohm's law tutorial (opens in a new tab) compares a circuit to a water tank with a hose. The water is the charge. The pressure is the voltage. The amount of water flowing through the hose is the current. Our guide to what voltage is covers the pressure side.
Current needs a complete loop
Current only flows round a closed path. Break the loop anywhere, with a switch or a loose wire, and the current stops everywhere in that loop at once. Our guide to open, closed and short circuits shows why.
The charge moves slowly, the signal moves fast
Flip a light switch and the lamp lights at once, so you might think electrons race round the wire. They do not. The electric current article (opens in a new tab) works out that in a copper wire carrying 5 A, the electrons drift at around a millimetre per second. SparkFun's What is Electricity? (opens in a new tab) explains why the lamp still lights straight away: the electric field acts on the whole circuit almost instantly, so every electron in the loop starts moving together.

What is an amp? Amps, milliamps and microamps
The amp is the unit of current. It is short for ampere and named after André-Marie Ampère, the French scientist whose 1820s experiments the old definition was based on, as the US National Institute of Standards and Technology (opens in a new tab) explains.
NIST also says how the amp is defined today. Since 20 May 2019 it rests on a fixed natural constant, the elementary charge: the charge on a single electron or proton. One ampere is one coulomb passing a point in one second, and one coulomb is about 6.241 × 10^18 elementary charges.
Most electronics use far less than an amp, so you meet smaller units.
| Unit | Symbol | Size | Where you meet it |
|---|---|---|---|
| Amp | A | 1 A | Kettles, heaters, motors under load |
| Milliamp | mA | 1/1,000 of an amp | LEDs, relay coils, a chip on Wi-Fi |
| Microamp | µA | 1/1,000,000 of an amp | Pull-up resistors, sleeping chips |
- Unit
- Amp
- Symbol
- A
- Size
- 1 A
- Where you meet it
- Kettles, heaters, motors under load
- Unit
- Milliamp
- Symbol
- mA
- Size
- 1/1,000 of an amp
- Where you meet it
- LEDs, relay coils, a chip on Wi-Fi
- Unit
- Microamp
- Symbol
- µA
- Size
- 1/1,000,000 of an amp
- Where you meet it
- Pull-up resistors, sleeping chips
Table note: the milliamp is defined as 1/1,000 of an amp in NIOSH's electrical safety student manual (opens in a new tab); the examples come from the everyday-currents table further down.
To convert, move the decimal point three places. 0.020 A is 20 mA. 75 µA is 0.075 mA.
Which way does current flow? Conventional current vs electron flow
This puzzles almost every student. Arrows on circuit drawings point from + to −. Yet in a metal wire, the things that move are electrons, and they go from − to +.
Both are right. They describe the same flow from two sides. The electric current article (opens in a new tab) says conventional current is defined as the direction positive charges would flow, and that electrons, being negative, flow the opposite way. A convention was needed that works whatever the moving charges are, because in some materials they are not electrons.
The maths is the same either way. So when a datasheet says current flows into an LED's anode, it means conventional current. The LED in our guide to how LEDs work uses the same arrows.
AC current vs DC current
Current comes in two kinds. SparkFun's AC vs DC tutorial (opens in a new tab) defines them: in direct current (DC) the charge flows in one direction only, while in alternating current (AC) it changes direction again and again.
| DC current | AC current | |
|---|---|---|
| Direction | One way only | Swaps back and forth |
| Typical sources | Batteries, USB ports, phone chargers' outputs | Wall sockets, power stations |
| Where it is used | Almost all electronics projects and parts | Delivering power to homes and offices |
| Frequency | None | 60 Hz in North America; 50 Hz in Europe and Pakistan |
| Wall voltage | Not applicable | 120 V in North America; 220 to 240 V in Europe; 230 V in Pakistan |
- Direction
- DC current
- One way only
- AC current
- Swaps back and forth
- Typical sources
- DC current
- Batteries, USB ports, phone chargers' outputs
- AC current
- Wall sockets, power stations
- Where it is used
- DC current
- Almost all electronics projects and parts
- AC current
- Delivering power to homes and offices
- Frequency
- DC current
- None
- AC current
- 60 Hz in North America; 50 Hz in Europe and Pakistan
- Wall voltage
- DC current
- Not applicable
- AC current
- 120 V in North America; 220 to 240 V in Europe; 230 V in Pakistan
Table note: definitions, uses, North America and Europe from SparkFun's AC vs DC tutorial (opens in a new tab); Pakistan's 230 V and 50 Hz from Wikipedia's mains electricity by country (opens in a new tab).
A student learning board runs on DC. The MakerBuddy IoT Kit V1.0 takes 5 V DC from a USB cable, as the technical details page explains. Our guide to AC vs DC and why electronics run on DC goes further.
How current, voltage and resistance work together
Current never acts alone. Voltage pushes it, and resistance holds it back. Ohm's law ties the three together:
I = V ÷ R, or current = voltage ÷ resistance.
In SparkFun's Ohm's law tutorial (opens in a new tab), 1 V across 1 Ω drives 1 A, and the same 1 V across 2 Ω drives only 0.5 A. More resistance means less current. Our guides to what a resistor actually does and Ohm's law with real examples go deeper.
A part takes the current its resistance allows at the voltage it gets. A bigger power supply does not force more current into it. It just has more to give if something asks.
Current and voltage together give power, measured in watts. SparkFun's electric power tutorial (opens in a new tab) finds the power in any part by multiplying the voltage across it by the current through it: P = V × I.
Worked example 1: counting electrons in an LED
How many electrons pass through a red LED at its 10 mA test current, from the Kingbright datasheet (opens in a new tab)?
- 1
Change mA to A
10 mA = 0.010 A.
- 2
One amp is about 6.241 × 10^18 electrons per second
, from SparkFun's Ohm's law tutorial (opens in a new tab).
- 3
Multiply
0.010 × 6.241 × 10^18 = 6.241 × 10^16 electrons per second.
That is about 62 million billion electrons every second, through one small LED.
Worked example 2: the current an LED takes from a 3.3 V pin
A red LED needs about 1.9 V across it, says the Kingbright datasheet (opens in a new tab). Put it in series with a 150 Ω resistor on a 3.3 V pin.
- 1
Voltage left for the resistor
3.3 − 1.9 = 1.4 V.
- 2
Current, by Ohm's law
1.4 ÷ 150 = 0.0093 A, or 9.3 mA.
- 3
Check the LED
under its 30 mA maximum. Safe.
- 4
Check the pin
under the ESP32's default of about 20 mA in the ESP32 datasheet (opens in a new tab). Safe.
The resistor is what sets the current. Parts in one loop share one current, as our guide to series vs parallel circuits shows, so it does not matter which side of the LED the resistor sits.
Worked example 3: a kettle on a 230 V socket
Turn the power formula round to find current: I = P ÷ V. The kettle article (opens in a new tab) gives kettle elements as 2 to 3 kW, that is 2,000 to 3,000 W.
- 1
A 2,000 W kettle on 230 V
2,000 ÷ 230 = about 8.7 A.
- 2
A 3,000 W kettle on 230 V
3,000 ÷ 230 = about 13 A.
The second answer matches the article's "up to 13 A". It is about 1,300 times the LED's 10 mA, from a socket that can kill. Mains is no place for student projects.
Why a GPIO pin cannot drive a motor directly
A GPIO pin is one of the chip's general-purpose input and output pins. It is built to send signals, not to power things. The table showed it: an ESP32 pin gives about 20 mA by default, and the ESP32 datasheet (opens in a new tab) quotes about 40 mA only with the drive strength turned to maximum. An Arduino UNO R3 pin is rated at 20 mA in its tech specs (opens in a new tab).
Motors, relay coils and servos want more. The MakerBuddy kit shows two ways around the problem, both taught in the lessons.
The relay: a pin switches a transistor, the transistor switches the coil
Lesson 15 on relay control explains the chain. When the ESP32 sets pin 23 to 3.3 V, a small transistor on the relay module switches on. The transistor then lets current from the board's 5 V supply flow through the relay coil. The coil becomes a magnet and pulls the contacts over with a click.
Here is why the transistor is there.
- 1
The coil's current
take a common 5 V relay as an example, not the exact part on the kit's module. The Songle SRD-05VDC-SL-C has a 70 Ω coil. By Ohm's law, 5 ÷ 70 = 0.0714 A, or 71.4 mA. Songle's datasheet (opens in a new tab) lists the same 71.4 mA.
- 2
What a pin gives
about 20 mA by default, about 40 mA at most, from the ESP32 datasheet (opens in a new tab).
- 3
Even at the pin's own 3.3 V,
the coil would try to draw 3.3 ÷ 70 = 47 mA, still above the maximum drive.
- 4
The fix
the pin only has to turn the transistor on. The coil's current comes from the 5 V supply, not through the pin.
The same idea, a small current controlling a bigger one, is how transistors work. See how a transistor switch controls electricity and how a relay lets a small signal switch a big load.
The servo: the pin sends a pulse, the power wires do the work
A servo has three wires: power, ground and signal. The SG90 servo plugs into the 3-pin socket marked 19, as Lesson 14 on motors shows. Pin 19 only sends the pulse that names the angle. The motor's current comes through the other two wires, not through the pin. Our guide to how a servo works and what its three wires do explains the pulse.
That matters because servo current changes so much. Arduino's servo motor guide (opens in a new tab) gives a Feetech 9 g mini servo 5 to 6 mA when idle and up to 800 mA when loaded or blocked, and calls that much current generally not safe to draw from an Arduino board. SparkFun's hobby servo tutorial (opens in a new tab) warns that a straining or stalled servo can make the supply sag, and that this can make the processor reset or misbehave.
Lesson 14 gives the matching advice for the kit: keep arms short and light, never force the horn, and if a servo buzzes nonstop, gets warm or restarts the board, remove the obstruction and power down.
Worked example 4: a current budget for a USB-powered board
Add up the datasheet figures for one build that uses Wi-Fi, the relay and the servo. TI's TIDUF26 design guide (opens in a new tab) assumes a USB 2.0 host gives at most 500 mA.
| Situation | ESP32 | Relay coil on | Servo | Total | Under 500 mA? |
|---|---|---|---|---|---|
| Wi-Fi listening, servo resting | 100 mA | 71.4 mA | 6 mA | about 177 mA | Yes |
| Wi-Fi sending, servo resting | 240 mA | 71.4 mA | 6 mA | about 317 mA | Yes |
| Wi-Fi sending, servo blocked | 240 mA | 71.4 mA | 800 mA | about 1,111 mA | No |
- Situation
- Wi-Fi listening, servo resting
- ESP32
- 100 mA
- Relay coil on
- 71.4 mA
- Servo
- 6 mA
- Total
- about 177 mA
- Under 500 mA?
- Yes
- Situation
- Wi-Fi sending, servo resting
- ESP32
- 240 mA
- Relay coil on
- 71.4 mA
- Servo
- 6 mA
- Total
- about 317 mA
- Under 500 mA?
- Yes
- Situation
- Wi-Fi sending, servo blocked
- ESP32
- 240 mA
- Relay coil on
- 71.4 mA
- Servo
- 800 mA
- Total
- about 1,111 mA
- Under 500 mA?
- No
Table note: ESP32 from Table 5-4 of the ESP32 Series datasheet (opens in a new tab), relay from Songle's datasheet (opens in a new tab), servo from Arduino's servo motor guide (opens in a new tab) for a Feetech mini servo. This is a rough sum of part figures, not a measurement of the MakerBuddy board, and it leaves out the sensors, lights and the DevKit's own parts. The relay and servo are example parts, not the exact ones in the kit, and the ESP32 figures are measured at 3.3 V while the relay coil runs from 5 V, so treat the totals as a rough guide.
The first two rows fit with room to spare. The third row asks for more than twice what the port is assumed to give, and almost all of the extra comes from one blocked servo. That is the supply sag SparkFun describes, and the reason Lesson 14 says to clear the obstruction.
A motor that spins all the time needs even more help: a driver chip between the pin and the motor. Our guides to DC motors and motor drivers and why a pin can't power a motor cover that, and ESP32 power consumption shows how to make the chip's own current smaller.

On the MakerBuddy kit, the relay and servo each plug into their own labelled socket, so students can see this split between signal and power before they ever wire a transistor by hand. The know your parts guide describes each one.
How to measure current with a multimeter
Voltage is measured across a part. Current is different. SparkFun's multimeter tutorial (opens in a new tab) explains that you have to break the circuit and put the meter in line, so the current flows through the meter itself.
- 1
Switch the circuit off.
- 2
Set up the meter for current.
On SparkFun's meter, the red probe goes in the mAVΩ socket and the dial goes to 200 mA. If the circuit could use close to 200 mA or more, the tutorial says to move the red probe to the 10 A socket instead, to be safe.
- 3
Break the loop at one point,
for example by lifting one leg of a resistor.
- 4
Bridge the gap with the meter
one probe on each side, so the loop runs through it.
- 5
Switch on and read.
SparkFun's own test circuit read about 2 mA.
- 6
Put the meter back to volts
when you finish.
That last step is not optional. The same tutorial (opens in a new tab) warns that a meter left in current mode and then touched across a supply joins the supply straight to ground and blows the 200 mA fuse. Our beginner's guide to using a multimeter walks through the rest.
A 25-minute classroom activity: current detective
You need a multimeter, a 3 V battery holder with two AA cells, a red LED and three resistors: 100 Ω, 220 Ω and 470 Ω. Students predict, measure and record.
| Resistor | Predict (more or less current?) | Your reading |
|---|---|---|
| 470 Ω | ||
| 220 Ω | ||
| 100 Ω | ||
| 220 Ω, measured on the other side of the LED |
- Resistor
- 470 Ω
- Predict (more or less current?)
- Your reading
- Resistor
- 220 Ω
- Predict (more or less current?)
- Your reading
- Resistor
- 100 Ω
- Predict (more or less current?)
- Your reading
- Resistor
- 220 Ω, measured on the other side of the LED
- Predict (more or less current?)
- Your reading
Then ask: did a smaller resistor give more current? It should, because I = V ÷ R. Did the other side of the LED read the same? It should, because one loop carries one current.
Current and safety: why current is what hurts
Current is what injures a body, and voltage is what pushes it through. NIOSH's electrical safety student manual (opens in a new tab) says the harm depends on how much current flows and for how long. It gives these typical effects for a one-second shock at household voltages.
| Current through the body | Typical effect |
|---|---|
| Below 1 mA | Generally not felt |
| 1 mA | Faint tingle |
| 5 mA | Slight shock; most people can let go |
| 6 to 30 mA | Painful; loss of muscle control, the "let-go" range |
| 50 to 150 mA | Extreme pain, breathing stops; death is possible |
| 1,000 to 4,300 mA | The heart stops pumping; death likely |
- Current through the body
- Below 1 mA
- Typical effect
- Generally not felt
- Current through the body
- 1 mA
- Typical effect
- Faint tingle
- Current through the body
- 5 mA
- Typical effect
- Slight shock; most people can let go
- Current through the body
- 6 to 30 mA
- Typical effect
- Painful; loss of muscle control, the "let-go" range
- Current through the body
- 50 to 150 mA
- Typical effect
- Extreme pain, breathing stops; death is possible
- Current through the body
- 1,000 to 4,300 mA
- Typical effect
- The heart stops pumping; death likely
Table note: from the effects table in the NIOSH student manual (opens in a new tab) (6 to 25 mA for women, 9 to 30 mA for men in the let-go row).
Compare that with the everyday table. The kettle's 13 A is far beyond the deadly band. The same manual notes that the lowest current at which a typical fuse or breaker opens is 15 A, so a fuse protects the wiring, not you. NIOSH also records people who stopped breathing after shocks from as little as 49 V, and sums it up: low voltage does not mean low hazard.
Your skin's resistance decides how much current a voltage can push. The manual (opens in a new tab) gives dry skin 100,000 Ω or more and wet skin as little as 1,000 Ω. At 230 V and wet skin, Ohm's law gives 230 ÷ 1,000 = 0.23 A, or 230 mA, past the deadly band. Keep projects dry, use batteries and USB, and leave wall sockets alone.
Common current mistakes, with causes and fixes
The meter's fuse blew
Symptom: the meter reads zero on every current test. Cause: the meter was in current mode when it touched a supply directly, which shorts the supply through the meter, as SparkFun's multimeter tutorial (opens in a new tab) describes. Fix: fit a fuse of the same rating, never a bigger one. Always move the probe and dial back to volts after a current test.
An LED flashed once and died
Symptom: a bright flash, then nothing. Cause: no resistor. SparkFun's Ohm's law tutorial (opens in a new tab) shows that with no resistor the current is limited only by what the battery can deliver, far past the LED's 30 mA. Fix: put a resistor in series and work out its value, as in worked example 2.
The relay clicks sometimes, or not at all
Symptom: a bare relay wired straight to a chip pin acts unreliably. Cause: the coil wants 71.4 mA and the pin gives about 20 mA by default. The pin's voltage sags under the load. Fix: use a relay module with a transistor, as the kit does, so the coil's current comes from the 5 V supply.
The servo jitters, or the board restarts
Symptom: the servo rocks around its angle, buzzes, or the board resets. Cause: a loaded or blocked servo draws far more current, and SparkFun's hobby servo tutorial (opens in a new tab) says this can make the supply sag and reset the processor. Fix: clear the obstruction and use a lighter arm, as Lesson 14 advises. For bigger servos, use a separate supply with a shared ground.
FAQ
What is current in simple words?
Current is the flow of electric charge through a circuit. It tells you how much charge passes one point each second. It is measured in amps, and one amp is one coulomb of charge per second, as SparkFun's Ohm's law tutorial (opens in a new tab) explains.
What is an amp?
An amp, short for ampere, is the unit of electric current. One amp is one coulomb of charge passing a point in one second, about 6.241 × 10^18 electrons, according to NIST's page on the ampere (opens in a new tab). Small currents are written in milliamps: 1,000 mA make 1 A.
Is current the same as electricity?
Not quite. Electricity is the whole subject: charge, voltage, current and power. Current is one measurable part of it, the rate of flow. A battery on a shelf has a voltage, but no current flows until a circuit is closed. The MakerBuddy blog has plain explainers for each part.
Which kills, current or voltage?
Current does the harm, but voltage pushes it through you. NIOSH's electrical safety manual (opens in a new tab) says injury depends on how much current flows and for how long, with breathing stopping in the 50 to 150 mA range. A higher voltage pushes more current through the same skin, which is why mains is so dangerous.
What is the difference between AC current and DC current?
DC current flows one way only, from batteries and USB ports. AC current swaps direction many times a second, which is what wall sockets supply: 120 V at 60 Hz in North America and 220 to 240 V at 50 Hz in Europe, per SparkFun's AC vs DC tutorial (opens in a new tab). Almost all electronics projects run on DC.
Is 1 amp a lot?
For a learning board, yes. It is twice the 500 mA a USB 2.0 port is assumed to give in TI's design guide (opens in a new tab), and 100 times a red LED's test current. For a home it is small: a kettle can draw up to 13 A. Through a human body, NIOSH's manual (opens in a new tab) puts 1,000 mA in the range where the heart stops pumping.
What is current in chemistry?
It is the same idea, the flow of charge, but the moving charges can be ions instead of electrons. The Wikipedia article on electric current (opens in a new tab) notes that electrons carry current in metals, electrons or holes in semiconductors, and ions in electrolytes. The same article says that in an electrolyte, such as salt water or the inside of a battery, the charge carriers are ions.
Can an ESP32 pin power a motor?
No. An ESP32 pin gives about 20 mA by default and about 40 mA at most, per the ESP32 datasheet (opens in a new tab), while a mini servo can draw up to 800 mA under load in Arduino's servo guide (opens in a new tab). The pin should only send the signal, to a transistor, a relay module, a motor driver or a servo's signal wire.
Sources
- SparkFun: Voltage, Current, Resistance, and Ohm's Law (opens in a new tab)
- SparkFun: What is Electricity? (opens in a new tab)
- SparkFun: Alternating Current (AC) vs. Direct Current (DC) (opens in a new tab)
- SparkFun: Electric Power (opens in a new tab)
- SparkFun: How to Use a Multimeter (opens in a new tab)
- SparkFun: Hobby Servo Tutorial (opens in a new tab)
- Wikipedia: Electric current (opens in a new tab)
- Wikipedia: Kettle (opens in a new tab)
- Wikipedia: Mains electricity by country (opens in a new tab)
- NIST: SI redefinition, the ampere (opens in a new tab)
- NIOSH: Electrical Safety, Safety and Health for Electrical Trades, Student Manual (2009-113) (opens in a new tab)
- Espressif: ESP32 Series Datasheet v5.3 (opens in a new tab)
- Arduino: Servo motor basics with Arduino (opens in a new tab)
- Arduino: UNO R3 tech specs (opens in a new tab)
- Kingbright: WP7113ID red LED datasheet (opens in a new tab)
- Songle: SRD series relay datasheet (LCSC copy) (opens in a new tab)
- Texas Instruments: TIDUF26 design guide, USB power input (opens in a new tab)





