Chapters

12 Electronics Materials: Conductors to Components

electronics-controller-design
conductors
insulators
cmos
gpio
pull-resistors

12.1 Start With the Decision

Current moves through a conductor but stops at an insulator. A semiconductor lets a circuit control that flow.

12.2 Route Overview

This is part 1 of 3. Continue with Component Architecture: Capacitors and Selection.

12.3 Part Objectives

  • Relate conductor, insulator, and semiconductor behaviour to circuit roles.
  • Identify component limits from material and electrical evidence.

12.4 A Clear First Route

Imagine a board must carry power to a motor while keeping a touch surface safe. The designer must choose where charge should flow, where it should stop, and where it should be controlled. This page starts with one job. Name the path for charge and the part that needs that path. Then note the material, heat, voltage, load, and control state. Look for ratings, current, heat, spacing, part data, and a test under load. Last, choose use a conductor, an insulator, a controlled material, or a safe mix. Keep the limit in view. A material class is only a start. Heat, dirt, water, wear, and high voltage can change real behaviour.

12.4.1 Follow One Decision

  • What real event starts the case?
  • Who needs the result?
  • What action may follow?
  • Which sign comes from the device?
  • How old can that sign be?
  • What can make it wrong?
  • What must still work after a fault?
  • Who owns the next check?
  • What change will force a new test?
  • What proof should the team keep?

A good record answers each point in plain words. It names the site and the people. It names the device and its state. It says when the event took place. It says when the result arrived. It marks doubt instead of hiding it. It also names the safe fallback. That makes the result useful without making it sound more sure than it is.

12.4.2 Know What This Route Leaves Out

This first route is a guide to the main choice. It does not model every field effect or rare fault. The Practitioner sections add part types, ratings, board use, and worked circuit checks. Under the Hood adds atomic structure, resistance, heat, doping, leakage, and part equations. Those deeper parts add detail to this route. They do not reverse its main claim.

12.4.3 Read the Result Before You Act

Start with the source, not the final label. Check that the source belongs to this case. Check its time and state. Ask if a second source agrees. If two sources differ, keep that fact in the record. Do not force a clean answer just to fill a screen. A late result may be true about the past and still be unsafe now. A missing result is also useful news when the system shows it at once.

Next, link the result to one owned step. A person may inspect the site. A local rule may hold a safe state. A remote team may ask for more proof. The right step depends on the claim that was tested. It must not depend on a broad product label. Write down the reason for the step. Write down the time. Write down who may close the case.

12.5 Start Simple

Imagine touching a probe to copper, plastic, and silicon on the same board. Copper carries charge easily, plastic blocks it, and silicon can be controlled so it sometimes acts like either one. Start by asking which material should conduct, which should isolate, and what temperature, voltage, or doping changes that answer.

12.6 Learning Objectives

  • Classify materials as conductors, insulators, or semiconductors based on their electrical properties and explain why semiconductors are essential to IoT electronics
  • Identify passive and active electronic components and describe their roles in common IoT circuit patterns
  • Select appropriate resistors, capacitors, and transistors for IoT applications using datasheet specifications and rating guidelines
  • Design basic IoT interface circuits including voltage dividers, pull-up resistors, current-limiting circuits, and decoupling networks
In 60 Seconds

All materials fall into three categories based on electrical conductivity: conductors (copper wires), insulators (plastic casings), and semiconductors (silicon chips). Semiconductors are the foundation of all IoT electronics because their conductivity can be controlled, enabling transistors, diodes, and integrated circuits.

12.7 Why This Chapter Matters

Follow these connections in order: Students often want to skip material classification because it looks too basic, but this chapter is what makes later component choices understandable instead of arbitrary. Real IoT design depends on knowing why copper is used for traces, why plastic and solder mask isolate circuits, and why silicon can become a controllable switch instead of just another material. This chapter also introduces the component families you will repeatedly meet on schematics, breakout boards, and datasheets.

12.8 How To Use This Chapter

  • On a first pass, focus on three questions: what carries current easily, what blocks it, and what can be controlled.
  • Use the taxonomy and quick-reference sections as a map of the parts ecosystem, not as something to memorize line by line.
  • If you are handling real boards while reading, stop and identify examples of passive components, active components, and integrated circuits around you.
