Chapters

13 IoT Quick Reference: Conversions and Standards

capstone
appendix-conversions-formulas-standards

13.1 Start With the Situation

This section: Start With the Situation — A design note now has the right component and protocol names, but its numbers still need consistent units and formulas.

A design note now has the right component and protocol names, but its numbers still need consistent units and formulas. This route keeps the conversion, calculation, and standards checks together.

13.2 Overview

This section: Overview — This reference route connects unit conversion and useful formulas to calculators and standards sources.

This reference route connects unit conversion and useful formulas to calculators and standards sources.

This is part 2 of 2. Review IoT Quick Reference: Terms and Hardware when you need the first route.

13.3 Learning Objectives

This section: Learning Objectives

By the end of this chapter, you will be able to:

  • convert common IoT units
  • apply networking and electronics formulas
  • locate relevant standards and references

13.4 E. Unit Conversions

This section: E. Unit Conversions

13.4.1 Data Rate

UnitEquivalent
1 bps1 bit/second
1 kbps1,000 bps
1 Mbps1,000,000 bps
1 Gbps1,000,000,000 bps
1 Byte/s8 bps

13.4.2 Signal Strength (dBm)

Transmit-power examples

dBmmWTypical Use
301000Max Wi-Fi (US)
20100Typical router

Power conversion reference

dBmmW
1010
01

Received-signal examples

Higher dBm means a stronger received signal: −10 dBm is stronger than −50 dBm.

dBmmWReception Example
-100.1Stronger than the −50 dBm example below
-500.00001Excellent Wi-Fi
-700.0000001Good Wi-Fi
-900.000000001Weak Wi-Fi
-120-LoRa sensitivity

13.4.3 Power Consumption

Current@ 3.3VBattery Life (2000mAh)
1 mA3.3 mW2000 hours (83.3 days)
100 µA330 µW20,000 hours (833 days / 2.3 years)
10 µA33 µW200,000 hours (22.8 years)
1 µA3.3 µW2,000,000 hours (228 years)

13.5 F. Useful Formulas

This section: F. Useful Formulas

13.5.1 Networking

Free Space Path Loss (dB): FSPL=20log⁡10(d)+20log⁡10(f)+20log⁡10(4πc)FSPL = 20 \log_{10}(d) + 20 \log_{10}(f) + 20 \log_{10}\left(\frac{4\pi}{c}\right)

Link Budget: Prx=Ptx+Gtx+Grx−Lpath−LotherP_{rx} = P_{tx} + G_{tx} + G_{rx} - L_{path} - L_{other}

Shannon Capacity: C=Blog⁡2(1+SNR)C = B \log_2(1 + SNR)

This section:

13.5.2 Electronics

Ohm’s Law: V=I×RV = I \times R

Power: P=V×I=I2×R=V2RP = V \times I = I^2 \times R = \frac{V^2}{R}

Voltage Divider: Vout=Vin×R2R1+R2V_{out} = V_{in} \times \frac{R_2}{R_1 + R_2}

RC Time Constant: τ=R×C\tau = R \times C

Cutoff Frequency (RC Filter): fc=12πRCf_c = \frac{1}{2\pi RC}

This section:

13.5.3 Battery Life

Battery Life (hours): Life=BatterymAhIaveragemALife = \frac{Battery_{mAh}}{I_{average_{mA}}}

Duty Cycle Average Current: Iavg=(Iactive×D)+(Isleep×(1−D))I_{avg} = (I_{active} \times D) + (I_{sleep} \times (1-D))

Where D = duty cycle (0-1)

This section:

13.6 G. References and Further Reading

This section: G. References and Further Reading

MVU: IoT Standards Landscape

Core Concept: IoT standards come from different organizations - IEEE for physical/MAC layers (802.11, 802.15.4), IETF for internet protocols (CoAP, 6LoWPAN, RPL), and industry alliances for application-specific specs (LoRaWAN, Zigbee, Matter).

Why It Matters: Knowing which organization owns a standard tells you where to find official documentation, certification requirements, and future roadmaps for the technology you are using.

Key Takeaway: When researching a protocol, start with the standards body that owns it - IEEE for wireless PHY/MAC, IETF for IP-based protocols, and alliance websites for ecosystem-specific features.

13.6.1 Standards Organizations

IEEE: IEEE - 802.11, 802.15.4 standards IETF: IETF - CoAP, 6LoWPAN, RPL RFCs LoRa Alliance: LoRa Alliance - LoRaWAN specification Connectivity Standards Alliance (CSA): Connectivity Standards Alliance - Zigbee and Matter standards Bluetooth SIG: Bluetooth SIG - Bluetooth specifications

13.6.2 Key RFCs and Standards

