Average rainfall 2001-2016, global tropics

Map: Average rainfall 2001-2016, global tropics

Project Nano Project Uno

module: Bluetooth modules for Arduino

Introduction

Bluetooth uses UHF radio waves for data transfer over short distances. It is one of the alternatives for communicating with your Arduino project. This post lists some common Bluetooth boards to use with your Arduino project.

Bluetooth generations

The two main generations of Bluetooth are Classic Bluetooth and Bluetooth Low Energy. Both are defined in the Bluetooth Core Specification version 4.0 (Bluetooth Smart). Breakout boards with both versions are available for Arduino.

If your master device (typically computer or mobile phone) does not connect to you Arduino Bluetooth module it might be because you have incompatible generations.

Classic Bluetooth

The standard Arduino breakout boards for Classic Bluetooth are HC-05 and HC-06. The HC-05 module can either be a master or slave which means that it can initiate connection to another device. The HC-06 module is a slave only and can only accept a connection from another device.

Both HC-05 and HC-06 are produced by different vendors, and sold at almost every shop offering Arduino modules. In Sweden the best price and service might be from pchbutik.se.

Bluetooth Low Energy (BLE)

At time of writing this (January 2020) BLE has not yet taken over from Classic Bluetooth, but it is on its way to happen. pchbutik.se also has some alternatives for BLE modules.

As usual it is cheaper to buy directly from China, Banggood.com for instance.

Sketch and wire

The post on Bluetooth sketch and wiring contains instructions for how to wire a Bluetooth module to an Arduino UNO board with links to libraries and codes. How to wire using an Arduino Nano board is outlined in the post Arduino Nano project - bluetooth.

Project Nano Project Uno