Chapter Roadmap
  • A Clear First Route
  • Start Simple
  • In 60 Seconds
  • Why This Chapter Matters
  • How To Use This Chapter
  • Conductors and Semiconductors
  • Component Quick Reference
  • Deep dive: Putting Numbers to It
  • Checkpoint: Component Calculations

12.9 Conductors and Semiconductors

~15 min | Foundational | P06.C05.U01

Materials behave differently when it comes to conducting electricity. Before exploring material properties, let’s first understand how electronic components are classified in IoT systems.

Start with the parts ecosystem. If you can tell which parts only store or dissipate energy and which parts control current, the later material categories will feel less abstract.

12.9.1 Electronic Components Taxonomy

Use the diagram in Figure 12.1 to ground electronic components taxonomy: it shows electronic components taxonomy showing passive components (resistors, capacitors, inductors) that cannot amplify signals, active components (diodes, transistors, thyristors) that can control and amplify current, and integrated circuits that combine thousands to billions of components into complete systems like sensors, microcontrollers, and wireless modules rather than leaving the relationship implicit.

Electronic components taxonomy diagram showing passive components (resistors, capacitors, inductors) that cannot amplify signals, active components (diodes, transistors, thyristors) that can control and amplify current, and integrated circuits combining components into sensors, microcontrollers, and wireless modules
Figure 12.1: Electronic components taxonomy showing passive components (resistors, capacitors, inductors) that cannot amplify signals, active components (diodes, transistors, thyristors) that can control and amplify current, and integrated circuits that combine thousands to billions of components into complete systems like sensors, microcontrollers, and wireless modules

At Electronic Components Taxonomy for IoT, Figure 12.1 states one side of the design; Passive Components introduces the next state or component, and Resistors names the consequence. The visual shows electronic components taxonomy showing passive components (resistors, capacitors, inductors) that cannot amplify signals, active components (diodes, transistors, thyristors) that can control and amplify current, and integrated circuits that combine thousands to billions of components into complete systems like sensors, microcontrollers, and wireless modules. The running electronic components taxonomy narrative uses that consequence to decide what is safe and measurable.

The three passive components—resistors, capacitors, and inductors—behave differently in circuits. Understanding their properties is essential for IoT design.

PropertyResistor (R)Capacitor (C)Inductor (L)
Circuit Symbol⏛ (zigzag)⏥ (parallel plates)⏚ (coil)
I-V RelationshipV = R·II = C·dV/dtV = L·dI/dt
UnitOhm (Ω)Farad (F) = C/VHenry (H) = V·s/A
Impedance ZZ = RZ = 1/(j2πfC)Z = j2πfL
Power LossP = I²R = V²/R0 (ideal)0 (ideal)
Energy Storage0 (dissipates heat)W = ½CV²W = ½LI²
Frequency ResponseConstantPasses high freq, blocks DCPasses DC, blocks high freq

Why This Matters for IoT:

ComponentIoT ApplicationExample
ResistorCurrent limiting, voltage dividers, pull-upsLED current limiting (220Ω), sensor pull-up (4.7kΩ)
CapacitorPower filtering, decoupling, timing100nF decoupling on MCU VCC, 1000µF bulk capacitor
InductorEMI filtering, DC-DC conversion, antennasSwitching regulator, PCB antenna matching

Key Formulas for IoT Design:

  • RC Time Constant: τ = R × C (seconds)

    • Used for: Button debouncing, ADC sample timing
    • Example: 10kΩ × 100nF = 1 ms
  • LC Resonant Frequency: f = 1/(2π√(LC))

    • Used for: RF tuning, antenna matching
    • Example: 1µH × 10pF → 50MHz
  • Capacitor Energy: W = ½CV²

    • Used for: Backup power calculations
    • Example: 1000µF × 3.3V² = 5.4mJ (powers MCU for ~50 ms during brownout)
Component Quick Reference

12.9.2 Schematic Symbol to Real Component Guide

Learning to read schematics requires mapping symbols to physical components:

ComponentSymbol DescriptionPhysical AppearanceKey Specs to Know
ResistorZigzag line or rectangleCylinder with color bandsOhms (Ω), Power rating (W)
CapacitorTwo parallel linesCylinder or discCapacitance (µF), Voltage rating
LEDTriangle with arrow + light raysClear/colored domeForward voltage (Vf), Max current
TransistorCircle with 3 leads (NPN/PNP)TO-92 or SMD packagehFE (gain), Vce max
DiodeTriangle pointing to lineGlass cylinder with stripeForward voltage, Max current
InductorCoiled lineWire-wound cylinderInductance (µH/mH)

