Chapters

12 IoT Quick Reference: Terms and Hardware

capstone
appendix-conversions-formulas-standards

12.1 Overview

This first reference route covers vocabulary, protocols, sensors, and pin-level hardware facts.

This is part 1 of 2. Continue with IoT Quick Reference: Conversions and Standards for the second focused route.

12.2 In 60 Seconds

Prove a Quick Lookup Supports the Decision

Picture a builder who copies a range from a table and orders hardware before checking the band or site. A fast answer can create a slow failure when its limits are missing.

A protocol means an agreed set of rules for exchanging information. Record its version, role, source, date, and design consequence beside any value taken from this appendix.

Choose one lookup and test it against the cited source and the real design condition. Keep the question, value, units, source, assumption, check, and result so another person can verify the choice.

This check validates one use of a reference, not the whole design. The detailed chapters explain trade-offs, implementation, safety, and troubleshooting.

This appendix is a quick-reference companion for IoT terminology, protocol comparisons, sensor specifications, ESP32 pin assignments, common unit conversions, engineering formulas, and standards links. Use it when you already understand the topic and need to recall a fact quickly. Return to the detailed chapters when you need design reasoning, implementation guidance, or troubleshooting context.

Start with the section heading that matches the fact you need. Use the tables for quick comparison, not as a substitute for full design trade-off analysis. Check the formulas and calculators when you need a first-pass estimate. Follow standards links when exact protocol behavior or compliance language matters. Treat examples here as reference patterns that still need adaptation for your hardware and project constraints.

12.3 Start With The Evidence Note

Use the appendix like a bench card, not like an answer key. A table can remind you that a pin is input-only, a protocol uses a certain transport, or a battery formula needs current and time. The project still needs an evidence note that says where the value came from, which design decision depends on it, and what check would catch a wrong assumption.

For example, a range row becomes useful only after you attach band, antenna, enclosure, mounting, walls, interference, and field RSSI or SNR. A sensor row becomes useful only after you attach calibration, warm-up, mounting, airflow, supply voltage, and drift. A formula becomes useful only after you write the units and compare the estimate with a measurement.

Start every lookup with three short lines: reference, requirement, evidence. That habit keeps quick facts from turning into hidden design risks.

12.4 Learning Objectives

By using this appendix, you will be able to:

  • Locate definitions for acronyms and technical terms used throughout the curriculum.
  • Compare reference tables to assess trade-offs among different IoT technologies.
  • Interpret common sensor parameters while justifying design decisions.
  • Apply networking, electronics, and battery-life formulas to first-pass engineering estimates.
  • Trace IEEE, IETF, and industry specifications when authoritative protocol documentation is needed.

12.5 References Are Not Requirements

The appendix is a bench reference, not a decision engine. A table can remind you that IEEE 802.11 normally gives higher throughput than IEEE 802.15.4, that MQTT uses publish/subscribe over TCP, that CoAP is specified by IETF RFC 7252, or that ESP32 GPIO 34-39 are input-only on common boards. Those facts are useful because they shorten recall. They are unsafe when they are copied into a design without the condition that made the fact true.

Use every lookup as the first line of an evidence note. A wireless range row needs frequency band, transmit power, antenna gain, enclosure, installation height, walls, interference, duty-cycle rules, and field RSSI or SNR. A sensor accuracy row needs operating range, calibration, mounting, airflow, self-heating, supply voltage, and drift. A protocol row needs the exact specification version, packet behavior, security profile, broker or server configuration, and failure mode that the project will tolerate.

The safest mental model is reference, requirement, evidence. The reference gives a value or definition. The requirement says how your project depends on it. The evidence proves the dependency with a datasheet revision, standard clause, packet capture, bench measurement, calculator input, or field test. Without all three, a lookup can sound precise while hiding the real engineering assumption.

