About the Author
Chapter 1: Introduction
- Who is this book for?
- Defining the Internet of Things
- The Connected Ecosystem
- IoT Market Trends and Adoption Rates
- Applications: From Cities to Cells
- Case Study: The Limits of Connectivity
- Setting Up Your Lab: Hardware Shopping List
- Arduino Uno
- ESP32
- Raspberry Pi
- Alternative to Hardware: Virtual Pi
- The Companion Code
- Next Steps
Chapter 2: Basic Electronics
- Introduction: You Don’t Need a Degree
- The “Holy Trinity”: Voltage, Current, and Resistance
- Power (Watts)
- Schematics
- Series Circuits
- Parallel Circuits
- Breadboard
- Resistors
- Diodes & LEDs
- Capacitors
- Transistors
- Batteries
- Sensors (The Inputs)
- Actuators (The Outputs)
- Digital Signals
- Analog Signals
- Current Types
- Current Type vs. Signal Type
- Microcontroller (The Chip)
- Development Board
Chapter 3: Microcontrollers (Arduino & Friends)
- Meet the Arduino Family
- Anatomy of the Arduino Uno
- Understanding the Pinout
- Arduino Shields: Expanding Capabilities
- Safety First: Working with Electronics
- The Integrated Development Environment (IDE)
- Connecting the Board
- Our First Sketch
- Understanding the Code Structure
- The “Blink” Sketch (Internal LED)
- Your First Circuit: The External LED
- A Library at Your Fingertips: Built-in Examples
- Variables and Data Types
- Control Structures
- Functions
- Project: Making Noise (Buzzer)
- Project: Push Button
- Project: Analog Input (Potentiometer Dimmer)
- Project: Serial Communication
- Project: Fading LED (PWM)
- Project: Traffic Light
- Project: Temperature Sensor
- Arduino Libraries
- Project: WiFi Test
- Arduino Programming Cheat Sheet
- ESP32 - Arduino Alternative
- Raspberry Pi Pico (RP2040)
- STM32 “Blue Pill” (STM32F103)
- BBC micro:bit
- ESP8266
Chapter 4: Single Board Computers (Raspberry Pi & Friends)
- What is Raspberry Pi?
- A Brief History
- Anatomy of the Hardware
- The Operating System (OS)
- Installation: Setting Up Your Pi
- SSH (Command Line Access)
- The Linux Terminal: A Survival Guide
- VNC (Visual Desktop Access)
- Virtual Raspberry Pi on Virtual Machine
- Your First Python Script
- Controlling Hardware (GPIO)
- Reading System Info
- Raspberry Pi vs Arduino
- Raspberry Pi Alternatives
Chapter 5: Edge Computing
- What is Edge Computing?
- How Does It Work?
- What is a Sensor Node?
- Why Use Edge Computing?
- Edge Hardware
- Building a Mini Edge Gateway
- Containerization
Chapter 6: Connectivity and Network Standards
- The Nervous System of IoT
- Network Categories
- Personal Area Network (PAN)
- Local Area Network (LAN) & Wi-Fi
- Wide Area Network (WAN) & LPWAN
- Choosing the Right Network
- Future Trends: Matter & Thread
- Further Reading
Chapter 7: Data Management and Messaging Protocols
- The Challenge of Data
- Understanding “Big Data”
- Classifying IoT Data
- IoT Data Management
- Data Formats
- Web Servers
- APIs (Application Programming Interfaces)
- Connectivity: Messaging Protocols
- HTTP (Hypertext Transfer Protocol)
- MQTT (Message Queuing Telemetry Transport)
- CoAP (Constrained Application Protocol)
- Databases
- Setting up MariaDB (MySQL) on Linux/Raspberry Pi
- IoT Rules
Chapter 8: Cloud Platforms
- The Evolution of Cloud Computing
- Core Cloud Capabilities
- Service Models (The “Stack”)
- Service Level Agreements & Shared Responsibility
- Cloud Storage
- IoT Cloud Architectures
- ThingsBoard
- Device Management and Registration
- Device Twin (Shadow)
- Serverless Computing
- Cloud vs. Edge Comparison
- OTA (Over-the-Air) Updates
- Opportunities and Challenges
Chapter 9: Security and Privacy
- The “Wild West” of Connected Devices
- The Security Lifecycle
- Threat Modeling: Thinking Like a Hacker
- Device Hardening: Securing the Physical Layer
- Network Security: Protocols and Transport
- Privacy and Data Ownership
- Case Studies: When IoT Goes Wrong
- Regulatory Compliance
- Emerging Solutions
- Lab: Hardening a Raspberry Pi
Chapter 10: Data Analytics and Visualisation
- Transforming Data into Wisdom
- The Scope of IoT Big Data
- The IoT Data Deluge
- Specialized Storage: Time-Series Databases
- The Analytics Pipeline: Preparing Data
- Stream Processing: Windowing
- Hands-on: Python for IoT Data Analysis
- Data Visualisation Platforms
- From Analytics to Alerts: Automated Action
- Machine Learning: The Next Step
- Digital Twins: Simulation and Diagnostics
- Geospatial Analytics
- The Lambda vs. Kappa Architecture
Chapter 11: AI and Machine Learning
- The Brain of the System
- The AI Hierarchy: Where Does Thinking Happen?
- TinyML: “Just Enough” Thinking
- Specialized Hardware: The “Muscle”
- Machine Learning Basics for IoT
- Optimizing for the Edge: Fitting an Elephant in a Fridge
- Key AI Technologies in IoT
- Advanced Concept: Federated Learning
- MLOps: Managing Intelligence at Scale
- Hands-on: The “Magic Wand” Workflow
- Tools of the Trade
- Generative AI: The New Frontier (AIoT)
- The Human Element: Ethics and Safety
- Conclusion
Chapter 12: Real World Applications
- Beyond the Hype
- Industry 4.0: The Fourth Revolution
- IIoT in Action: Smart Manufacturing
- Smart Agriculture (Precision Farming)
- Smart Cities and Transport
- Case Study: Ambient Assisted Living
- Future Trends: Ethics and Sustainability
- Capstone Preparation Checklist
- Conclusion: The Convergence
Chapter 13: Practical Project
- Project Selection
- Project 1: The Smart Greenhouse
- Project 2: The Secure Visual Security System (Mini-Walkthrough)
- Project 3: Industrial Machine Monitor (Mini-Walkthrough)
- Project 1: Detailed Walkthrough: The Smart Greenhouse
- System Design: From Idea to Architecture
- Implementation Plan
- Phase 1: The MQTT Broker (Docker)
- Phase 2: The Sensor Node (ESP32)
- Phase 3: The Edge Controller (Python)
- Phase 4: Cloud Integration (MicroDB)
- Phase 5: The Web Dashboard (Flask)
- Phase 6: Additional Weather Logic
- Phase 7: SMS Alerts
- Phase 8: Future-Proofing with Gen AI
- Final Words: The End of the Beginning