Reading color codes (resistors):

  • Black=0, Brown=1, Red=2, Orange=3, Yellow=4
  • Green=5, Blue=6, Violet=7, Gray=8, White=9
  • Gold=5% tolerance, Silver=10%

Example: Brown-Black-Red = 10 × 10² = 1000Ω = 1kΩ

RC time constant determines how fast a capacitor charges through a resistor — critical for debouncing buttons and timing circuits:

τ=R×C\tau = R \times C

Example: Button debounce circuit with 10kΩ pull-up and 100nF capacitor:

τ=10,000Ω×0.0000001F=0.001s=1ms\tau = 10,000\Omega \times 0.0000001F = 0.001s = 1ms

The capacitor charges to 63% of final voltage in 1 ms, effectively filtering mechanical switch bounce (<10 ms typical).

After 5τ (5 ms), voltage reaches 99.3% of final value — eliminating false triggers.

LC resonant frequency determines antenna and RF filter design:

f=12πLCf = \frac{1}{2\pi\sqrt{LC}}

Example: 433 MHz LoRa antenna matching network:

f=433×106 Hzf = 433 \times 10^6 \text{ Hz}

LC=1(2πf)2=1(2π×433×106)2=1.35×1019LC = \frac{1}{(2\pi f)^2} = \frac{1}{(2\pi \times 433 \times 10^6)^2} = 1.35 \times 10^{-19}

Using L = 10nH: C=1.35×101910×109=13.5pFC = \frac{1.35 \times 10^{-19}}{10 \times 10^{-9}} = 13.5pF ← typical antenna tuning capacitor value.

12.9.3 IoT Component Reference

A practical reference for selecting and using electronic components in IoT projects, with specifications and real-world use cases. Consider a typical IoT sensor module like the ultrasonic distance sensor below — it combines passive components (resistors, capacitors for signal conditioning), active components (transistors, op-amps for amplification), and an integrated circuit for digital output.

Inspect the labelled evidence in Figure 12.2 as the entry point to iot component reference. The visual is specifically about ultrasonic sensor module used in IoT distance measurement and proximity detection.

Ultrasonic sensor module showing transducer elements, signal conditioning circuitry, and connection interface commonly used in IoT distance measurement applications
Figure 12.2: Ultrasonic sensor module used in IoT distance measurement and proximity detection

First identify Ultrasonic Sensor (HC-SR04) in Figure 12.2, then contrast it with Transmitter and test the claim beside 40kHz. These visible labels explain ultrasonic sensor module used in IoT distance measurement and proximity detection. They keep iot component reference tied to evidence that can be inspected on the schematic, part, or trace.

12.9.3.1 Essential Passive Components

ComponentSymbolFunctionIoT Use CaseTypical Values
Resistor─/\/\/─Limits current flowLED current limiting220Ω-10kΩ
Capacitor─ǁ─Stores electrical chargePower supply smoothing100nF-1000µF
Inductor─∿∿∿─Stores magnetic energySwitching regulators, EMI filtering10µH-100mH
Diode─▷│─One-way current flowReverse polarity protection1N4001, 1N4148
LED─▷│─ (light)Light outputStatus indicators, displaysRed: 1.8-2.2V, Blue: 3.0-3.4V

Passive Component Selection Rules:

  • Resistors: Always check power rating (P = I² × R). Common: 1/8W, 1/4W, 1/2W
  • Capacitors: Voltage rating must be ≥ 2× operating voltage for reliability
  • Inductors: Saturation current must exceed maximum expected current
  • Diodes: Forward voltage (Vf) affects efficiency; Schottky diodes have lower Vf (0.3V vs 0.7V)
  • LEDs: Always use current-limiting resistor. Formula: R = (Vsupply - Vf) / Iled

12.9.3.2 Essential Active Components