Lookup TypeWhat It Can Tell YouWhat It Cannot Prove AloneEvidence To Attach
Protocol rowTransport, message pattern, QoS, overhead, and common useThat the chosen device, broker, gateway, or network handles the failure caseSpecification version, trace, retry test, authorization rule
Sensor rowRange, interface, nominal accuracy, and power classThat the reading is accurate inside the enclosure and duty cycleDatasheet revision, calibration note, bench reading, warm-up test
Pin rowGPIO capability, default bus mapping, and boot restrictionsThat the board revision and external circuit leave startup stableBoard schematic, boot test, pull-up/down review, firmware pin map
Formula rowA repeatable first-pass estimate with named variablesThat the field environment, regulator, antenna, or battery matches the estimateInputs, units, assumptions, measured comparison, margin

Treat appendix values as entries in a reference ledger: fact, dependency, evidence, and the next check that would falsify the assumption.

12.6 Convert Lookup Into Evidence

When you use this appendix during a build, convert the lookup into a short evidence card before the value enters a capstone report, firmware constant, schematic, or dashboard. Start with the exact fact and its source location. Then name the project dependency: battery sizing, link margin, storage retention, sensor threshold, broker behavior, pin assignment, regulatory channel plan, or maintenance workflow. Finally, write the next check that would catch a wrong assumption.

For protocols, attach the specific standard or implementation behavior. MQTT may mean OASIS MQTT 3.1.1 or MQTT 5.0; QoS 1 still allows duplicates, so a telemetry pipeline needs message identifiers, timestamps, or idempotent writes. CoAP comes from RFC 7252, but retransmission timers, confirmable messages, DTLS, OSCORE, proxy behavior, and UDP loss still need project-level review. 6LoWPAN relies on adaptation over IEEE 802.15.4, so MTU, fragmentation, route repair, and border-router behavior belong next to the table row.

For hardware, attach the exact device and board context. ESP32 pin references are only safe after the board schematic, boot strapping pins, input-only pins, ADC limitations, I2C pull-ups, and peripheral conflicts are checked. A BME280 or SHT31 row should lead to interface wiring, address setting, enclosure airflow, sampling interval, self-heating, and calibration expectations. A PMS5003 particulate sensor row should lead to airflow, warm-up, cleaning, and replacement planning rather than a single accuracy claim.

For formulas, keep inputs and units visible. A link-budget estimate should name transmit power, antenna gain, receiver sensitivity, path-loss model, installation height, cable loss, regional limit, and field RSSI/SNR target. A battery estimate should include active current, sleep current, wake interval, radio burst length, regulator quiescent current, battery chemistry, temperature, self-discharge, and end-of-life margin. The formula is the traceable arithmetic; the evidence card is the engineering argument.

A good appendix note is short enough to write during lab work: “Reference fact, project dependency, source revision, measured or calculated proof, unresolved risk, owner, date.” That format lets another teammate repeat the lookup and challenge the design without rereading the whole module.

12.7 Specifications Leave Implementation Gaps

Under the hood, many appendix facts come from standards or datasheets that deliberately stop at an interface boundary. IEEE 802.11 and IEEE 802.15.4 define radio and MAC behavior, but they do not decide antenna placement, enclosure losses, channel congestion, power policy, or application recovery. IETF RFCs such as RFC 7252 for CoAP, RFC 6550 for RPL, RFC 4944 and RFC 6282 for 6LoWPAN define protocol mechanisms, but a product still chooses timers, buffer sizes, routing policy, security credentials, and observability.

Datasheets draw similar boundaries. A microcontroller technical reference manual can describe ADC resolution, touch channels, UARTs, SPI controllers, I2C controllers, boot pins, and absolute maximum ratings. It cannot prove that a particular dev board exposes the pin safely, that a sensor cable has enough pull-up strength, that a relay module will not drag a boot strap pin, or that Wi-Fi activity will not disturb an analog measurement. A sensor datasheet may quote accuracy under controlled calibration conditions while your enclosure creates heat, dust, condensation, vibration, or airflow constraints.

Formula references also leave gaps. Free-space path loss assumes a simplified propagation model; indoor multipath, body absorption, metal cabinets, antenna orientation, and duty-cycle restrictions change the result. Ohm’s law and voltage dividers are exact circuit relationships, but resistor tolerance, ADC input impedance, noise, leakage, and temperature drift determine whether the measurement is usable. Battery-life math is arithmetic; chemistry, temperature, peak current, regulator efficiency, self-discharge, and aging determine whether the deployed device lasts.

