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

Introduction to Raspberry Pi


In this section, we will be introducing you to Raspberry Pi, which is a completely functional computer built on a single circuit board:

Figure 28: A Raspberry Pi, Model 3B; source: www.wikipedia.com

Equivalent to the size of a credit card, this single board computer offers the following:

  • 1GB RAM
  • 4 USB ports
  • 40 GPIO pins
  • A full HDMI port
  • An Ethernet port
  • Combined 3.5mm audio jack and composite video
  • A Camera interface (CSI)
  • A Display interface (DSI)
  • A micro SD card slot
  • A VideoCore IV 3D graphics core
  • A 1.2GHz 64-bit quad-core ARMv8 CPU
  • An 802.11n Wireless LAN
  • Bluetooth 4.1
  • Bluetooth Low Energy (BLE)

Figure 29: Raspberry Pi, Model 3b, layout details; source: www.smarthomesage.com

For less than 40 euros (which is the approximate cost of this board), for starters, you can simply connect a USB 2.0 mouse and keyboard to the USB ports, hook up a monitor via the HDMI port, and you already have the hardware setup of a personal computer:

Figure 30: Raspberry Pi, Model 3b, Specifications...