ComponentFunctionIoT Use CasePopular PartsKey Specs
Transistor (NPN)Switch/amplify small signalsDriving motors, relays2N2222, BC547Ic=800mA, hFE=100-300
Transistor (PNP)High-side switchingLoad switching2N2907, BC557Ic=600mA, hFE=100-300
MOSFET (N-channel)High-current power switchingMotors, LED strips, solenoidsIRF540, AO3400Id=10-30A, RDS(on)=0.01-0.1Ω
MOSFET (P-channel)High-side load controlReverse polarity protectionIRF9540, AO3401Id=10-20A, higher RDS(on)
Op-AmpSignal conditioningSensor amplification, filteringLM358, MCP6002Low power; MCP6002 is rail-to-rail
Voltage Regulator (Linear)Stable DC voltage3.3V/5V from batteryAMS1117, LM7805Dropout: 1.0-2.0V, efficiency 50-60%
Voltage Regulator (Switching)Efficient power conversionBattery-powered IoT nodesTPS62130, LM2596Efficiency: 85-95%, lower quiescent current

Active Component Selection Rules:

  • BJT vs MOSFET: Use BJT for <1A, MOSFET for >1A (lower switching losses)
  • Logic-Level MOSFETs: Required for 3.3V/5V GPIO control (Vgs(th) < 2.5V)
  • Op-Amp Power: Choose rail-to-rail for single-supply IoT applications
  • Linear vs Switching Regulator: Linear for low noise (<100mA), Switching for efficiency (>100mA)

Inspect this evidence before proceeding: the running circuit argument reaches Figure 12.3, where capacitors store electrical charge and are essential for power supply filtering, signal coupling, and timing circuits. Ceramic capacitors offer compact size for high-frequency bypass, while electrolytic capacitors provide large capacitance values for voltage stabilization in IoT power circuits can be inspected directly before essential active components proceeds.

Geometric illustration of capacitor types showing ceramic disc capacitor with small form factor for decoupling, electrolytic capacitor with polarity markings for power supply filtering, tantalum capacitor for stable capacitance, and film capacitor for signal coupling applications
Figure 12.3: Capacitors store electrical charge and are essential for power supply filtering, signal coupling, and timing circuits. Ceramic capacitors offer compact size for high-frequency bypass, while electrolytic capacitors provide large capacitance values for voltage stabilization in IoT power circuits.

The diagram makes the reading specific: start Figure 12.3 with Capacitor Types and Symbols, move to Fixed, and finish by checking Variable. The labelled progression means capacitors store electrical charge and are essential for power supply filtering, signal coupling, and timing circuits. Ceramic capacitors offer compact size for high-frequency bypass, while electrolytic capacitors provide large capacitance values for voltage stabilization in IoT power circuits. For essential active components, that order identifies what to measure or calculate before accepting the hardware choice.

Inspect Figure 12.4 before essential active components; its labelled elements make this component reference table summarizes specifications for passive components commonly used in IoT designs. Selecting appropriate package sizes and ratings ensures reliable operation while minimizing board space for compact sensor nodes concrete enough to test against the circuit narrative.

A passive-component table compares resistor resistance in ohms, inductor inductance in henries and capacitor capacitance in farads, with descriptions and symbols.
Figure 12.4: This component reference table summarizes specifications for passive components commonly used in IoT designs. Selecting appropriate package sizes and ratings ensures reliable operation while minimizing board space for compact sensor nodes.

Figure 12.4 places Electrical Components beside Component and qualifies the relationship with Description. Read together, the labels demonstrate this component reference table summarizes specifications for passive components commonly used in IoT designs. Selecting appropriate package sizes and ratings ensures reliable operation while minimizing board space for compact sensor nodes. The chapter carries that evidence into essential active components so the selection rests on circuit behaviour rather than appearance.

Inspect Figure 12.5 with Iron Core and Variable in mind. Look at how it presents inductors store energy in magnetic fields and are critical for switching power supplies, EMI filtering, and sensor signal conditioning. The core material and geometry determine frequency response and saturation characteristics important for IoT power management before applying essential active components.

Inductor types include air, iron and ferrite cores plus a variable inductor. A table compares inductance, applications and frequency, followed by the inductance formula.
Figure 12.5: Inductors store energy in magnetic fields and are critical for switching power supplies, EMI filtering, and sensor signal conditioning. The core material and geometry determine frequency response and saturation characteristics important for IoT power management.