The deep skill is to write down where the reference guarantee stops. A standard may guarantee packet structure but not deployment reliability. A datasheet may guarantee a limit under specified conditions but not your enclosure. A table may compare protocols but not choose one for your threat model or power budget. A formula may be correct while the inputs are fantasy. The appendix becomes dependable when every lookup carries that stop sign and a plan to close the gap with measurement, source revision, or a design review.

How To Use This Appendix

Use this page like a bench reference during project work. It is best for lookup, comparison, and recall; it is not the primary place to learn a new concept from scratch.

Before applying the specification, inspect the real bme280 temperature-humidity-pressure sensor below: its package, terminals, scale, and installation context are part of the engineering evidence.

Real photograph of bme280 temperature-humidity-pressure sensor
This real example (Raspberry Pi 4 BME280 (50616888157)) shows a physical form of bme280 temperature-humidity-pressure sensor. Use the visible package, interfaces, scale, mounting, and surrounding context as evidence; a catalogue label alone does not establish deployment fit. Photo: Masahiko OHKUBO from Kobe, Japan; CC BY 2.0

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

12.8 Deep Dive: Reference Facts Need Engineering Context

A quick reference helps when you already know the concept and need a fast lookup. It should not turn a table value into a design decision by itself. A LoRaWAN range figure, ESP32 pin note, DHT22 accuracy value, MQTT QoS label, or battery-life formula becomes useful only after the project context is named. Read Figure 12.1 from feasibility toward production to see how the required evidence becomes more specific.

Datasheet reading priorities by project phase, from feasibility overview and electrical specs through pin diagrams, package dimensions, register map, and production ordering information.
Figure 12.1: A reference value is useful only when the project phase and decision boundary are clear.

Read Figure 12.1 from feasibility toward production, noticing how overview claims give way to electrical limits, pin and timing detail, register behavior, and ordering evidence. Use each reference item as a starting point for a short check: what unit is used, what condition makes it true, what assumption your project is making, and what source would settle an exact requirement.

Read Figure 12.1 from feasibility onward: broad capability and key limits come first, component selection narrows the electrical and performance evidence, and implementation work moves into pin, timing, package, register, and ordering detail. The visual progression is the habit to use throughout this appendix: a table row is not a permanent truth but a cue to ask which decision is being made now.

Keep that boundary explicit when you use the protocol, sensor, ESP32, unit-conversion, and formula sections below. A BLE range row may support a first shortlist, but it cannot replace an on-site RSSI check. A BME280 current value may start a battery estimate, but it must be combined with sampling interval, regulator quiescent current, radio transmit current, and sleep leakage. A formula result should keep its units, assumptions, and rounding visible so another teammate can repeat it.

BoundaryUse It For
LookupRecall, comparison, and first-pass estimates.
DesignFull chapter, datasheet, standard, or bench measurement review when the value controls cost, safety, power, range, or compatibility.
ProjectUnit, tolerance, operating condition, and failure consequence record before a value is reused.

12.8.1 Convert a Table Entry Into a Checkable Assumption

For project work, write the reference fact as an assumption that another teammate could verify. “BLE range is 10-100 m” is too broad. “This indoor beacon prototype assumes BLE advertisement packets remain readable at 8 m through one drywall wall, measured with RSSI above the app threshold on the chosen phone” is checkable. The reference table suggested the technology; the project assumption names the environment, device, metric, and test.

The same pattern applies across the appendix. ESP32 GPIO 34-39 are input-only, so a wiring plan should mark them as sensor inputs rather than relay outputs. A BME280 current value belongs in a duty-cycle calculation with sensor warm-up and sleep current. MQTT QoS 1 belongs with idempotent command handling because duplicates can occur. A link-budget formula belongs with antenna gain, receiver sensitivity, path loss model, installation height, and measured RSSI/SNR.

