Skip to content
Tutorials Center
My learning

Topics

Internet of Things Tutorial

Learn Internet of Things step by step: 36 lessons in 9 chapters with examples, quizzes, diagrams and projects.

Start learning →

of lessons completed

Getting Started

  1. 1 What Is the Internet of Things? Learn what the Internet of Things is, how a thing becomes a connected device, a short history, key terms and a simulated smart thermostat you can run.
  2. 2 IoT Architecture and Layers Understand the layered architecture of an IoT system, from perception and network layers to cloud and application, with a runnable gateway simulation.
  3. 3 IoT Applications and Industries Tour real IoT applications in smart homes, cities, agriculture, healthcare, logistics and industry, and learn what each needs from sensors and networks.
  4. 4 IoT Challenges and Design Thinking Learn the main IoT challenges: constrained devices, power, connectivity, security, interoperability and scale, and a method for planning a project.

Sensors and Actuators

  1. 5 Sensor Basics Learn how sensors work and the terms that describe them: range, resolution, accuracy, precision, sensitivity, response time and drift, with simulations.
  2. 6 Common Sensor Types A tour of the sensors used in IoT: temperature, humidity, light, motion, distance, accelerometer, gas, GPS and soil moisture, with code and conversions.
  3. 7 Analog-to-Digital Conversion Understand how an ADC turns voltages into numbers: resolution, reference voltage, sampling rate, Nyquist, aliasing and voltage dividers, with simulations.
  4. 8 Actuators: Relays, Motors and Displays Learn how IoT devices act on the world: LEDs, relays, transistors, DC, servo and stepper motors, buzzers, valves, driver circuits, and safe control logic.
  5. 9 Signal Conditioning, Calibration and Filtering Clean noisy sensor data with moving averages, exponential smoothing, median filters, debouncing and two-point calibration, with runnable simulations.

Microcontrollers and Boards

  1. 10 Microcontrollers vs Microprocessors Compare microcontrollers, microprocessors, SoCs and single-board computers for IoT, with memory, power and cost trade-offs and a simple board chooser.
  2. 11 Arduino Programming Basics Learn Arduino-style firmware: setup and loop, digitalWrite, analogRead, Serial, non-blocking timing with millis, libraries, state machines and a simulator.
  3. 12 GPIO, PWM, Timers and Interrupts Understand GPIO modes, pull-ups, logic levels, PWM, hardware timers and interrupts, with an interrupt-driven counter and a debounce simulation.
  4. 13 ESP32, ESP8266 and Raspberry Pi Compare the main IoT boards: ESP32, ESP8266, Raspberry Pi, Pico and Arduino, with their features, Wi-Fi code, GPIO on Linux and a board-selection guide.
  5. 14 MicroPython and Low-Power Design Program microcontrollers in MicroPython, then design for battery life: sleep modes, duty cycling, wake sources and energy budgets, with simulations.

Connectivity Protocols

  1. 15 Serial Buses: UART, I2C and SPI Learn how UART, I2C, SPI, 1-Wire and CAN connect microcontrollers to sensors, with framing, addressing, wiring, speed and runnable bus simulations.
  2. 16 Short-Range Wireless: Wi-Fi, BLE, Zigbee and Thread Compare Wi-Fi, Bluetooth Low Energy, Zigbee, Thread, Matter, Z-Wave and NFC for IoT: range, speed, power, mesh networks, path loss and a runnable BLE packet decoder.
  3. 17 LPWAN and Cellular IoT: LoRaWAN, NB-IoT, LTE-M and Satellite Understand low-power wide-area networks and cellular IoT: LoRa spreading factors, airtime, duty cycle, NB-IoT, LTE-M and satellite, with a LoRa airtime calculator.
  4. 18 HTTP, CoAP and Choosing an IoT Protocol Learn how devices use HTTP REST, TCP and UDP, and how CoAP shrinks requests to a few bytes, with message overhead simulations and a protocol decision guide.

MQTT and Messaging

  1. 19 MQTT: The Publish/Subscribe Model Learn how MQTT works: brokers, clients, topics, publishers and subscribers, why pub/sub suits IoT devices, and a runnable in-process broker to try it.
  2. 20 MQTT Topics, Wildcards and Naming Best Practices Design MQTT topic trees, use the + and # wildcards, avoid the common naming mistakes, and run a topic-matching function that behaves like a real broker.
  3. 21 MQTT Quality of Service: QoS 0, 1 and 2 Understand MQTT delivery guarantees: at most once, at least once and exactly once. Simulate a lossy network and see losses, duplicates and handshakes.
  4. 22 MQTT Retained Messages, Last Will and Sessions Learn the three MQTT features that make IoT reliable: retained messages for last known state, Last Will for offline detection, and persistent sessions.
  5. 23 Build a Toy MQTT Broker over TCP Write a working publish/subscribe broker with real TCP sockets on loopback, a simple text protocol, wildcards and retained messages, then read what real MQTT adds.

Edge, Cloud and Data Pipelines

  1. 24 IoT Data Pipelines: From Sensor to Insight Follow IoT data from sensor to dashboard: payload formats, ingestion, validation, deduplication, normalization, enrichment and storage, with a runnable pipeline.
  2. 25 Edge Computing: Filtering and Deciding Near the Device Learn why IoT processing moves to the edge: latency, bandwidth, privacy and offline operation. Run dead-band filtering, local rules and store-and-forward.
  3. 26 Time-Series Storage, Queries and Dashboards Store sensor readings as time series, query them with time buckets in SQL, downsample with retention, spot anomalies with a rolling average and draw a text chart.

Security and Privacy

  1. 27 IoT Threat Modeling: What Can Go Wrong Learn to think like a defender: map the IoT attack surface, apply STRIDE, study classic failures like default passwords, and run a configuration auditor.
  2. 28 Device Identity, TLS and Access Control Give every IoT device its own identity: credentials and certificates, TLS for encryption, message signing against tampering and replay, and per-topic ACLs.
  3. 29 Secure Updates, Privacy and Compliance Ship safe firmware updates with signatures, rollback protection and A/B slots, and protect user privacy with data minimization, pseudonyms and retention rules.

Platforms and Applications

  1. 30 Cloud IoT Platforms and Architecture Compare IoT platforms and learn their common building blocks: device registry, message broker, rules engine, jobs and storage. Run a rules-engine simulator.
  2. 31 Device Twins, Shadows and Digital Twins Understand device shadows and twins: desired and reported state, deltas and versions, how offline devices catch up, and how digital twins model real systems.
  3. 32 IoT Applications: Home, Industry, City, Agriculture and Health Tour the main IoT application domains: smart home, industrial IoT, smart cities, agriculture, health, logistics and energy, with the design lessons of each.

Projects and Practice

  1. 33 Project: A Temperature Monitoring System Build a complete IoT monitor step by step: firmware sketch, simulated sensors, validation, aggregation, alerts with duration and hysteresis, and a status report.
  2. 34 Project: A Smart Home Rules Engine Build a smart home automation engine: device state store, trigger-condition-action rules as data, motion lights with timers, away mode, and rule tests.
  3. 35 Project: A Mini MQTT Sensor Network Combine everything: a TCP broker with wildcards, retained state and Last Will, three simulated sensor nodes, a dashboard client and a crash that is detected.
  4. 36 IoT Practice: Calculations, Exercises and Interview Questions Practice IoT engineering: estimate battery life, message volume and payload size with runnable calculators, solve design exercises and review common interview questions.