Trace Figure 12.5 by comparing Inductor Types with the Iron Core branch, then use Variable to separate an adjustable part from a fixed winding. The IEC Symbol is the schematic counterpart to those physical forms. Core material and geometry change frequency response and saturation, so the drawing leads into a datasheet check for inductance, current rating, loss, and adjustment range rather than a choice based on the coil’s appearance.

Bring the visual evidence in Figure 12.6 into essential active components. Its purpose is to reveal understanding resistor schematic symbols enables quick circuit reading. Standard fixed resistors use the zigzag symbol, while variable resistors show an arrow. Temperature-sensitive thermistors and light-sensitive photoresistors have distinctive markings indicating their sensor functionality before a design claim is accepted.

Resistor symbols compare fixed IEC and IEEE forms, variable potentiometer and rheostat forms, and a light-dependent resistor. A legend distinguishes standards and connection leads.
Figure 12.6: Understanding resistor schematic symbols enables quick circuit reading. Standard fixed resistors use the zigzag symbol, while variable resistors show an arrow. Temperature-sensitive thermistors and light-sensitive photoresistors have distinctive markings indicating their sensor functionality.

In Figure 12.6, Resistor Symbols establishes the first electrical role, while IEC Symbol marks the contrasting role and Variable supplies the operating detail. Those labels show understanding resistor schematic symbols enables quick circuit reading. Standard fixed resistors use the zigzag symbol, while variable resistors show an arrow. Temperature-sensitive thermistors and light-sensitive photoresistors have distinctive markings indicating their sensor functionality. This connects the visual to essential active components by making the relevant component behaviour part of the design check.

Inspect this evidence before proceeding: Figure 12.7 deserves inspection now because essential active components depends on its concrete account of different resistor types suit various IoT applications. Carbon film resistors offer low cost for general use, metal film provides better precision for sensor circuits, surface mount enables compact PCB designs, and wirewound resistors handle high-power applications like current sensing.

Geometric comparison of resistor package types showing carbon film axial resistor with color bands, metal film precision resistor, surface mount chip resistor with size codes, and high-power wirewound resistor for current sensing applications
Figure 12.7: Different resistor types suit various IoT applications. Carbon film resistors offer low cost for general use, metal film provides better precision for sensor circuits, surface mount enables compact PCB designs, and wirewound resistors handle high-power applications like current sensing.

The diagram in Figure 12.7 starts with Types of Resistors, but the useful split is between Color bands indicate resistance value and Power Resistors. Colour bands help identify a through-hole value; the power-resistor branch warns that value alone does not establish safe dissipation. That distinction carries the component survey into two separate checks: resistance and tolerance for signal paths, then package and wattage for current-sensing or load duties.

12.9.3.3 Common IoT Circuit Patterns

These circuit patterns solve 90% of IoT interface challenges:

Circuit PatternPurposeWhen to UseFormula/Notes
Voltage DividerScale voltage downSensor output > ADC range, 5V→3.3V level shiftVout = Vin × (R2 / (R1 + R2))
Pull-up ResistorEnsure defined logic HIGHI2C, open-drain outputs, buttons4.7kΩ-10kΩ typical, lower for faster switching
Pull-down ResistorEnsure defined logic LOWGPIO floating inputs, reset pins10kΩ-100kΩ typical
Decoupling CapacitorReduce power supply noiseEvery IC power pin100nF ceramic + 10µF electrolytic
Level ShifterBidirectional 3.3V ↔ 5VI2C, SPI, UART voltage mismatchUse BSS138 MOSFET or TXS0108E IC
Current Limiting (LED)Prevent LED burnoutAll LED circuitsR = (Vsupply - Vf) / Iled
Flyback DiodeSuppress inductive kickbackMotors, relays, solenoids1N4001-1N4007 across coil
RC Low-Pass FilterRemove high-frequency noiseAnalog sensor inputsfc = 1 / (2π × R × C)

12.9.3.4 Quick IoT Component Selection Guide

For Beginners - Start Here:

GoalComponent ComboExample Circuit
Status indicatorLED + ResistorGPIO → 220Ω resistor → LED → GND
Speed controlTransistor + MotorGPIO → 1kΩ → NPN base, Motor between Vcc and collector
Stable powerCapacitor + RegulatorBattery → AMS1117-3.3 → 10µF cap → ESP32
Sensor interfaceVoltage divider5V sensor → 10kΩ → ADC pin → 10kΩ → GND
High-current loadMOSFET + Gate resistorGPIO → 100Ω → MOSFET gate, Load between Vcc and drain