Use a compact assumption record before the value enters the capstone report: fact, source, unit or valid range, dependency, next check, owner, and review date. For an ESP32 pin choice, that record may say GPIO 34 is input-only and therefore can read an analog sensor but cannot drive a relay; GPIO 0, 2, 12, and 15 need boot-strap review before external circuits pull them. For an SHT31, DS18B20, or PMS5003 selection, it may record accuracy, interface, warm-up, airflow, enclosure, and replacement risk. For an SX1276 or RFM95 LoRa design, it may record regional channel plan, antenna gain, spreading factor, duty-cycle limit, RSSI/SNR target, and the field test that will validate the link budget.

The point is not to slow down every lookup. The point is to stop unreviewed reference facts from becoming hidden design commitments. A quick table value can be copied into the notebook in seconds, but the project should mark whether it is a rough estimate, a datasheet limit, a standard requirement, a library default, or a measured result from the actual build.

  1. Copy the exact fact. Include the unit, row label, and section that supplied it.
  2. Name the dependency. Explain which hardware, firmware, protocol, power, or user requirement depends on it.
  3. Name the next check. Use a datasheet lookup, bench test, packet capture, calculator, or field measurement before treating the assumption as stable.

12.8.2 Reference Tables Compress Many Conditions

Compact tables hide the conditions that make a value true. Wireless range depends on frequency, transmit power, antenna gain, receiver sensitivity, path loss, walls, interference, installation height, and duty-cycle limits. Sensor accuracy depends on calibration, temperature range, supply voltage, self-heating, drift, sampling interval, and mounting. Current draw depends on active state, sleep state, radio burst length, regulator quiescent current, and firmware timing.

Standards links and datasheets matter because they define exact behavior. MQTT QoS uses packet exchanges such as PUBLISH, PUBACK, PUBREC, PUBREL, and PUBCOMP. CoAP confirmable messages use ACK and retransmission timers over UDP. I2C depends on pull-up resistors, bus capacitance, address conflicts, and clock speed. ESP32 boot pins can affect startup if external circuitry pulls them to the wrong state.

Every compressed value also has a revision problem. Vendor breakout boards may differ from the underlying chip datasheet because of regulator choice, level shifting, pull-up values, address jumpers, or board-layout limits. Library defaults may differ from a protocol specification because a driver chooses a timeout, retry count, payload size, keep-alive interval, or power mode. Regional rules may change what looks like a simple wireless comparison: LoRaWAN channel plans, transmit power, dwell time, and duty-cycle behavior are not the same in every region.

For that reason, a final capstone evidence packet should cite the exact reference revision and the observed project value when a number matters. Good records distinguish IEEE or IETF normative behavior from a vendor application note, a forum example, a library default, and a measurement from the team’s device. They also preserve the packet trace, oscilloscope capture, current profile, field RSSI/SNR reading, or calculator inputs that made the reference fact safe to reuse. That separation lets a future maintainer update one layer without guessing which assumptions were inherited from a table.

StateWhat Must Stay Visible
SpecificationProtocol fields, timing, electrical limits, operating ranges, and conformance language.
ImplementationLibrary defaults, board revision, pin mapping, firmware configuration, and peripheral conflicts.
ValidationThe measured value, observed packet trace, or repeatable calculation that confirms the reference fact in the project context.

12.8.3 Try It: Check One Reference Fact

Before copying a value from a table into a capstone design, write one quick reference check:

Fact reused: the exact protocol limit, sensor range, formula, pin assignment, or conversion you plan to use. Source location: the appendix section and, when exact behavior matters, the external standard or data sheet you will verify against. Units and boundary: the unit, valid range, rounding rule, and any condition that changes the value. Project assumption: the way your project depends on the value, such as battery sizing, enclosure choice, alert threshold, or network capacity. Acceptance test: the bench test, calculation, or review step that proves the value is safe to use in your design.

Accept the reference only when the units, boundary conditions, and project dependency are explicit enough for another team member to repeat the check.

12.9 Key Concepts

