HC-05 Bluetooth modules are cheapest way to add bluetooth functionality to your electronic system projects. This post shows how to test this module quick and easy.
Hardware Requirements
Software Requirements
STEP-1 (Install required Softwares)
Install all neccessary software packages, Serial Terminal on computer and Bluetooth terminal on your Android Phone.
Bluetooth terminal Screenshot from Android Smartphone
STEP-2 (Connect HC-05 and USB-TTL module to PC)
Connect USB to Serial Converter to your computer. Go to Device Manager to see the com port assigned to your USB- TTL serial converter. We are using PL2303 based USB to Serial TTL converter module. It has been assigned “COM 10” by the windows system.
STEP - 3
If everything goes fine, RED led on HC-05 module should now be blinking,
STEP - 4
Open Bluetooth terminal on your smart phone and press phone's left button, it shows the connect options and other setting of Bluetooth Terminal App. Tap on 'Connect a device - Insecure'.
It will display another pop-up. It shows all the bluetooth slave devices those are available in the vicinity of your phone. Look for HC-05.
Tap on HC-05, Your phone should now get connected to HC-05 module. In this setup your phone is a Master BT device while HC-05 module is a Slave BT device.
Once the HC-05 module is connected to your Phone, the RED LED on HC-05 should now blink at a rate of 2 times per second.
STEP - 5 (Serial Port Terminal Set up on PC)
Now open Tera term of Blue Terminal and configure the COM port settings in your Terminal software.
STEP - 6 (Sending from computer to Phone)
Now, try to type something on TeraTerm, Press enter and it should be sent to Bluetooth terminal on your phone.
STEP - 6 (Sending from Phone to Computer)
Text in Red color shows the text message sent from Phone. While Blue Text is the one received by the Phone over Bluetooth.
This way you can send and receive messages between your Smart phone and computer using HC-05 Module.
Author -
Devesh Samaiya
Prototype Engineer at Cevian Electronics Pvt. Ltd.
Captcha