DocumentTitle
RFC 7252CoAP - Constrained Application Protocol
RFC 6550RPL - Routing Protocol for LLNs
RFC 4944IPv6 over 802.15.4 (6LoWPAN)
RFC 62826LoWPAN Header Compression
IEEE 802.15.4Low-Rate Wireless PANs
IEEE 802.11Wireless LAN (Wi-Fi)

Common Pitfalls

This section: Common Pitfalls

The appendix is reference material, not a structured learning path. Reading it linearly without the conceptual grounding from main chapters produces memorization without understanding. Use appendix sections as deep-dives after the relevant main chapter concepts are understood, not as standalone introductions.

Appendix content is only valuable when connected to the problems it solves. When using a formula from the appendix, trace it back to the chapter where it was applied in context. The mathematical derivation alone without the application context rarely produces actionable understanding.

Code examples in reference appendices are illustrative, not deployment-ready. They typically use placeholder device IDs, hardcoded credentials, and simplified error handling. Always adapt examples to your specific hardware, add proper error handling, and validate against your target environment before relying on them in production.

Label the Diagram
Code Challenge

13.8 Summary

This section: Summary

This appendix serves as a quick reference companion to the main textbook:

Glossary: 45+ IoT terms with concise definitions Protocol Comparisons: Side-by-side tables for wireless, LPWAN, and application protocols Sensor Specifications: Common temperature, motion, and distance sensors with specs ESP32 Pin Reference: GPIO capabilities and common pin assignments Engineering Formulas: Essential calculations for link budgets, battery life, and electronics

13.9 Knowledge Check

This section: Knowledge Check

Auto-Gradable Quick Check

Appendix serves as the connective tissue between modules: Each table, formula, or pin reference draws from concepts explained in detail elsewhere: 6LoWPAN in networking, MQTT in application protocols, BME280 specifications in sensors, and ESP32 GPIO in prototyping. The appendix does not introduce new concepts; it consolidates them for quick reference.

Standards organizations map to technology layers: IEEE owns physical/MAC layers such as 802.11 and 802.15.4, IETF owns IP-based protocols such as CoAP, 6LoWPAN, and RPL, and industry alliances such as the LoRa Alliance and CSA own ecosystem specifications. Understanding this mapping helps you find authoritative documentation.

Protocol comparison tables reveal design trade-offs: The short-range table shows the relationship between data rate and power, such as Wi-Fi being higher rate and higher power while Zigbee is lower rate and lower power. The LPWAN table shows licensed vs. unlicensed spectrum trade-offs, such as NB-IoT using licensed spectrum and LoRaWAN using unlicensed spectrum. These tables do not make design decisions for you; they help you ask the right questions before consulting detailed chapters.

Formulas connect hardware to behavior: Link budget calculations tie transmit power to receiver sensitivity through path loss. Battery-life calculations connect current consumption to duty cycle. The appendix does not teach when to apply these formulas; it assumes you have already learned the underlying principles.

Pin reference prevents hardware mistakes: ESP32 GPIO tables show which pins have ADC, DAC, and touch capabilities, default I2C/SPI assignments, and boot-mode restrictions. This reference does not teach you how I2C works; it helps you avoid wiring mistakes after you have learned the protocol.

Within This Module (Engineering & Capstone):

Capstone Projects - Apply appendix references in real projects Glossary A-F - Extended glossary (A-F terms) Glossary G-P - Extended glossary (G-P terms)

Related Concepts in Other Modules:

IoT Protocol Stack - Detailed explanation of protocol layers Sensor Interfacing - I2C/SPI/UART protocols in depth ESP32 Development - ESP32 GPIO usage and examples MQTT Fundamentals - MQTT protocol details CoAP Fundamentals - CoAP protocol details LoRaWAN Architecture - LoRaWAN specification details Link Budget Calculations - RF link budget explained Battery Life Optimization - Battery life formulas and strategies

External Resources:

IEEE Standards - Official IEEE 802.11, 802.15.4 specifications IETF RFCs - CoAP, 6LoWPAN, RPL specifications LoRa Alliance - LoRaWAN specification downloads ESP32 Technical Reference Manual - Complete ESP32 GPIO and peripheral documentation

13.11 What’s Next

This section: What’s Next

If you want to…Read this
Build a complete IoT system with capstone projectsCapstone Projects
Look up technical term definitions from across the courseIoT Glossary A-F
Continue to the next appendix topicMathematical Foundations
Apply consistent visual standards from the style guideReference Appendix
Return to any module for deeper topic explorationData Storage

Find help

3 reviewed answers.

Where should I start in a module?

Open the module page from the sidebar to see its chapters in order. Use the module map to return to a topic you need.

Modules and paths

Reviewed

What can I try when a project does not work?

Check the symptom, then work through the diagnostic steps. Keep the error message and the smallest example that reproduces it.

When you are stuck

Reviewed

How do interactive examples work?

Use the interactive guide to check how examples and simulations work before changing your project.

Interactive examples guide

Reviewed