Average rainfall 2001-2016, global tropics

Map: Average rainfall 2001-2016, global tropics

Module Project Nano

project: Bluetooth sketch and wiring Arduino UNO

Introduction

Setting up a connection between your computer or phone (master) and Arduino project (slave) using Bluetooth is fairly easy and straight forward. The complication is the power supply and voltage for the serial port connection.

Online manuals

There are many manuals and tutorials for how to wire and sketch your Arduino Bluetooth connection. To get an updated manual you should probably consult a search engine. The How to connect an Arduino Uno to an Android phone via Bluetooth (by 42 Bots Hobby Robotics and Electronics Blog), contains a good summary on the power and voltage issue. Also How To Meachatronics have an OK Arduino and HC-05 Bluetooth Module Tutorial. For a specific post on Bluetooth Low Energy (BLE) see Martyn Currey’s blog post on HM-10 Bluetooth 4 BLE Modules.

Voltage divider

While most Bluetooth modules require 5 v as DCC input, the communication port (RXD) only requires 3.3 v. In many online manuals this is ignored and the RXD port s fed 5 v. The wiring below here reduces the RXD input voltage to 3.3 v using a voltage divider. A voltage divider requires one resistor reducing the voltage over the power supply, and a second resistor connecting the power supply to ground. To reduce from 5 to 3.3 v the resistance relation between these need to be exactly 1:2. In my examle below I have chosen resistor of approxiamtely 500 Ohm : 1000 Ohm. To get the correct resistor you might need a Resistor Color Code Calculator.

Wiring

The wiring is similar for Bluetooth Classical and BLE with both requiring a voltage divider. The first example only shows the Bluetooth module. The second example includes a LED, and is the wiring used in the post on .

Wiring a HC-05/HC-06 Classic Bluettoh module to an Arduino UNO board using a voltage divider for the HC-05/HC-06 module RX port. The voltage divider use 560 Ohm and 1 kOhm resistors.
Wiring a HM10 Bluetooth BLE module to an Arduino UNO board using a voltage divider for the HM10 module RX port. The voltage divider use 560 Ohm and 1 kOhm resistors.
Module Project Nano