10 Conductors & Semiconductors
10.1 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
10.2 Conductors, Insulators, and Semiconductors
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.
10.2.1 Electronic Components Taxonomy
Passive Components: R, C, L Engineering Reference
The three passive components—resistors, capacitors, and inductors—behave differently in circuits. Understanding their properties is essential for IoT design.
| Property | Resistor (R) | Capacitor (C) | Inductor (L) |
|---|---|---|---|
| Circuit Symbol | ⏛ (zigzag) | ⏥ (parallel plates) | ⏚ (coil) |
| I-V Relationship | V = R·I | I = C·dV/dt | V = L·dI/dt |
| Unit | Ohm (Ω) | Farad (F) = C/V | Henry (H) = V·s/A |
| Impedance Z | Z = R | Z = 1/(j2πfC) | Z = j2πfL |
| Power Loss | P = I²R = V²/R | 0 (ideal) | 0 (ideal) |
| Energy Storage | 0 (dissipates heat) | W = ½CV² | W = ½LI² |
| Frequency Response | Constant | Passes high freq, blocks DC | Passes DC, blocks high freq |
Why This Matters for IoT:
| Component | IoT Application | Example |
|---|---|---|
| Resistor | Current limiting, voltage dividers, pull-ups | LED current limiting (220Ω), sensor pull-up (4.7kΩ) |
| Capacitor | Power filtering, decoupling, timing | 100nF decoupling on MCU VCC, 1000µF bulk capacitor |
| Inductor | EMI filtering, DC-DC conversion, antennas | Switching 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 = 1ms
- 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 ~50ms during brownout)
Component Quick Reference
10.2.2 Schematic Symbol to Real Component Guide
Learning to read schematics requires mapping symbols to physical components:
| Component | Symbol Description | Physical Appearance | Key Specs to Know |
|---|---|---|---|
| Resistor | Zigzag line or rectangle | Cylinder with color bands | Ohms (Ω), Power rating (W) |
| Capacitor | Two parallel lines | Cylinder or disc | Capacitance (µF), Voltage rating |
| LED | Triangle with arrow + light rays | Clear/colored dome | Forward voltage (Vf), Max current |
| Transistor | Circle with 3 leads (NPN/PNP) | TO-92 or SMD package | hFE (gain), Vce max |
| Diode | Triangle pointing to line | Glass cylinder with stripe | Forward voltage, Max current |
| Inductor | Coiled line | Wire-wound cylinder | Inductance (µ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Ω
Putting Numbers to It
RC time constant determines how fast a capacitor charges through a resistor – critical for debouncing buttons and timing circuits:
\[\tau = R \times C\]
Example: Button debounce circuit with 10kΩ pull-up and 100nF capacitor:
\[\tau = 10,000\Omega \times 0.0000001F = 0.001s = 1ms\]
The capacitor charges to 63% of final voltage in 1ms, effectively filtering mechanical switch bounce (<10ms typical).
After 5τ (5ms), voltage reaches 99.3% of final value – eliminating false triggers.
LC resonant frequency determines antenna and RF filter design:
\[f = \frac{1}{2\pi\sqrt{LC}}\]
Example: 433 MHz LoRa antenna matching network:
\[f = 433 \times 10^6 \text{ Hz}\]
\[LC = \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 = \frac{1.35 \times 10^{-19}}{10 \times 10^{-9}} = 13.5pF\) ← typical antenna tuning capacitor value.
10.2.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.
10.2.3.1 Essential Passive Components
| Component | Symbol | Function | IoT Use Case | Typical Values |
|---|---|---|---|---|
| Resistor | ─/\/\/─ |
Limits current flow | LED current limiting | 220Ω-10kΩ |
| Capacitor | ─ǁ─ |
Stores electrical charge | Power supply smoothing | 100nF-1000µF |
| Inductor | ─∿∿∿─ |
Stores magnetic energy | Switching regulators, EMI filtering | 10µH-100mH |
| Diode | ─▷│─ |
One-way current flow | Reverse polarity protection | 1N4001, 1N4148 |
| LED | ─▷│─ (light) |
Light output | Status indicators, displays | Red: 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
10.2.3.2 Essential Active Components
| Component | Function | IoT Use Case | Popular Parts | Key Specs |
|---|---|---|---|---|
| Transistor (NPN) | Switch/amplify small signals | Driving motors, relays | 2N2222, BC547 | Ic=800mA, hFE=100-300 |
| Transistor (PNP) | High-side switching | Load switching | 2N2907, BC557 | Ic=600mA, hFE=100-300 |
| MOSFET (N-channel) | High-current power switching | Motors, LED strips, solenoids | IRF540, AO3400 | Id=10-30A, RDS(on)=0.01-0.1Ω |
| MOSFET (P-channel) | High-side load control | Reverse polarity protection | IRF9540, AO3401 | Id=10-20A, higher RDS(on) |
| Op-Amp | Signal conditioning | Sensor amplification, filtering | LM358, MCP6002 | Low power; MCP6002 is rail-to-rail |
| Voltage Regulator (Linear) | Stable DC voltage | 3.3V/5V from battery | AMS1117, LM7805 | Dropout: 1.0-2.0V, efficiency 50-60% |
| Voltage Regulator (Switching) | Efficient power conversion | Battery-powered IoT nodes | TPS62130, LM2596 | Efficiency: 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)
10.2.3.3 Common IoT Circuit Patterns
These circuit patterns solve 90% of IoT interface challenges:
| Circuit Pattern | Purpose | When to Use | Formula/Notes |
|---|---|---|---|
| Voltage Divider | Scale voltage down | Sensor output > ADC range, 5V→3.3V level shift | Vout = Vin × (R2 / (R1 + R2)) |
| Pull-up Resistor | Ensure defined logic HIGH | I2C, open-drain outputs, buttons | 4.7kΩ-10kΩ typical, lower for faster switching |
| Pull-down Resistor | Ensure defined logic LOW | GPIO floating inputs, reset pins | 10kΩ-100kΩ typical |
| Decoupling Capacitor | Reduce power supply noise | Every IC power pin | 100nF ceramic + 10µF electrolytic |
| Level Shifter | Bidirectional 3.3V ↔︎ 5V | I2C, SPI, UART voltage mismatch | Use BSS138 MOSFET or TXS0108E IC |
| Current Limiting (LED) | Prevent LED burnout | All LED circuits | R = (Vsupply - Vf) / Iled |
| Flyback Diode | Suppress inductive kickback | Motors, relays, solenoids | 1N4001-1N4007 across coil |
| RC Low-Pass Filter | Remove high-frequency noise | Analog sensor inputs | fc = 1 / (2π × R × C) |
10.2.3.4 Quick IoT Component Selection Guide
For Beginners - Start Here:
| Goal | Component Combo | Example Circuit |
|---|---|---|
| Status indicator | LED + Resistor | GPIO → 220Ω resistor → LED → GND |
| Speed control | Transistor + Motor | GPIO → 1kΩ → NPN base, Motor between Vcc and collector |
| Stable power | Capacitor + Regulator | Battery → AMS1117-3.3 → 10µF cap → ESP32 |
| Sensor interface | Voltage divider | 5V sensor → 10kΩ → ADC pin → 10kΩ → GND |
| High-current load | MOSFET + Gate resistor | GPIO → 100Ω → MOSFET gate, Load between Vcc and drain |
10.2.3.5 Component Rating Guidelines
Critical Safety Rules - Prevent Component Damage:
| Parameter | Selection Rule | Example | Why It Matters |
|---|---|---|---|
| Voltage Rating | Choose ≥ 2× expected voltage | 12V supply → use 25V+ capacitor | Voltage spikes can exceed nominal |
| Current Rating | Choose ≥ 1.5× expected current | 1A motor → use 1.5A+ transistor | Prevent overheating and failure |
| Power Rating (Watts) | Must exceed P = I² × R or P = V × I | 5V, 20mA LED → R=150Ω → P=0.06W → use 1/8W (0.125W) resistor | Insufficient rating → burnout |
| Temperature Rating | Match environment | Outdoor sensor: -40°C to +85°C rated components | Consumer-grade (0-70°C) fails in harsh conditions |
| Package Size | Consider PCB design | 0402, 0805 (SMD) or through-hole | Smaller = 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:
- ❌ “Any resistor will work” → ✓ Calculate exact value and power rating
- ❌ Using 5V sensor with 3.3V ADC directly → ✓ Add voltage divider or level shifter
- ❌ Connecting motor directly to GPIO → ✓ Use transistor/MOSFET switch
- ❌ Forgetting flyback diode on relay → ✓ Always add 1N4007 across coil
- ❌ No decoupling capacitor on MCU → ✓ Add 100nF at each Vcc pin
10.2.3.6 Quick Component Calculations
LED Current Limiting:
Given: ESP32 GPIO (3.3V), Red LED (Vf=2.0V), desired current 10mA
R = (Vsupply - Vf) / I = (3.3 - 2.0) / 0.010 = 130Ω → use 150Ω (standard value)
Power: P = I² × R = (0.01)² × 150 = 0.015W → use 1/8W resistor
Voltage Divider for 5V→3.3V:
Given: 5V sensor output, 3.3V max ADC input
Vout = Vin × (R2 / (R1 + R2))
3.3 = 5 × (R2 / (R1 + R2))
Choose R2 = 10kΩ, then R1 = 5.15kΩ → use 5.1kΩ (standard value)
Verify: 5 × (10k / (5.1k + 10k)) = 3.31V ✓
Decoupling Capacitor Value:
Rule of thumb: C = I × t / ΔV
For MCU drawing 100mA with 10ns switching, allow 0.1V droop:
C = 0.1 × 10×10⁻⁹ / 0.1 = 10nF → use 100nF for safety margin
10.2.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:
| Scenario | Recommended Components | Key Specs | Notes |
|---|---|---|---|
| Low-current indicator (<20mA) | Standard LED + resistor | 220Ω-1kΩ, 1/8W | Simple and reliable |
| Medium current load (100mA-1A) | NPN transistor (2N2222) | Ic=800mA, hFE>100 | Add base resistor |
| High current load (>1A) | Logic-level N-MOSFET | RDS(on)<0.1Ω, Vgs(th)<2.5V | IRF540, IRLZ44N |
| Inductive load (motor, relay) | MOSFET + flyback diode | 1N4007 diode | Prevents voltage spikes |
| 3.3V from battery (low noise) | Linear LDO regulator | AMS1117-3.3, 1A max | Simple, low noise |
| 3.3V from battery (efficient) | Buck converter | TPS62130, 85-95% efficient | Longer battery life |
| Sensor signal amplification | Low-power op-amp | LM358 (general), MCP6002 (rail-to-rail) | Single supply compatible |
| 5V↔︎3.3V bidirectional | Logic level shifter IC | TXS0108E, BSS138 | I2C, SPI safe conversion |
Pro Tips for Component Selection:
- Start with reference designs: Most sensor/module datasheets include recommended circuits
- Use standard values: Resistors (E12 series: 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82)
- Buy assortment kits: Get common values (resistors, capacitors, transistors) for prototyping
- Check package availability: Through-hole for breadboarding, SMD for final PCB
- Read the datasheet: Absolute maximum ratings, recommended operating conditions, typical circuits
Generic IoT Device Architecture
Every IoT device follows a similar block architecture, regardless of whether it’s a simple sensor node or complex gateway:
Subsystem Functions:
| Subsystem | Function | Power Consumption | Example Components |
|---|---|---|---|
| Wireless Transceiver | RF communication | 10-100mA (TX), 5-20mA (RX) | ESP32 Wi-Fi, SX1276 LoRa, nRF52 BLE |
| Microcontroller | Program execution, logic | 1-50mA (active), 1-50µA (sleep) | ARM Cortex-M0/M4, ESP32, ATmega |
| Memory | Code and data storage | Included in MCU | Flash (program), SRAM (data) |
| Energy Management | Voltage regulation, charging | 1-10µA overhead | LDO, DC-DC converter, PMIC |
| Mixed-Signal | ADC, DAC, comparators | 10-100µA per channel | Built into MCU or external ICs |
| Sensors/Actuators | Physical world interface | 1µ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 (100ms) every 15 minutes - Transmit data once per hour
10.2.4 Material Classification
Now that we have surveyed the electronic components used in IoT systems, let’s examine the underlying material science that makes them possible. All materials fall into three categories based on how freely their electrons can move.
| Type | Electron Mobility | Resistance | Examples | IoT Use |
|---|---|---|---|---|
| Conductor | Free to move | Very low (~10-8 Ω·m) | Copper, gold, aluminum | Wires, PCB traces, contacts |
| Insulator | Cannot move | Very high (~1015 Ω·m) | Rubber, glass, plastic | Cable insulation, PCB substrate |
| Semiconductor | Conditionally mobile | Medium (variable) | Silicon, germanium | Transistors, diodes, ICs |
10.2.5 The Semiconductor Advantage
Key Property: Semiconductors can be switched between conducting and insulating states by applying external energy (voltage or current).
This controllability makes ALL modern electronics possible.
For Kids: Meet the Sensor Squad!
The Sensor Squad discovers why materials matter!
Sammy the Sensor was curious about something. “Max, why are some things made of copper and other things made of plastic?” Max the Microcontroller loved this question!
“Imagine a hallway full of kids,” Max explained. “In a CONDUCTOR like copper, all the kids can move freely – they’re like electrons zooming through the hallway. That’s why copper wires carry electricity so well!” Lila the LED nodded. “That’s how electricity gets to me!”
“Now imagine a hallway where all the kids are stuck to their desks and can’t move at all,” Max continued. “That’s an INSULATOR like rubber or plastic. No electrons can flow, so no electricity gets through. That’s why your charging cable has a plastic coating – it keeps the electricity inside the wire and protects your fingers!”
“But here’s the really cool part,” said Max, getting excited. “A SEMICONDUCTOR like silicon is a hallway where the kids are sitting at their desks, but if someone gives them a push – like adding a little bit of special material called a dopant – some of them can start moving! It’s like a teacher saying ‘OK, you can get up now!’”
Bella the Battery was amazed. “So semiconductors can be switched between ‘conducting’ and ‘not conducting’?” “Exactly!” said Max. “That’s what makes transistors work – tiny switches that can turn on and off billions of times per second. That’s how I think and make decisions!”
Sammy looked at the circuit board. “So the copper traces are conductors, the green board is an insulator, and all those tiny chips are semiconductors?” “You got it!” cheered the whole Sensor Squad. “Every IoT device uses all three materials working together!”
10.2.6 Key Words for Kids
| Word | What It Means |
|---|---|
| Conductor | A material that lets electricity flow easily (like copper wire) |
| Insulator | A material that blocks electricity (like rubber or plastic) |
| Semiconductor | A material that can switch between conducting and blocking electricity |
| Silicon | The most common semiconductor material, found in every computer chip |
| Doping | Adding special ingredients to silicon to control how it conducts electricity |
| Circuit Board | The green board inside electronics where copper conductors connect all the chips |
Decision Framework: Selecting the Right Capacitor Type for IoT Applications
Context: You need to add capacitors to your IoT circuit. Choosing the wrong type can cause circuit failure, noise issues, or premature component failure. Use this framework to select the optimal capacitor for each application.
| Capacitor Type | Capacitance Range | Key Properties | Typical Applications | Cost | Pitfalls |
|---|---|---|---|---|---|
| Ceramic (MLCC) | 1pF - 100µF | Low ESR, high frequency response, temperature-stable (X7R), small size | Decoupling, bypassing, high-frequency filtering | Low ($0.05-$0.50) | Voltage coefficient (capacitance drops at rated voltage), microphonic (vibration sensitivity) |
| Electrolytic (Aluminum) | 1µF - 10,000µF | High capacitance, polarized (must observe polarity), high ESR | Bulk power supply filtering, energy storage | Low ($0.10-$1) | Limited lifespan (2000-10,000 hrs), fails open/short, temperature-sensitive |
| Tantalum | 0.1µF - 1000µF | Stable, low leakage, polarized, lower ESR than aluminum | Power supply filtering where size matters, audio circuits | Medium ($0.50-$3) | Catastrophic failure mode (burns/explodes if reversed), surge-sensitive |
| Film (Polyester/Polypropylene) | 1nF - 10µF | Low loss, non-polarized, stable over temperature | Timing circuits, signal coupling, precision filters | Medium ($0.20-$2) | Large physical size limits use in compact IoT devices |
Decision Tree:
START: What's the application?
├─ Decoupling MCU/IC power pins (high frequency noise)
│ └─ Ceramic MLCC (100nF X7R or X5R)
│ - Place <5mm from pin
│ - Add 10µF ceramic for bulk
│
├─ Power supply bulk storage (smooth DC, low frequency)
│ └─ Electrolytic (100µF-1000µF)
│ - Parallel with 100nF ceramic
│ - Check ESR rating for ripple current
│ - Verify lifetime at operating temperature
│
├─ ADC reference filtering (ultra-low noise)
│ └─ Film capacitor (1-10µF polypropylene)
│ - Or high-quality X7R ceramic
│ - Check voltage coefficient
│
├─ Timing circuit (precision RC constant)
│ └─ Film capacitor (polyester/polypropylene)
│ - Or C0G/NP0 ceramic (best stability)
│ - Check temperature coefficient
│
└─ Energy storage (supercapacitor replacement)
└─ Electrolytic (1000µF+)
- Or supercapacitor for very high values
- Consider series resistance
Critical Selection Criteria:
1. Voltage Rating:
- Rule: Always use ≥2× operating voltage
- Example: 5V circuit → use 10V-rated minimum (16V for margin)
- Why: Capacitance drops near rated voltage (ceramic), lifetime extends with derating
2. Temperature Coefficient:
- C0G/NP0: ±30ppm/°C (best stability, small values)
- X7R: ±15% over -55°C to +125°C (good stability, larger values)
- Y5V: +22% to -82% over -30°C to +85°C (worst, avoid for critical circuits)
- Choose: X7R minimum for IoT (C0G for precision timing)
3. ESR (Equivalent Series Resistance):
- Low ESR needed: Decoupling (ceramic), switching regulators
- High ESR OK: Bulk filtering with aluminum electrolytics
- Check datasheet: For >100mA ripple current, verify ESR won’t cause excessive heating
4. Physical Size:
- 0805 ceramic: 2mm × 1.25mm (hand-solderable, common values)
- 1206 ceramic: 3.2mm × 1.6mm (easier for beginners)
- Electrolytic radial: 5-10mm diameter (through-hole, large values)
- Design tip: Reserve space on PCB BEFORE finalizing component selection
Worked Example: ESP32 Power Supply Design
Requirements:
- Input: 5V USB
- Output: 3.3V @ 500mA max (ESP32 + peripherals)
- LDO regulator: AMS1117-3.3
Capacitor selection:
1. Input decoupling (5V rail):
- C1: 100nF X7R ceramic (high frequency noise)
- Voltage: 10V rating (2× safety margin)
- Package: 0805
- C2: 10µF X7R ceramic (bulk storage near regulator)
- Voltage: 10V rating
- Package: 1206 (larger for higher capacitance)
2. Output decoupling (3.3V rail):
- C3: 100nF X7R ceramic (high frequency)
- Voltage: 6.3V rating
- Package: 0805
- C4: 10µF X7R ceramic (bulk storage)
- Voltage: 6.3V rating
- Package: 1206
- C5: 100µF aluminum electrolytic (large transient currents)
- Voltage: 6.3V rating minimum
- Low ESR type (<100mΩ) for 500mA load switching
3. ESP32 VCC pins (near chip):
- C6-C9: 100nF X7R ceramic (one per VCC pin)
- Voltage: 6.3V rating
- Package: 0805
- Critical: Place within 5mm of each VCC pin
Why this combination?
- Ceramic caps handle MHz-GHz switching noise from ESP32 digital logic
- Electrolytic cap provides energy reservoir for Wi-Fi TX bursts (200mA for 1-2s)
- Multiple 100nF caps (one per power pin) minimize inductance
- Cost: ~$1 total for all capacitors
Common Mistakes to Avoid:
- ❌ Using Y5V ceramic for power supply → Capacitance drops 80% at temperature/voltage
- ❌ Forgetting voltage derating → Electrolytic fails early at rated voltage
- ❌ Reversing polarity on electrolytic/tantalum → Explosion, fire hazard
- ❌ Single large capacitor instead of multiple small → High inductance, poor high-frequency response
- ❌ Ignoring ESR for high ripple current → Capacitor overheats, fails
- ❌ No bulk capacitor on switching regulator output → Unstable output voltage
Quick Reference Card:
| Need | Use This | Value | Voltage | Notes |
|---|---|---|---|---|
| MCU decoupling | Ceramic X7R | 100nF | 2× Vcc | One per VCC pin |
| Bulk power | Electrolytic | 100-1000µF | 2× Vcc | Low ESR type |
| ADC reference | Ceramic C0G or Film | 1-10µF | 2× Vref | Ultra-low noise |
| Timing (RC) | Ceramic C0G or Film | Per calculation | 2× Vmax | Stable over temp |
| Energy storage | Electrolytic or Supercap | >1000µF | 2× Vcc | Check leakage current |
Default Recommendation: For general IoT power supply decoupling, use 100nF ceramic (X7R, 0805) + 10µF ceramic (X7R, 1206) + 100µF electrolytic (low ESR) in parallel. This combination handles high-frequency noise, moderate transients, and large current bursts – covering 90% of IoT applications.
How It Works: Passive vs Active Components
The big picture: Electronic components fall into two categories based on energy behavior: passive components (resistors, capacitors, inductors) can only consume or store energy, while active components (transistors, diodes, ICs) can control current flow and amplify signals by using external power.
Step-by-step breakdown:
Resistors: Convert electrical energy to heat following P = I²R - Real example: 220Ω resistor limiting 15mA LED current dissipates P = (0.015)² × 220 = 0.05W as heat, well within its 0.25W power rating and staying cool to touch
Capacitors: Store energy in electric field (E = ½CV²), releasing it during voltage dips to stabilize power supplies - Real example: 100µF capacitor at 5V stores 1.25mJ, supplementing the regulator output during brief ESP32 Wi-Fi transmission current spikes (~200mA bursts lasting 1-2ms)
Transistors: Use small control signal to switch or amplify large currents - Real example: A 3.3V GPIO driving an NPN BJT base through a 1kΩ resistor (Ib = (3.3V - 0.7V) / 1kΩ = 2.6mA base current, 8.6mW input power) controls a 12V motor at 200mA collector current (2.4W output power), providing roughly 280x power gain. MOSFETs achieve even higher ratios since their gate draws near-zero DC current
Why this matters: Passive components set voltage/current levels and filter noise, while active components make decisions and drive loads. Every IoT circuit combines both: passives condition signals, actives process and amplify them.
10.3 Concept Relationships
This chapter connects to other IoT electronics topics:
| Related Concept | Chapter Link | Relationship |
|---|---|---|
| Semiconductors | Semiconductors and Doping | N-type and P-type materials enable transistors |
| Circuit Analysis | Electricity Fundamentals | Ohm’s law applies to resistors, capacitors add impedance |
| Sensor Interfaces | Sensor Circuits | Resistor dividers and capacitor filters condition sensor signals |
| Power Supply | Power Management | Capacitors smooth voltage, inductors store energy in DC-DC converters |
10.4 Try It Yourself
Challenge: Build a Visual Resistor Color Code Decoder
Objective: Create a physical reference tool to quickly identify resistor values without looking up tables.
Materials Needed:
- Index card or cardboard (10cm × 15cm)
- Colored markers or pencils (10 colors: black, brown, red, orange, yellow, green, blue, violet, gray, white)
- Ruler and pen
Steps:
- Draw 4 colored bands on the card representing a resistor
- Create a color-to-digit reference: Black=0, Brown=1, Red=2, Orange=3, Yellow=4, Green=5, Blue=6, Violet=7, Gray=8, White=9
- Write multiplier column: Gold=×0.1, Black=×1, Brown=×10, Red=×100, Orange=×1k, Yellow=×10k, Green=×100k, Blue=×1M
- Add tolerance row: Gold=±5%, Silver=±10%, None=±20%
- Practice decoding: Brown-Black-Red-Gold = 10 × 100Ω ± 5% = 1kΩ
Solution Examples:
- Yellow-Violet-Orange-Gold = 47 × 1000Ω ± 5% = 47kΩ (common pull-up resistor)
- Brown-Black-Brown-Gold = 10 × 10Ω ± 5% = 100Ω (common gate resistor)
- Red-Red-Red-Gold = 22 × 100Ω ± 5% = 2.2kΩ (common current limiting)
Expected Observation: After decoding 10-15 resistors, you’ll memorize common values and recognize patterns instantly. Most IoT circuits use E12 series values (10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82).
Key Takeaway
Every IoT device uses all three material types: conductors (copper traces and wires) carry current between components, semiconductors (chips and ICs) actively control and process signals, and insulators (board substrate and casings) prevent unwanted current flow. Understanding this classification is the first step toward designing reliable electronic circuits.
10.5 See Also
Component Selection Resources:
- Transistor Selection Guide - Choose the right switching device
- Capacitor Types Decision Framework - When to use ceramic vs electrolytic
- Power Dissipation Calculations - Calculate resistor wattage ratings
Circuit Design Patterns:
- Voltage Dividers - Resistive signal conditioning
- Decoupling Capacitors - Power supply noise filtering
- Pull-up/Pull-down Resistors - Define logic levels
10.6 Review: Match the Concepts
10.7 Review: Put It in Order
Common Pitfalls
1. Assuming PCB Substrate is a Perfect Insulator
FR4 PCB substrate has a surface resistance of approximately 10^12 ohm per square — high enough to be treated as insulating for normal circuits. However, moisture absorption, flux residue, and PCB contamination can drop surface resistance to megaohm or kilohm levels on high-impedance circuits (ADC inputs, electrometers). Always clean PCB flux residue and use conformal coating in humid environments.
2. Confusing Conductor Rating for Insulation Rating
A wire rated for 10 A continuous current refers to the conductor’s heating limit, not the insulation’s voltage limit. The same wire may have insulation rated for only 300 V. Using 10 A rated wire in a 240 V AC circuit without verifying the insulation voltage rating can result in insulation breakdown and short circuits.
3. Using Inadequate Wire Gauge for High-Current Actuator Circuits
Resistance of copper wire increases with length and decreases with cross-section (gauge). AWG 28 signal wire (0.08 mm^2) carrying 2 A for a motor creates a voltage drop of 0.5 V per meter — enough to affect motor performance. Use AWG 22-18 wire for motor power runs and calculate voltage drop for all power wiring longer than 30 cm.
4. Metal Enclosure Contact with PCB Ground
Metal enclosures provide EMI shielding only if the PCB ground plane is connected to the enclosure at one point. Multiple ground connections between PCB and enclosure create ground loops that can introduce 50/60 Hz noise into sensitive circuits. Connect the PCB ground to the enclosure at exactly one point, and use insulating standoffs elsewhere.
10.8 What’s Next?
Now that you can classify materials by conductivity and select the right passive and active components, you are ready to explore how semiconductors are engineered at the atomic level:
| Next Chapter | What You Will Learn | Link |
|---|---|---|
| Semiconductors and Doping | N-type and P-type materials, PN junctions, diodes, and rectification | Semiconductors and Doping |
| Transistor Selection Guide | BJT vs MOSFET, logic-level switching, and gate driver circuits | Transistor Selection Guide |
| Electronics Introduction | Overview of the full electronics module and learning path | Electronics Introduction |
| Electricity Fundamentals | Voltage, current, resistance, and Ohm’s Law as the basis for all circuit analysis | Electricity Fundamentals |
| Sensor Circuits and Signals | How resistor dividers, op-amp stages, and filters condition real sensor outputs | Sensor Circuits |