Book Image

Internet of Things from Scratch

By : Renaldi Gondosubroto
Book Image

Internet of Things from Scratch

By: Renaldi Gondosubroto

Overview of this book

Develop the skills essential for building Internet of Things solutions with this indispensable guide. In an era where industries heavily rely on IoT, this book will quickly familiarize you with its foundations, widespread use, implementation guided by best practices, and the crucial technologies that allow it to work effectively. Starting with the use of IoT in real-life scenarios, this book offers comprehensive insights into basic IoT hardware, protocols, and technologies. You’ll then learn about architecting and implementing solutions such as wireless sensor networks, cloud computing with AWS, and crucial security considerations. You’ll understand how these systems are operated and monitored over time and work with simple to complex, industry-grade systems, adhering to best practices. In later chapters, you’ll be apprised of future IoT trends and strategies to manage the risks and opportunities that come with them. You’ll also get to grips with a diverse set of tools, including hardware such as ESP32 and Raspberry Pi, and software such as Mosquitto and ChatGPT for generative AI capabilities. By the end of this IoT book, you’ll be able to independently build and design complex, industry-standard solutions fully aligned with best practices.
Table of Contents (22 chapters)
1
Part 1: Getting Started with the Internet of Things
6
Part 2: Developing and Optimizing IoT Systems for Smart Environments
11
Part 3: Operating, Maintaining, and Securing IoT Networks
16
Part 4: Delving into Complex Systems and the Future of IoT

Practical – smart garden system with open source IoT

By the end of this section, you will have designed and implemented a smart plant monitoring and care system. The project will explore IoT integration, sensor data processing, and automated plant care actions.

Required tools and technologies

The following are the hardware and software that will be required for this practical exercise:

  • ESP32S NodeMCU
  • Four-port 3.3V relay module
  • One-port 3.3V relay module
  • Four-unit 12V solenoid water valve
  • Four-unit capacitive soil moisture sensor
  • 12V mini water pump with 5 mm inlet/outlet hose connector
  • SH1106 1.3” I2C OLED display
  • Silicon hose: 7 mm outer diameter, 5 mm inner diameter
  • A 12V 2A DC power supply, or you can use a 12V car/motorcycle battery
  • A 5V micro USB power supply for ESP32
  • Breadboard, jumper wires, and other necessary accessories

With that, we can now start setting up the hardware.

Setting up the hardware...