12.9.3.5 Component Rating Guidelines

Critical Safety Rules - Prevent Component Damage:

ParameterSelection RuleExampleWhy It Matters
Voltage RatingChoose ≥ 2× expected voltage12V supply → use 25V+ capacitorVoltage spikes can exceed nominal
Current RatingChoose ≥ 1.5× expected current1A motor → use 1.5A+ transistorPrevent overheating and failure
Power Rating (Watts)Must exceed P = I² × R or P = V × I5V, 20mA LED → R=150Ω → P=0.06W → use 1/8W (0.125W) resistorInsufficient rating → burnout
Temperature RatingMatch environmentOutdoor sensor: -40°C to +85°C rated componentsConsumer-grade (0-70°C) fails in harsh conditions
Package SizeConsider PCB design0402, 0805 (SMD) or through-holeSmaller = harder to hand-solder

Real-World Temperature Derating:

  • Commercial: 0°C to 70°C (indoor IoT devices)
  • Industrial: -40°C to 85°C (outdoor sensors, automotive)
  • Military: -55°C to 125°C (extreme environments)

Common Mistakes to Avoid:

  1. Wrong: “Any resistor will work.” Fix: calculate exact value and power rating.
  2. Wrong: using a 5V sensor with a 3.3V ADC directly. Fix: add a voltage divider or level shifter.
  3. Wrong: connecting a motor directly to GPIO. Fix: use a transistor/MOSFET switch.
  4. Wrong: forgetting the flyback diode on a relay. Fix: add a 1N4007 across the coil.
  5. Wrong: no decoupling capacitor on an MCU. Fix: add 100nF at each Vcc pin.

12.9.3.6 Quick Component Calculations

Use the calculations as three different interface checks. For the LED, subtract the diode’s forward voltage before choosing a resistor, round to an available value that stays within GPIO and LED current limits, and verify dissipation. For the divider, solve the ratio but also check source impedance, ADC loading, tolerance, and transient overvoltage before calling 3.31 V safe. For decoupling, the charge estimate links current, event duration, and allowed droop, but layout, capacitor impedance, regulator response, and a measured rail transient decide the practical value. Carry units through every step and record the operating state; a neat nominal answer is not evidence that the installed circuit meets its electrical contract.

LED Current Limiting:

StepCalculation
GivenESP32 GPIO = 3.3V, red LED Vf = 2.0V, desired current = 10mA
ResistorR = (Vsupply - Vf) / I = (3.3 - 2.0) / 0.010 = 130Ω
Standard valueUse 150Ω
PowerP = I² × R = (0.01)² × 150 = 0.015W, so a 1/8W resistor is sufficient

Voltage Divider for 5V→3.3V:

StepCalculation
Given5V sensor output, 3.3V maximum ADC input
FormulaVout = Vin × (R2 / (R1 + R2))
Target3.3 = 5 × (R2 / (R1 + R2))
Choose valuesR2 = 10kΩ, R1 = 5.15kΩ, use 5.1kΩ standard value
Verify5 × (10k / (5.1k + 10k)) = 3.31V

Decoupling Capacitor Value:

StepCalculation
Rule of thumbC = I × t / ΔV
ExampleMCU draws 100mA for a 10ns switching transient, allow 0.1V droop
ResultC = 0.1 × 10×10⁻⁹ / 0.1 = 10nF
Practical choiceUse 100nF for safety margin

Before applying the specification, inspect the real wire / cable (conductor types) below: its package, terminals, scale, and installation context are part of the engineering evidence.

Real photograph of wire / cable (conductor types)
This real example (Wire cable tray01) shows a physical form of wire / cable (conductor types). Use the visible package, interfaces, scale, mounting, and surrounding context as evidence; a catalogue label alone does not establish deployment fit. Photo: Leotard; Public domain

Carry those visible constraints into the surrounding analysis; the abstract symbol or capability name does not capture mounting, wiring, protection, or service access.

Voltage VeraCheckpoint: Component Calculations

