1st Edition

LTE Cellular Narrowband Internet of Things (NB-IoT) Practical Projects for the Cloud and Data Visualization

By Hossam Fattah Copyright 2021
    380 Pages 100 B/W Illustrations
    by CRC Press

    380 Pages 100 B/W Illustrations
    by CRC Press

    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.

    Preface                                                                                                       

    1        About this Book

    2        LTE Cellular Narrowband Internet ofThings (NB-IoT)

    3        Installing and Setup Hardware and Software

    4        Microcontroller and NB-IoT Modem Units                              

    5        AT Commands                                                                             

    6        Data Serialization and Deserialization                                      

    7        Amazon Web Services for IoT Devices (AWSIoT)

    8        Data Visualization

    I       Networking                                                                                                             

    9        Turning on the Modem                                                                

    10    Transmission Control Protocol (TCP)                                       

    11    Secure Socket Layer (SSL) Connection

    12    Message Queue Telemetry Transport (MQTT)

    13    Location and GPS Tracking

    14    Hypertext Transfer Protocol (HTTP)

    15    NB-IoT Modem Firmware Update

    16    RGBLED

    17    Making Sound Using Active Buzzer                                          

    18    Making Sound Using Passive Buzzer                                         

    19    Keypad Switch                                                                             

    20    Push Button                                                                                  

    21    Analog Joystick

    22    Infra-Red (IR) Receiver

    23    Radio Frequency Identification

    24    Eight LED and Shift Register

    25    Seven Segment Display                                                                

    26    Real Time Clock                                                                          

    II     Sensors                                                                                       

    27    Tilt Sensor Switch

    28    Photocell                                                                                       

    29    Ultrasonic Sensor                                                                         

    30    Temperature and Humidity Sensor                                           

    31    Water Level Detection Sensor

    32    Microphone Sound Sensor                                                          

    33    Thermometer                                                                               

    34    Gyroscope Sensor

    III      Actuators

    35    Servo Motor

    36    Stepper Motor

    37    Relay

    38    Hardware Parts

    Biography

    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.