Developing IoT Projects with ESP32
Vedat Ozan Oner
- 470 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Developing IoT Projects with ESP32
Vedat Ozan Oner
About This Book
Master the technique of using ESP32 as an edge device in any IoT application where wireless communication can make life easier
Key Features
- Gain practical experience in working with ESP32
- Learn to interface various electronic devices such as sensors, integrated circuits (ICs), and displays
- Apply your knowledge to build real-world automation projects
Book Description
Developing IoT Projects with ESP32 provides end-to-end coverage of secure data communication techniques from sensors to cloud platforms that will help you to develop production-grade IoT solutions by using the ESP32 SoC. You'll learn how to employ ESP32 in your IoT projects by interfacing with different sensors and actuators using different types of serial protocols.This book will show you how some projects require immediate output for end-users, and cover different display technologies as well as examples of driving different types of displays. The book features a dedicated chapter on cybersecurity packed with hands-on examples. As you progress, you'll get to grips with BLE technologies and BLE mesh networking and work on a complete smart home project where all nodes communicate over a BLE mesh. Later chapters will show you how IoT requires cloud connectivity most of the time and remote access to smart devices. You'll also see how cloud platforms and third-party integrations enable endless possibilities for your end-users, such as insights with big data analytics and predictive maintenance to minimize costs.By the end of this book, you'll have developed the skills you need to start using ESP32 in your next wireless IoT project and meet the project's requirements by building effective, efficient, and secure solutions.
What you will learn
- Explore advanced use cases like UART communication, sound and camera features, low-energy scenarios, and scheduling with an RTOS
- Add different types of displays in your projects where immediate output to users is required
- Connect to Wi-Fi and Bluetooth for local network communication
- Connect cloud platforms through different IoT messaging protocols
- Integrate ESP32 with third-party services such as voice assistants and IFTTT
- Discover best practices for implementing IoT security features in a production-grade solution
Who this book is for
If you are an embedded software developer, an IoT software architect or developer, a technologist, or anyone who wants to learn how to use ESP32 and its applications, this book is for you. A basic understanding of embedded systems, programming, networking, and cloud computing concepts is necessary to get started with the book.
]]>
Frequently asked questions
Information
Section 1: Using ESP32
- Chapter 1, Getting Started with ESP32
- Chapter 2, Talking to the Earth – Sensors and Actuators
- Chapter 3, Impressive Outputs with Displays
- Chapter 4, A Deep Dive into the Advanced Features
- Chapter 5, Practice – Multisensor for Your Room
Chapter 1: Getting Started with ESP32
- IoT as an emerging technology and its application areas with some examples
- The basic structure of IoT solutions, including security considerations
- An introduction to the ESP32 platform and modules
- Available development platforms and frameworks
- Real-Time Operating System (RTOS) options for ESP32
Technical requirements
IoT as an emerging technology
- A spectrum analyzer
- A TV demodulator
- Different types of antennas to measure those parameters
- An industrial PC to run the application software
- A radio transmitter to upload the measurements and some basic analysis to a data center
What is IoT?
- Connectivity: An IoT device is connected, either to the internet or to a local network. An old-style thermostat on the wall waiting for manual operation with basic programming features doesn't count as an IoT device.
- Identification: An IoT device is uniquely identified in the network so that data has a context identified by that device. In addition, the device itself is available for remote update, remote management, and diagnostics.
- Autonomous operation: IoT systems are designed for minimal or no human intervention. Each device collects data from the environment where it is installed, and it can then communicate the data with other devices to detect the current status of the system and respond as configured. This response can be in the form of an action, a log, or an alert if required.
- Interoperability: Devices in an IoT solution talk to one another, but they don't necessarily belong to a single vendor. When devices designed by different vendors share a common application-level protocol, adding a new device to that heterogeneous network is as easy as clicking on a few buttons on the device or on the management software.
- Scalability: IoT systems are capable of horizontal scalability to respond to an increasing workload. A new device is added when necessary to increase capacity instead of replacing the existing one with a superior device (vertical scalability).
- Security: I wish I could say that every IoT solution implements at least the minimal set of mandatory security measures, but unfortunately, this is not the case, despite a number of bad experiences, including the infamous Mirai botnet attack. On a positive note, I can say that IoT devices mostly have secure boot, secure update, and secure communication features to ensure confidentiality, integrity, and availability the (CIA triad).
- IoT platform
- Connected home
- Smart dust
- Edge computing
- Low-cost, single-board computers at the edge
Where do we apply IoT?
- In the consumer IoT category, we can see mainly smart home and security systems, personal healthcare products, wearable technologies, and asset tracking applications.
- The industrial IoT category has more application areas, as you might expect. Every year, IoT Analytics publishes a top-10 trend list for industrial applications by reviewing thousands of new projects and the 2020 list contains manufacturing, transportation, energy, retail, cities, healthcare, supply chain, agriculture, and building applications in that order (https://iot-analytics.com/top-10-iot-applications-in-2020).