Electronics & Circuits · Study deck

How Electricity Works

Every powered board is a loop: a source, a load and a return path, with limits that have to be measured, not assumed.

Voltage Vera is your guide for this deck.

electricity
Voltage Vera at a workbench touching her probe tips to a sensor board, with a battery pack, a lit LED and a return wire forming one glowing loop.
iotclass.org

After studying this chapter

Learning objectives

A powered-on board still needs evidence that each current path and component stays within limits.

  • Name voltage nodes and current branches.A voltage uses two points; current belongs to the path through a component.
  • A circuit is a complete loop: source, load and return path.The chapter pump can reset its controller even when the control code is correct.
  • Connect resistance and power calculations to component limits.Startup current and heating can exceed what a successful powered-on check reveals.
  • Investigate resets in the state that causes them.A transmitting radio needs measurements while it transmits, using the deployed supply and wiring.

I start with the pump that resets its controller. I trace its return wire and measure the load while the pump starts.

iotclass.org

Major section

Why maximum power wastes energy

Source resistance can waste battery energy even while the load receives its greatest power.

  • Internal resistance takes part of the source voltage.The load shares the voltage drop with resistance inside the cell itself.
  • The example cell is only 50% efficient at maximum power.The source is a 1.50 V cell with 0.150 Ω internal resistance.
  • The same source reaches 99.95% efficiency into 330 Ω.Changing the load changes how much source energy reaches the external circuit.
  • Maximum delivered power and battery efficiency answer different questions.The efficiency calculation compares load resistance with the combined internal and load resistance.

I compare the same cell at the matched load and at 330 Ω. I check efficiency before calling maximum delivered power a battery-life success.

iotclass.org

Major section

Follow the closed circuit

Start at the battery and follow the circuit through the resistor and lamp back to the source.

  • The battery is where the circuit's push begins.Its potential difference supplies the push for current through the connected load.
  • Follow the wire loop back to the source.The lamp needs a closed path through the load and return wiring.
  • Find the resistor before checking the lamp.The resistor limits current; the lamp turns electrical energy into light and heat.
  • Connect each voltage reading with the relevant current path.Voltage is measured across a part, while current is measured through its branch.
Closed circuit showing a battery as the voltage source, current around the loop, a resistor limiting current, and a lamp load turning electrical energy into light and heat.
Closed circuit showing a battery as the voltage source, current around the loop, a resistor limiting current, and a lamp load turning electrical energy into light and heat.
iotclass.org

Activity 1 · Draw it

✎ Trace and measure the loop

I want you to sketch the whole return path before deciding that the circuit works.

On paper, draw a battery, resistor, and lamp in a closed loop. Mark the return wire. Add two voltage-measurement points across the lamp and a series current-measurement position. Label what the resistor limits and where electrical energy becomes light and heat.

3 minutes · Pen and paper · Answer: Activity 1

Your answer
iotclass.org

Major section

Voltage, current, resistance, and power

Keep voltage, current, resistance, and power separate before connecting them with a circuit model.

  • A voltage reading needs two named nodes.The reference point belongs in the record alongside the measured value.
  • A current reading belongs to one component branch.The measurement goes in series with the load and follows its return path.
  • Resistance explains behavior only under suitable conditions.Diodes, motors, capacitors, and radios need checks beyond an approximately resistive model.
  • Power joins simultaneous voltage and current measurements.The result explains battery drain and heating in that same operating state.

I use the lamp circuit to separate the measurements. I mark two voltage points and one current branch before calculating its power.

iotclass.org

Major section

Check limits before trusting the light

Component limits apply during each operating state, including startup and switching.

  • The current path must respect every component limit.Pins, packages, drivers, regulators, connectors, and conductors all constrain the same path.
  • A glowing LED does not prove safe current.Its forward voltage and limiting resistor must suit the supply and GPIO rating.
  • Changing loads need their own operating checks.Motor startup, capacitive inrush, and radio bursts require more than a resistive calculation.
  • Measure with the deployed wiring and firmware state.A useful calculation still needs evidence from the circuit that will actually run.

I watch the LED light, then check the current limit. I compare the actual supply, resistor, and GPIO rating before trusting that result.

iotclass.org

Major section

Build the circuit review ledger

Make each rail, load, protective part, and measurement visible in a short circuit ledger.

  • Record source and regulated rail ranges beside their loads.Each rail entry names what it powers and the allowed voltage range.
  • Every intended current path and its shared return belong in the ledger.The ledger makes the source, load, and return assumptions visible beside the schematic.
  • Review limiting parts before connecting fragile components.Resistors, pull-ups, dividers, fuses, and protection parts need suitable values and ratings.
  • Preserve readings with their wiring and firmware state.Later reviewers need to know which real load and operating condition produced the measurement.

I open the ledger before connecting a fragile sensor. I name its rail and return, then record the reading with the firmware state.

iotclass.org

Major section

Review the most demanding state

Match current demand and power dissipation to the state that creates the greatest stress.

  • Record sleep, startup, active, and peak demand separately.One average can conceal the state that exceeds the supply or driver capability.
  • GPIO compatibility and supply capability belong in the same review.Pull-ups, regulator heating, and battery limits can affect whether the circuit remains reliable.
  • Evaluate heat in the actual package and enclosure.Power dissipation must fit the component and its environment, not just the schematic.
  • Reopen the ledger when the operating conditions change.A new source, load, firmware state, cable, or environment can invalidate earlier readings.

