Chapters

13 IoT Quick Reference: Conversions and Standards

capstone
appendix-conversions-formulas-standards

13.1 Start With the Situation

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 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

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 Chapter Roadmap

Follow the original sections below in order. They begin at the reviewed split boundary and keep every worked example, figure, check, and supporting banner with the section that owns it.

13.5 E. Unit Conversions

13.5.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.5.2 Signal Strength (dBm)

dBmmWTypical Use
301000Max Wi-Fi (US)
20100Typical router
1010-
01-
-100.1Good Wi-Fi signal
-500.00001Excellent Wi-Fi
-700.0000001Good Wi-Fi
-900.000000001Weak Wi-Fi
-120-LoRa sensitivity

13.5.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.6 F. Useful Formulas

13.6.1 Networking

Free Space Path Loss (dB): FSPL=20log10(d)+20log10(f)+20log10(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+GrxLpathLotherP_{rx} = P_{tx} + G_{tx} + G_{rx} - L_{path} - L_{other}

Shannon Capacity: C=Blog2(1+SNR)C = B \log_2(1 + SNR)

13.6.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}

13.6.3 Battery Life

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

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

Where D = duty cycle (0-1)

13.7 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.7.1 Standards Organizations

IEEE: ieee.org - 802.11, 802.15.4 standards IETF: ietf.org - CoAP, 6LoWPAN, RPL RFCs LoRa Alliance: lora-alliance.org - LoRaWAN specification Connectivity Standards Alliance (CSA): csa-iot.org - Zigbee and Matter standards Bluetooth SIG: bluetooth.com - Bluetooth specifications

13.7.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

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.9 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.10 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.12 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