In this tutorial, I will show you the basics of the HC-06 serial communication. For this, you will need only the module itself, an Arduino board and an USB cable. All of them can be found at Kuman's website.
The connections are as follows:
HC-06 | Arduino
- TX - RX
- RX - TX
- GND - GND
- 5V - 5V
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Uploading the Code and Downloading the App
The code is very simple. I'm sure that you can write it on your own, but if you still need it, it can be found here.
Upload it to the board and head on to your phone. For Android, the best app for the case is S2 Terminal. Download it and when opening, turn on Bluetooth and pair up with the module. It's name is HC-06. If asked for pin/password use 1234 or 0000.
Step 2: The Connection Itself
In the Arduino IDE, open up the serial monitor. On your phone, send a random word and then check if it has appeared on your PC. If so, feel free to continue to more advanced projects.
This was a simple project just for testing purposes and to check if everything is working!
Participated in the
Arduino Contest 2017