Limit search to available items
Record 22 of 192
Previous Record Next Record
Book Cover
E-book
Author John, Robert Thas, author

Title ARDUINO DATA COMMUNICATIONS learn how to configure databases, MQTT, REST APIs, and store data over LoRaWAN, HC-12, and GSM / d Robert Thas John
Edition 1st edition
Published Birmingham, UK : Packt Publishing Ltd., 2023

Copies

Description 1 online resource
Contents Cover -- Title Page -- Copyright and Credits -- Dedication -- Contributors -- Table of Contents -- Preface -- Part 1: Introduction to Arduino and Sensor Data -- Chapter 1: Getting Started with Arduino -- Technical requirements -- Learning about Arduino -- The company -- Learning about Arduino -- The hardware -- Choosing your board -- The Arduino MKR family -- Learning about the Arduino IDE -- Arduino Cloud IDE -- Arduino Desktop IDE -- Learning about the Arduino programming language -- Getting started with Arduino -- General purpose input and output
Writing the first lines of code -- Hello World -- Installing the board -- Blinking the onboard LED -- Summary -- Chapter 2: Leveraging Various Sensors for Data Acquisition -- Technical requirements -- Learning about input and output pins -- UART -- SPI -- I2C -- Discovering sensors -- Motion sensors -- Acoustic sensors -- Environmental sensors -- Vision sensors -- Biometric sensors -- Force -- Rotation -- Summary -- Further reading -- Chapter 3: Prototyping with Shields -- Technical requirements -- What is a shield? -- What are carriers? -- Working with sensor shields
Project 1 -- Working with the MKR ENV Shield R2 -- Discovering other types of shields -- Communicating with automobiles -- Outputting information -- Providing expansion -- Motion sensing -- Geolocation -- Working with the MKR IoT Carrier -- Project 2 -- Collecting sensor data with the Arduino MKR IoT Carrier -- Summary -- Further reading -- Chapter 4: Storing Data Collected from Sensors -- Technical requirements -- Storing data -- Project 1 -- Storing temperature and humidity in a file -- Analyzing the .ino file -- Analyzing the MyEnv.hpp file -- Analyzing MyEnv.cpp -- Understanding flat files
Getting to know the TXT file format -- Getting to know the CSV file format -- Getting to know the TSV file format -- Getting to know the JSON file format -- Working with databases -- Flat-file databases -- Relational (SQL) databases -- Project 2 -- Configuring a MySQL database server -- Document-oriented databases -- Time series databases -- Project 3 -- Configuring an InfluxDB server -- Summary -- Further reading -- Chapter 5: Implementing REST and MQTT Protocols for Communication -- Technical requirements -- Working with REST -- Project 1 -- Defining tables within MySQL -- Working with SQL
Project 2 -- Inserting data into a MySQL table -- Project 3 -- Retrieving data from a MySQL table -- Project 4 -- Updating data in a MySQL table -- Project 5 -- Deleting data from a MySQL table -- Implementing a REST API using JavaScript -- Installing Node.js -- Setting up an application structure -- Understanding routes and routing -- Project 6 -- Defining a route -- Implementing a REST API using Python -- Installing dependencies -- Creating the application structure -- REST API for InfluxDB -- Getting sample data into InfluxDB -- Generating an API token -- Making an API call -- Working with MQTT
Summary Build real-world, scalable, and fault-tolerant IoT systems using Arduino MKR boards that collect, transmit, and store data on a massive scale in a structured database Key Features Set up databases to store and retrieve information collected from various sensors Ingest 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 Purchase of the print or Kindle book includes a free PDF eBook Book Description In our modern, internet-connected world, where billions of devices constantly collect and send data to systems to be stored and processed, it's surprising how the intricacies of data transmission and storage are often overlooked in the IoT domain. With Arduino Data Communications, you'll bridge the knowledge gap and become an expert in collecting data from IoT sensors, transmitting data, and configuring your own databases. This book is an exploration of IoT's inner workings, guiding you through the process of setting up an end-to-end system that you can employ to prototype your own IoT solutions, using easy-to-follow examples. It begins with a general overview of the Arduino ecosystem, acquainting you with various sensors and shields and unveiling the art of data collection. You'll then explore data formats and methods to store data, both locally and on database servers. As you progress through the chapters, you'll learn how to set up REST and MQTT infrastructure to communicate with databases and get hands-on with LoRaWAN, Ethernet, cellular, HC-12, and RS-485. The final chapters are your training ground for real-world projects, imparting the essential knowledge you need to tackle complex challenges with confidence. By the end of this Arduino book, you'll have seamlessly configured an end-to-end system, all while immersing yourself in practical scenarios that bring the world of IoT to life. What you will learn Explore data storage formats for both local and remote storage solutions Build projects that leverage the variety of communication standards Set up a database to host data transmitted from various projects Use MQTT and RESTful APIs to send data from devices to remote systems Prepare for multiple devices using high availability measures Use LoRa by implementing a gateway and a client Transmit temperature and humidity data over RS-485 and HC-12 Who this book is for This book is for embedded systems engineers and electronics engineers who want to build IoT devices and gain insights into storing data collected from these devices, as well as establish communication between devices. The skills you learn in this book will come in handy even if your final product isn't built on Arduino. While prior experience with computers is assumed, expertise with embedded systems such as Arduino is not a prerequisite. Familiarity with Arduino programming will be beneficial, but not necessary
Subject Arduino (Programmable controller)
Programmable controllers.
Microcontrollers -- Programming
Arduino (Programmable controller)
Microcontrollers -- Programming
Programmable controllers
Genre/Form Electronic books
Form Electronic book
ISBN 9781837635979
1837635978