Interfacing the HC-06 Bluetooth module with Arduino

A simple and informative tutorial about interfacing the HC-06 Bluetooth module with Arduino

Mar 3, 2021

92681 views

6 respects

Components and supplies

2

Resistor 1k ohm

1

HC-06 Bluetooth Module

1

Arduino Nano R3

6

Male/Male Jumper Wires

1

Solderless Breadboard Half Size

Apps and platforms

1

Bluetooth Terminal App - Qwerty

1

Arduino IDE

Project description

Code

Code

arduino

Credits to : http://www.martyncurrey.com/arduino-and-hc-06-zs-040/

Code

arduino

Credits to : http://www.martyncurrey.com/arduino-and-hc-06-zs-040/

Downloadable files

Schematic

Schematic

Comments

Only logged in users can leave comments

robin_bijo

2 years ago

Hi! May I know what is the app you use for the schematics?

sloopjohnt

2 years ago

This may be a a Uno Rev 3 versus Nano difference, but the code is designed to reassign digital pins 2 and 3 whereas the description is talks about using RX and TX which are Digital Pins 0 and 1 on the Uno. If you use 0 and 1 for the Bluetooth module connection is won't work .... Once I'd worked this out things worked straight away, and was very useful in proving my second hand HC-06 was working .... Anyway I learned a lot, which is important as a beginner.

sloopjohnt

2 years ago

Forgive the stupid comment. Rereading, this issue is noted in the description: but I still think this bit under connections is unnecessarily confusing. RXD ---> TX TXD ---> RX Better would be be something like RXD ---> TX (reassigned to Pin D2) TXD ---> RX (reassigned to Pin D3) and may be use constants and therefore useful names in this statement in the software. SoftwareSerial BTSerial (2,3);

sloopjohnt

2 years ago

Component list for purchase is wrong: Should be either 3 off 1K resistors or 1 off 1K and 1 off 2K ....

Anonymous user

3 years ago

What Software Do You Use For Controlling The HC-06? Thank You.

Anonymous user

2 years ago

Hello Makerpro, Not sure if you mean the IDE to write code in, if that is what you mean he is using Arduino IDE which you can get at https://www.arduino.cc/en/software

robin_bijo

3 years ago

Hi! May I know what is the app you use for the schematics?