LTE Cellular Narrowband Internet of Things (NB-IoT)
eBook - ePub

LTE Cellular Narrowband Internet of Things (NB-IoT)

Practical Projects for the Cloud and Data Visualization

  1. 416 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

LTE Cellular Narrowband Internet of Things (NB-IoT)

Practical Projects for the Cloud and Data Visualization

About this book

NB-IoT is the Internet of Things (IoT) technology used for cellular communication. NB-IoT devices deliver much better capability and performance, such as: increased area coverage of up to one kilometer; a massive number of devices—up to 200,000—per a single base-station area; longer battery lifetime of ten years; and better indoor and outdoor coverage for areas with weak signal, such as underground garages.

The cellular NB-IoT technology is a challenging technology to use and understand. With more than 30 projects presented in this book, covering many use cases and scenarios, this book provides hands-on and practical experience of how to use the cellular NB-IoT for smart applications using Arduino™, Amazon Cloud, Google Maps, and charts.

The book starts by explaining AT commands used to configure the NB-IoT modem; data serialization and deserialization; how to set up the cloud for connecting NB-IoT devices; setting up rules, policy, security certificates, and a NoSQL database on the cloud; how to store and read data in the cloud; how to use Google Maps to visualize NB-IoT device geo-location; and how to use charts to visualize sensor datasets.

Projects for Arduino are presented in four parts. The first part explains how to connect the device to the mobile operator and cellular network; perform communication using different network protocols, such as TCP, HTTP, SSL, or MQTT; how to use GPS for geo-location applications; and how to upgrade NB-IoT modem firmware over the air. The second part explains the microcontroller unit and how to build and run projects, such as a 7-segment display or a real-time clock. The third part explains how NB-IoT can be used with sensor devices, such as ultrasonic and environmental sensors. Finally, the fourth part explains how NB-IoT can be used to control actuators, such as stepper motors and relays.

This book is a unique resource for understanding practical uses of the NB-IoT technology and serves as a handbook for technical and non-technical readers who are looking for practicing and exercising the cellular NB-IoT technology. The book can be used by engineers, students, researchers, system integrators, mobile operators' technical staff, and electronics enthusiasts.

To download the software which can be used with the book, go to:

https://github.com/5ghub/NB-IoT

About the Author:

Hossam Fattah is a technology expert in 4G/5G wireless systems and networking. He received his Ph.D. in Electrical and Computer Engineering from University of British Columbia, Vancouver, Canada in 2003. He received his Master of Applied Science in Electrical and Computer Engineering from University of Victoria, Victoria, Canada in 2000. He completed his B.Sc. degree in Computers and Systems Engineering from Al-Azhar University, Cairo, Egypt in 1995. Between 2003 and 2011, he was in academia and industry, including Texas A&M University. Between 2011 and 2013, he was with Spirent Communications, NJ, USA. Since 2013, he has been with Microsoft, USA. He is also an affiliate associate professor at University of Washington, Tacoma, WA, USA, teaching graduate courses on IoT and distributed systems and collaborating on 5G research and innovations. He has had many patents and technical publications in conferences and journals. He is a registered professional Engineer with the Association of Professional Engineers, British Columbia, Canada. He is the author of the recent book 5G LTE Narrowband Internet of Things (NB-IoT). His research interest is in wireless communications and radio networks and protocols, cellular quality of service, radio resource management, traffic and packet scheduling, network analytics, and mobility.

Information

Publisher
CRC Press
Year
2021
Print ISBN
9780367690144
9780367636296
Edition
1
eBook ISBN
9781000329599

Chapter 1

About This Book

1.1 Organization of the Book