I compare the sleeping sensor with the transmitting radio. I keep their states separate so the average cannot hide the peak that causes a reset.

iotclass.org

Major section

Find the first measurement mismatch

A plausible component value can still fail at its connection to the real circuit.

  • Source voltage can conceal a drop at the load.The sensor, relay, or radio needs a measurement at its own supply terminals.
  • A copied resistor value may not suit this circuit.Supply voltage, LED drop, bus capacitance, and input conditions can change the required value.
  • An unintended return path can disturb signal readings.The load may receive power while its signal lacks a reliable shared reference.
  • The first mismatch identifies the boundary worth investigating.The captured failing state is compared with the ledger before any part or firmware changes.

I follow a noisy sensor reading back to its reference. I compare the load voltage and return path with the ledger before changing the code.

iotclass.org

Major section

Follow energy through the handoffs

Follow energy from the source to the rail, then follow the load’s return and signal reference.

  • The supply path determines whether the rail survives peak demand.Battery, regulator, cable, switch, fuse, and connectors all contribute to that path.
  • Firmware changes the load state being measured.A reset during transmission needs evidence from the transmitting state, not only sleep.
  • For resistive parts, V = I x R checks voltage drop.The drop follows from the current in that branch and the resistance under the reviewed conditions.
  • For a load, P = V x I explains power.The voltage and current must describe the same component in the same operating state.

I follow the battery through the regulator to the radio. I capture the transmitting state, then compare the measured rail with the expected voltage.

iotclass.org

Major section

Reproduce the failing load state

A working bench supply does not prove that the battery path can support the same load.

  • Measure load voltage while the failing state occurs.Radio transmission or actuator motion can expose a drop that idle measurements miss.
  • Peak demand must fit the complete supply path.Battery, regulator, cable, and connector capability matter together when current rises.
  • Noisy signals need compatible logic levels and a shared reference.A missing ground can make readings random even after the board powers up.
  • Rails at different voltages are compared by power or energy, not current.Adding currents from unlike rails does not establish their combined energy use.

I take the sensor that works on USB and resets on battery. I measure at the radio during transmission and check the battery-to-load path.

iotclass.org

Deck summary

Key takeaways

A dependable circuit claim joins the schematic, component limits, operating state, and measured evidence.

  • Complete the source, load, and return loop first.A working LED is a starting point before adding sensors, radios, or firmware decisions.
  • Measure voltage across named nodes and current through its branch.Those separate readings provide the evidence needed to check the circuit model.
  • Review resistance, peak current, and heat against actual component limits.The safe claim depends on the supply, parts, package, and enclosure being used.
  • Retest the affected boundary whenever the circuit conditions change.Wiring, load, firmware, source, and environment changes can make earlier measurements insufficient.

I finish by reopening the ledger after a wiring change. I repeat the affected measurements before carrying the old circuit claim into the new setup.

iotclass.org

Retrieval practice

Recall check 1 of 3

Voltage Vera says: answer from memory, then check your reasoning.

Q1A sensor board powers on, but its data line reads random values. What basic electricity evidence should be checked first?

ASupply voltage at the load, shared ground, expected current path, pull-up or pull-down behavior.
BOnly the product photo, because visible wiring proves the electrical reference.
COnly the firmware variable name, because electrical behavior is unrelated to readings.
DOnly whether the battery is physically large, because size proves the circuit is correct.
Show answer

Answer: A Turning on does not prove the signal reference, current path, or measurement conditions are valid.

iotclass.org

Retrieval practice

Recall check 2 of 3

Voltage Vera says: answer from memory, then check your reasoning.

Q2An ESP32 GPIO controls an LED directly from 3.3 V. The LED lights, but the pin becomes unreliable after repeated tests. What should the review check first?

AOnly whether the LED color is visible, because brightness proves safe current.
BThe LED forward voltage, current-limiting resistor, actual current, GPIO current limit.
COnly the Wi-Fi password, because GPIO damage is a network problem.
DShorten the LED pulse in firmware so average pin current falls during repeated tests.
Show answer

Answer: B A lit LED can still exceed the safe current for the LED or the microcontroller pin.

iotclass.org

Retrieval practice

Recall check 3 of 3

Voltage Vera says: answer from memory, then check your reasoning.

Q3A sensor works on USB power but resets when a radio transmits from battery power. Which handoff should be investigated first?

AOnly the chapter heading, because radio resets are a documentation formatting issue.
BThe sleep-current budget, because battery capacity may be lower than the runtime estimate assumed.
CThe source-to-rail and rail-to-load handoffs: battery capability, regulator dropout.
DNo investigation is needed because USB success proves battery success.
Show answer

Answer: C The reset during transmit suggests the supply path cannot maintain the rail under peak load.

iotclass.org

Print reference

Answers

Answer key.

  1. A · Turning on does not prove the signal reference, current path, or measurement conditions are valid.
  2. B · A lit LED can still exceed the safe current for the LED or the microcontroller pin.
  3. C · The reset during transmit suggests the supply path cannot maintain the rail under peak load.
iotclass.org

Print reference

Activity 1 answer

Model answer.

Draw it: The sketch closes the path from battery through resistor and lamp back to the battery. Voltage points sit on opposite sides of the lamp. Current measurement lies in series within the loop. The resistor limits current; the lamp converts electrical energy into light and heat.

iotclass.org