Reference architecture: A validated system design template that documents components, data flows, and technology choices for an IoT deployment pattern. Bill of materials (BOM): A structured list of hardware components, quantities, and costs used for procurement planning and project budgeting. Protocol comparison matrix: A side-by-side comparison of communication protocols across range, data rate, power, topology, and typical use cases. Worked example: A solved problem that shows inputs, method, intermediate steps, and final answer so the reasoning is visible. Quick reference card: A compact summary of commonly needed facts such as pin assignments, units, ranges, and formulas. Standards reference: A pointer to IEEE, IETF, alliance, or vendor documents that should be checked for exact protocol requirements. Index: An organized cross-reference that maps terms to the chapters and sections where they are introduced and applied.

12.10 For Beginners: Appendix

An appendix is like a reference guide at the back of a textbook. You do not need to read it cover-to-cover. Use it when you need to remember a term, formula, sensor interface, pin assignment, or standards document while working on a project.

12.11 A. Glossary of IoT Terms

TermDefinition
6LoWPANIPv6 over Low-Power Wireless Personal Area Networks - Adaptation layer enabling IPv6 on IEEE 802.15.4 networks
ADCAnalog-to-Digital Converter - Hardware that converts continuous analog signals to discrete digital values
AMQPAdvanced Message Queuing Protocol - Message-oriented middleware protocol for reliable messaging
BLEBluetooth Low Energy - Low-power variant of Bluetooth designed for IoT applications
CoAPConstrained Application Protocol - Lightweight protocol for resource-constrained IoT devices
DTLSDatagram Transport Layer Security - Security protocol for UDP-based communications
Edge ComputingProcessing data near the source rather than in a centralized cloud
Fog ComputingDistributed computing layer between edge devices and cloud
GatewayDevice that bridges different network protocols or technologies
GPIOGeneral Purpose Input/Output - Configurable pins on microcontrollers
I²CInter-Integrated Circuit - Two-wire serial communication protocol
IoTInternet of Things - Network of physical devices connected to the internet
LoRaLong Range - Proprietary spread spectrum modulation technique for LPWAN
LoRaWANLoRa Wide Area Network - MAC layer protocol built on LoRa
LPWANLow-Power Wide-Area Network - Network designed for long range, low power IoT
M2MMachine-to-Machine - Direct communication between devices
MACMedia Access Control - Protocol layer managing access to shared medium
MCUMicrocontroller Unit - Integrated circuit containing processor, memory, and I/O
MQTTMessage Queuing Telemetry Transport - Lightweight publish/subscribe protocol
NB-IoTNarrowband IoT - Cellular LPWAN technology using licensed spectrum
NFCNear Field Communication - Short-range wireless technology (~10cm)
OTAOver-The-Air - Wireless delivery of updates or configuration
PHYPhysical Layer - Lowest layer of the OSI model handling raw bit transmission
PWMPulse Width Modulation - Technique for controlling power to devices
QoSQuality of Service - Mechanism for prioritizing network traffic
RESTRepresentational State Transfer - Architectural style for web services
RFIDRadio-Frequency Identification - Wireless identification using radio waves
RPLRouting Protocol for Low-Power and Lossy Networks
RSSIReceived Signal Strength Indicator - Measure of signal power
RTTRound-Trip Time - Time for a signal to travel to destination and back
SDNSoftware-Defined Networking - Network architecture with centralized control
SigfoxProprietary LPWAN technology using ultra-narrow band
SPISerial Peripheral Interface - Synchronous serial communication protocol
TLSTransport Layer Security - Cryptographic protocol for secure communication
UARTUniversal Asynchronous Receiver/Transmitter - Serial communication hardware
UDPUser Datagram Protocol - Connectionless transport protocol
WSNWireless Sensor Network - Network of distributed sensor nodes
ZigbeeIEEE 802.15.4-based specification for low-power mesh networks
Z-WaveProprietary wireless protocol for home automation

12.12 B. Protocol Comparison Tables

12.12.1 Short-Range Wireless Protocols

↔ Scroll the protocol table horizontally to review topology and use cases.

ProtocolRangeData RatePowerTopologyUse Cases
Wi-Fi50-100m1-1000+ MbpsHighStarHigh-bandwidth applications
Bluetooth10-100m1-3 MbpsMediumPoint-to-pointAudio, data transfer
BLE10-100m1-2 MbpsLowStar, MeshWearables, beacons
Zigbee10-100m250 kbpsVery LowMeshHome automation
Z-Wave30-100m100 kbpsVery LowMeshHome automation
Thread10-30m250 kbpsVery LowMeshSmart home
NFC<10cm424 kbpsVery LowPoint-to-pointPayments, access