This book is a hands-on and practical guide for the new LTE cellular Internet of things known as Narrowband Internet of Things (NB-IoT). The book provides projects using Arduino, Google map, and Node.js for data visualization. Projects are used for cellular networking and protocols, sensing and measurements, controlling and actuating, plotting GPS geo-locations, and data visualization. The book is organized into the following chapters:
  • Chapter 2: Provides an introduction about LTE and cellular NB-IoT. It covers an introduction about 5G and LTE systems, 3GPP NB-IoT protocol stack, NB-IoT core network, NB-IoT use cases, NB-IoT in the 5G new radio, and the use case for smart city. Readers are advised to refer to a companion book titled ”5G LTE Narrowband Internet of Things (NB-IoT)”[1] if a deeper understanding of the full protocol stack of NB-IoT technology as released by 3GPP standardization body is needed.
  • Chapter 3: Explains the Arduino software tools need to be installed and setup to run the Arduino projects for the NB-IoT.
  • Chapter 4: Explains the NB-IoT hardware board for Arduino that is used throughput this book to run the different projects. It explains the microcontroller and the NB-IoT modem on the hardware board, board technical specifications, and pin definitions.
  • Chapter 5: Explains the AT commands. It covers a set of AT commands used to configure and control the NB-IoT modem. AT commands covers commands for different protocols such as TCP/IP, SSL, MQTT, HTTP, GNSS, file, and firmware update commands. It also explains the configuration needed to connect with the mobile operator network.
  • Chapter 6: Explains data format used for exchanging information between an NB-IoT device and the cloud. It covers the JSON and CBOR data formats. It explains two methods used with each data format; serialization and deserialization. It provides steps to install and run JSON and CBOR libraries and provides Arduino projects for serializing and deserializing JSON and CBOR data formats.
  • Chapter 7: Explains the cloud and how to use it with the NB-IoT device. Amazon Web Services (AWS) is used as the cloud operator and is used through all Arduino projects. It explains how to setup cloud for receiving or transmitting data to the NB-IoT device and how to store NB-IoT data in the cloud. It also shows the cloud dashboard for real-time communication and testing the NB-IoT device.
  • Chapter 8: Explains data visualization of the NB-IoT data through the use of Google map and charts to visualize data stored on the cloud by the NB-IoT device. This chapter explains how to use Google map APIs to plot GPS location of the NB-IoT device. It also explains how to use Chart.js, the JavaScript library, to visualize sensor dataset such as temperature.
  • Chapter 9 to Chapter 15: Covers the cellular networking projects that can be used with the NB-IoT device. Lessons and Arduino projects provided show how to turn on the NB-IoT modem and how to use the modem to run different networking protocols such as TCP, SSL, MQTT, GPS, and HTTP. An Arduino project on how to update the NB-IoT firmware is also explained.
  • Chapter 16 to Chapter 26: Covers different Arduino projects that explains the capability of the NB-IoT hardware board and how to use it for different lessons such as RGB LEDs, keyboard, buzzers, push buttons, joystick, clock, IR remote, RFID, and 7-segment display.
  • Chapter 27 to Chapter 34: Covers sensors projects. It covers different Arduino projects used for sensing and measurements such as photocell, ultrasonic, tilt, temperature, humidity, water-level, thermometer, gyroscope, accelerometer sensors. All sensors projects show how to interface and upload sensing data to the cloud.
  • Chapter 35 to Chapter 37: Covers actuators projects. It covers different Arduino projects used for actuating, and controlling devices such as stepper motor, servo motor, and relay. All actuator projects show how to interface and control the motors from the cloud.
  • Chapter 38: Lists all hardware parts and components used throughout projects explained in this book.

1.1.1 How to Read This Book

