HC-05 Bluetooth Serial Module TTL (Master/ Slave) Testing

Write By: itsmeadmin Published In: Blog Created Date: 2014-05-27 Hits: 14375 Comment: 0

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 

  1. HC-05 Bluetooth Serial Module TTL (Master/ Slave)
  2. USB to serial converter
  3. Jumper wires 
  4. Android Smart Phone w/ Bluetooth

Software Requirements

  1. Tera Term OR Blue Terminal  (Windows)   Minicom (Linux)
  2. Bluetooth Terminal (Android Phone)

STEP-1 (Install required Softwares)

Install all neccessary software packages, Serial Terminal on computer and Bluetooth terminal on your Android Phone.

Bluetooth Terminal on 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

  • Connect HC-05 to VCC and GND of USB-TTL module, this way HC-05 gets +5V power from USB-TTL module,
  • Connect TXD of HC-05 to RXD of USB-TTL Module.
  • Connecy RXD of HC-05 to TXD of USB-TTL module.

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.

 

 

 

 

 

 

Leave A Comment

Captcha