Book Image

IoT Projects with Bluetooth Low Energy

By : Madhur Bhargava
Book Image

IoT Projects with Bluetooth Low Energy

By: Madhur Bhargava

Overview of this book

Bluetooth Low Energy, or Bluetooth Smart, is Wireless Personal Area networking aimed at smart devices and IoT applications. BLE has been increasingly adopted by application developers and IoT enthusiasts to establish connections between smart devices. This book initially covers all the required aspects of BLE, before you start working on IoT projects. In the initial stages of the book, you will learn about the basic aspects of Bluetooth Low Energy—such as discovering devices, services, and characteristics—that will be helpful for advanced-level projects. This book will guide you through building hands-on projects using BLE and IoT. These projects include tracking health data, using a mobile App, and making this data available for health practitioners; Indoor navigation; creating beacons using the Raspberry Pi; and warehouse weather Monitoring. This book also covers aspects of Bluetooth 5 (the latest release) and its effect on each of these projects. By the end of this book, you will have hands-on experience of using Bluetooth Low Energy to integrate with smart devices and IoT projects.
Table of Contents (15 chapters)
Title Page
Credits
Foreword
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Creating a Beacon with Raspberry Pi


We shall be creating a Beacon on top of Raspbian and we would be doing that using one of the popular tools that come bundled with the original Linux kernel. We shall begin by setting up the Raspberry Pi (Model 3B) and we are assuming that you have a Raspberry Pi essentials kit, a keyboard, a mouse and a display (monitor) to start with:

  1. Plug in the USB mouse and keyboard to the USB ports, also connect the monitor to the Pi via the HDMI cable. If you do not have an HDMI monitor, you can use the appropriate converter for the purpose. A port outline of the Raspberry Pi Model 3B is shown in the following image:

Figure 8: Ports on Raspberry Pi Model 3B; source: www.element14.com

  1. Use the NOOBS card that came bundled with the essentials kit and insert it into the MicroSD card slot. Additionally, not essentially, you can also put up the housing/case over the Pi, which came bundled with the essentials kit.

 

  1. We have hooked up all the I/O units, plus inserted the NOOBS...