This book presents the new LTE cellular NB-IoT technology as released by 3GPP in Release 13 which is the pre-5G technology. In this edition of the book, we provide practical guidance and lessons on how to use this NB-IoT for practical projects that can be used in everyone daily life and needs and for home, office, or industrial applications and use cases.
For the purpose of this book, an NB-IoT hardware board, based on Quectel BG96 chipset, is designed and manufactured to demo applications and use cases for the LTE cellular NB-IoT. The NB-IoT hardware board is compatible with Arduino software and tools. Arduino is an easy to use and open-source electronics and programming language platform that is suitable for wide spectrum of users and skills. Users who are beginners, intermediate, professional and whether they are teachers or students can thus exercise and prototype the NB-IoT applications and lessons presented in this book.
The book contains several and diverse lessons which use Arduino, Google map, and Node.js. They represent the most essential and fundamental lessons that are common lessons and practical lessons to use with the NB-IoT. More derived lessons can be extracted from the lessons presented in the book. As the NB-IoT hardware board is Arduino-compatible, users can independently build and prototype their own projects based on their specific needs.
Lessons includes hardware components required to run the project, schematic and breadboard diagrams, and Arduino sketches. Fritzing is an open-source software editor for drawing schematic and breadboard diagrams. Schematic and breadboard diagrams in this book are provided in Fritzing for easy understanding and implementation of the NB-IoT Arduino projects. The book contains a lot of illustrations and diagrams to help in digesting and implementing the NB-IoT use cases.
NB-IoT data is synonymous with data visualization as the latter is the technique used to visualize NB-IoT dataset in graphical format easy for interpretation and for quicker insights and decision making. The book covers data visualization through two main examples. Use of Google map to plot GPS locations and the use of charts for plotting raw data. Google map, when used with NB-IoT devices, facilitates wide range of geo-location applications such as tracker, navigation, and fleet management. Charts are rich graphical elements that can be used to plot many of sensors data such as humidity, proximity, or thermometer datasets.
Users interested in understanding the protocol stack and 3GPP technical specifications about 5G LTE NB-IoT can obtain the book ”5G LTE Narrowband Internet of Things (NB-IoT)” available through CRC press at https:/​/​www.routledge.com/​ [1]. This book serves as a sequel book that provides practical experiments and lessons on how to use the NB-IoT technology.
This edition of the book is one of its kind in the area of practical uses of the NB-IoT technology and serves as a handbook for people who need to practice and exercise this technology or are looking for guidance about how to use this new technology. The book presents the most recent and up-to-date information and specifications about NB-IoT. The book is a valuable material for technical and non-technical readers who are willing to learn and find comprehensive information about the NB-IoT technology.
The book concludes after providing a comprehensive number of projects that use Arduino, Google maps, and Node.js. The projects are used with the cloud and their data are visualized. We wish the reader to enjoy the book, the practical projects, and the information provided, and keep the book among his(her) library of books for 5G and cellular technology.

1.1.2 Software and Hardware Tools Used in This Book

Software used in this book uses the following tools and can be downloaded at the following URLs:
  • Arduino IDE: https:/​/​www.arduino.cc/​en/​main/​software.
  • The NB-IoT hardware board: https:/​/​github.com/​5ghub/​NB-IoT.
  • Arduino board package, sketches, and library: https:/​/​github.com/​5ghub/​NB-IoT.
  • Quectel BG96 modem driver for Windows: https:/​/​github.com/​5ghub/​NB-IoT
  • Node.js: https:/​/​nodejs.org/​en/​.
  • Amazon Web Services Software Development Kit (SDK) for Node.js: https:/​/​docs.aws.amazon.com/​sdk-for-javascript/​v2/​developer-guide/​installing-jssdk.html.
  • Chart.js library: https:/​/​www.chartjs.org.
  • Visual Studio Code: https:/​/​code.visualstudio.com/​.

1.1.3 Conventions Used in the Book

The following are the typographical conventions used in this book:
loop(), bitSet(), int
Arduino function names and data types of the Arduino programming language are colored according to the Arduino IDE coloring scheme.
Bold Text
Functions names or variables used in Arduino sketch such as Foo() and Bar(). Bold text is also used for button name, menu item, file name, software class name, software object name, API, or HTML tags.
0b00011000
Binary numbers followed by eight bit of binary values.
0xFE189
Hexadecimal numbers followed by a number of digi...

Table of contents

  1. Cover
  2. Half Title
  3. Title Page
  4. Copyright Page
  5. Preface
  6. Acknowledgements
  7. Contents
  8. List of Listings
  9. 1 About This Book
  10. 2 LTE Cellular Narrowband Internet of Things (NB-IoT)
  11. 3 Installing and Setting up Hardware and Software
  12. 4 Microcontroller and NB-IoT Modem Units
  13. 5 AT Commands
  14. 6 Data Serialization and Deserialization
  15. 7 Amazon Web Services for IoT Devices (AWS IoT)
  16. 8 Data Visualization
  17. I Networking
  18. II Microcontroller
  19. III Sensors
  20. IV Actuators
  21. References
  22. Index

Trusted by 375,005 students

Access to over 1.5 million titles for a fair monthly price.

Study more efficiently using our study tools.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access LTE Cellular Narrowband Internet of Things (NB-IoT) by Hossam Fattah in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Networking. We have over 1.5 million books available in our catalogue for you to explore.