12.12.2 LPWAN Technologies

↔ Scroll the LPWAN table horizontally to review topology and battery life.

TechnologyRangeData RateSpectrumTopologyBattery Life
LoRaWAN2-15 km0.3-50 kbpsUnlicensedStar10+ years
Sigfox10-50 km100-600 bpsUnlicensedStar10+ years
NB-IoT1-10 km20-250 kbpsLicensedStar10+ years
LTE-M1-10 km1 MbpsLicensedStar10+ years
Weightless5-10 km0.1-10 MbpsVariesStar10+ years

12.12.3 Application Layer Protocols

↔ Scroll the application-protocol table horizontally to review overhead and best-fit uses.

ProtocolTransportMessage PatternQoSOverheadBest For
MQTTTCPPub/Sub0,1,2LowReal-time telemetry
CoAPUDPRequest/ResponseConfirmableVery LowConstrained devices
HTTP/RESTTCPRequest/ResponseN/AHighWeb integration
AMQPTCPQueue-basedYesMediumEnterprise messaging
XMPPTCPPub/SubN/AHighPresence, messaging

12.13 C. Common Sensor Specifications

12.13.1 Temperature Sensors

↔ Scroll the temperature-sensor table horizontally to review interface and power.

SensorRangeAccuracyInterfacePower
DHT22-40 to 80°C±0.5°CDigital1.5mA
DS18B20-55 to 125°C±0.5°C1-Wire1.5mA
BME280-40 to 85°C±1°CI²C/SPI3.6µA
LM35-55 to 150°C±0.5°CAnalog60µA
TMP117-55 to 150°C±0.1°CI²C3.5µA

12.13.2 Motion/Orientation Sensors

↔ Scroll the motion-sensor table horizontally to review interface and features.

SensorTypeRangeInterfaceFeatures
MPU60506-axis IMU±16g, ±2000°/sI²CGyro + Accel
MPU92509-axis IMU±16g, ±2000°/sI²C/SPI+ Magnetometer
ADXL345Accelerometer±16gI²C/SPILow power
HC-SR501PIR Motion3-7mDigitalAdjustable

12.13.3 Distance/Proximity Sensors

↔ Scroll the distance-sensor table horizontally to review accuracy and interface.

SensorTechnologyRangeAccuracyInterface
HC-SR04Ultrasonic2-400cm±3mmGPIO
VL53L0XToF Laser0-200cm±3%I²C
Sharp GP2Y0A21IR10-80cm±5%Analog

12.14 D. ESP32 Pin Reference

12.14.1 GPIO Capabilities

↔ Scroll the ESP32 pin table horizontally to review touch support and pin notes.

GPIOInputOutputADCDACTouchNotes
0YesYesYesNoYesBoot mode (pull-up)
1NoYesNoNoNoTX0
2YesYesYesNoYesOn-board LED
3YesNoNoNoNoRX0
4YesYesYesNoYesGeneral purpose
5YesYesNoNoNoVSPI CS
12-15YesYesYesNoYesHSPI
16-17YesYesNoNoNoUART2
18-19YesYesNoNoNoVSPI
21-22YesYesNoNoNoI²C
23YesYesNoNoNoVSPI MOSI
25-26YesYesYesYesNoDAC capable
27YesYesYesNoYesGeneral purpose
32-39YesLimitedYesNoLimitedADC1; GPIO 34-39 are input only

12.14.2 Common Pin Assignments

Default I²C:  SDA = GPIO 21, SCL = GPIO 22
Default SPI:  MOSI = GPIO 23, MISO = GPIO 19, SCK = GPIO 18, CS = GPIO 5
UART0:        TX = GPIO 1, RX = GPIO 3 (USB Serial)
UART2:        TX = GPIO 17, RX = GPIO 16

12.14.3 Mid-Section Knowledge Check

12.15 Continue to Part 2

Continue with IoT Quick Reference: Conversions and Standards.