You now know:

  • A 10kΩ pull-up with a 100nF capacitor gives a 1 ms time constant, and 5τ reaches 99.3% after 5 ms.
  • The 5V to 3.3V divider example uses 10kΩ and 5.1kΩ and verifies about 3.31V.
  • The LED example chooses 150Ω and dissipates 0.015W, so a 1/8W resistor is sufficient.

12.9.3.7 Interactive Component Calculators

Use the sliders below to calculate LED resistor values, voltage divider outputs, and RC time constants in real time.

LED Current-Limiting Resistor Calculator:

Voltage Divider Calculator:

RC Time Constant Calculator:

Component Selection Summary Table:

ScenarioRecommended ComponentsKey SpecsNotes
Low-current indicator (<20mA)Standard LED + resistor220Ω-1kΩ, 1/8WSimple and reliable
Medium current load (100mA-1A)NPN transistor (2N2222)Ic=800mA, hFE>100Add base resistor
High current load (>1A)Logic-level N-MOSFETRDS(on)<0.1Ω, Vgs(th)<2.5VIRF540, IRLZ44N
Inductive load (motor, relay)MOSFET + flyback diode1N4007 diodePrevents voltage spikes
3.3V from battery (low noise)Linear LDO regulatorAMS1117-3.3, 1A maxSimple, low noise
3.3V from battery (efficient)Buck converterTPS62130, 85-95% efficientLonger battery life
Sensor signal amplificationLow-power op-ampLM358 (general), MCP6002 (rail-to-rail)Single supply compatible
5V↔3.3V bidirectionalLogic level shifter ICTXS0108E, BSS138I2C, SPI safe conversion

Pro Tips for Component Selection:

  1. Start with reference designs: Most sensor/module datasheets include recommended circuits
  2. Use standard values: Resistors (E12 series: 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82)
  3. Buy assortment kits: Get common values (resistors, capacitors, transistors) for prototyping
  4. Check package availability: Through-hole for breadboarding, SMD for final PCB
  5. Read the datasheet: Absolute maximum ratings, recommended operating conditions, typical circuits

Every IoT device follows a similar block architecture, regardless of whether it’s a simple sensor node or complex gateway:

Use Figure 12.8 as the checkpoint for this section: it shows the six subsystems of a generic IoT device before the components inside them are discussed.

Generic IoT device block diagram showing six major subsystems: wireless transceiver with antenna and RF front-end, energy management with battery and solar panel, microcontroller for program execution, memory for code and data storage, mixed-signal ADC/DAC converters, and sensor/actuator interfaces
Figure 12.8: Generic IoT device block diagram showing six major subsystems: Wireless Transceiver, Energy Management, Microcontroller, Memory, Mixed-Signal, and Sensors/Actuators

Read Figure 12.8 as a map of a generic IoT device: the wireless transceiver with its antenna and RF front end, energy management with its battery and solar input, the microcontroller, memory, the mixed-signal stage, and the sensors and actuators. Conductor traces on the board connect these subsystems, which is why every component choice in the rest of this section is tied back to one of these six blocks.

Subsystem Functions:

SubsystemFunctionPower ConsumptionExample Components
Wireless TransceiverRF communication10-100mA (TX), 5-20mA (RX)ESP32 Wi-Fi, SX1276 LoRa, nRF52 BLE
MicrocontrollerProgram execution, logic1-50mA (active), 1-50µA (sleep)ARM Cortex-M0/M4, ESP32, ATmega
MemoryCode and data storageIncluded in MCUFlash (program), SRAM (data)
Energy ManagementVoltage regulation, charging1-10µA overheadLDO, DC-DC converter, PMIC
Mixed-SignalADC, DAC, comparators10-100µA per channelBuilt into MCU or external ICs
Sensors/ActuatorsPhysical world interface1µA - 100mA (varies widely)BME280, DHT22, motors, LEDs

Real Numbers - Ultra-Low-Power Design:

With a 1000mAh battery and 11.4µA average sleep current:

  • Battery Life = 1000mAh / 0.0114mA = 87,719 hours = 10 years

This is achievable when:

  • Sleep mode 99.9% of time
  • Wake briefly (100 ms) every 15 minutes
  • Transmit data once per hour

12.10 Continue to the Next Part

Carry this evidence into Component Architecture: Capacitors and Selection, which begins with Checkpoint: Architecture and Power.