Book Image

Arduino Data Communications

By : Robert Thas John
5 (1)
Book Image

Arduino Data Communications

5 (1)
By: Robert Thas John

Overview of this book

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.
Table of Contents (20 chapters)
Part 1:Introduction to Arduino and Sensor Data
Part 2:Sending Data
Part 3: Miscellaneous Topics

Learning about cellular connectivity

Cellular connectivity is provided by telecommunication networks. These networks are usually privately owned, although they can be publicly owned in some countries. These networks are licensed at a national level. As a result, even if a network has the same name as a network in another country, you can’t use the other network unless the two networks have a roaming agreement.

In order to connect to a cellular network, you will need a device that is capable of communicating over the right frequency and a Subscriber Identity Module (SIM). A SIM can be either physical or virtual (or electronic). A physical SIM is also called a SIM card. Physical SIM cards have shrunk in size over the years, thus making it possible for device manufacturers to also make smaller devices. A SIM card with cutouts for three generations of sizes is shown in the following figure, with the card itself in the white area.

Figure 9.1 – A physical SIM card

Figure 9.1 –...