Arduino Data Communications: Learn to configure databases, MQTT, REST APIs, and store data over LoRAWAN, HC-12, and GSM by Robert Thas John
Build real-world, scalable, fault tolerant IoT systems using Arduino MKR boards that collect, transmit, and store data on a massive scale in a properly structured database Key Features Set up databases to store and retrieve information collected from various sensors Get your data into your database for storage with REST APIs and MQTT Communicate with your application layer using different communication technologies from Arduino MKR and Portenta H7 Book DescriptionWe live in a world that has billions of Internet-connected devices which collect and send data to systems that store and process the data. Transmitting and storing data isn't frequently taught in the IoT domain. The book will teach you how to collect data from IoT sensors which you will transmit and store in databases that you will configure yourself. This book will teach you how to set up an end-to-end system that you can utilize to prototype your own IoT solutions using simple examples. At first, you will get a general overview of the Arduino ecosystem and learn about various sensors and shields and how you can collect data. Next, you will learn about data formats and storing data locally and on database servers. After, you will learn to set up REST and MQTT infrastructure for communicating with DBs. The next set of chapters will get you hands-on with LoRAWAN, Ethernet, cellular, HC-12, and RS-485. The concluding chapters will teach you what you need to know for real-world projects. By the end of this book, you will have configured an end-to-end system for collecting and storing data while going through some example scenarios.What you will learn Discover data storage formats for storing locally and remotely Build projects that leverage the various communication standards Set up a database to host data transmitted from the various projects Use MQTT and RESTful APIs to send data from devices to remote systems Prepare for multiple devices using high availability Utilize LoRa by implementing a gateway and a client Send temperature and humidity data over RS-485 and HC-12 Who this book is forThis book is targeted towards embedded systems engineers and electronics engineers who want to build IoT devices and learn about storing data collected from devices along with establishing communication between multiple devices. The skills you learn in this book will come in handy even if your final product isn't built on Arduino. We can assume that the audience has some experience working with computers, but not necessarily with embedded systems such as Arduino. We don't assume a knowledge of programming and will cover a basic introduction to programming Arduino.