How to Communicate Module Bluetooth HM-10 (4.0) With Android Smartphone and MCU




Introduction: How to Communicate Module Bluetooth HM-10 (4.0) With Android Smartphone and MCU

First of all, I want to introduce to you some things about module HM-10:

- HM-10 is a BLE with speed about 2KB/s. Bluetooth 's version is 4.0

- It can transmit and reiceive Data with distance up to 100 metter without obstacle.

- Power Source: 3.3 - 5 VDC

- Baudrate : Up to 230400, default baud is 9600, you also can change with AT command

- temparature: from -5 to 65 degree C

- Size: 26.9 x 13 x 2.2 mm

And in this instruction I will tell you how to communicate module Bluetooth HM-10 (bluetooth 4.0) with Android smartphone by BLE Terminal run with my MCU and maybe it can help you with your project.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Set Up Hardware and Software

In this instruction I use Tiva C series Launchpad to connect to HM-10, you can set up as attached picture.

Now I will use UART to transmit and receive data. in this case I use UART0 in my launchpad.

And with your phone, you need download HMBLE Terminal, you can easyly find it on Google Play.

And with MCU , I think you should use Code Composer Studio v6.0 by Texas Instrument because it 's free :D :D

And you alsol need set up TIVAWARE library for some code

Step 2: Time for Coding

Ok, I attached my CCS project. So you just need debug and read it.

But before debug my code you need change the link to TIVAWARE (where you set up TIVAWARE) in CCS to make it work. I attached how to do it in my pictures.

And now, turn on your smart phone and open BLE terminal, connect to BLE, and send some chars such as a,b or c..... and look the leds on lauchpad

Ok that 's all, now it 's your turn, so hope you success with this stuff ^^ :D

Be the First to Share


    • LED Strip Speed Challenge

      LED Strip Speed Challenge
    • Sculpting Challenge

      Sculpting Challenge
    • Clocks Contest

      Clocks Contest

    4 Discussions


    1 year ago

    Thanx for this tutorial, I am trying to Connect HM10 with PIC16F877A controller,
    but when I send "AT" to module, it send "ERR".

    i purchased new module. and i think Hardware connections are fine.

    I am try to first time this module. Please help me in this Project.
    mobile: 9056502012
    I shall be very thankful to you for this.


    2 years ago

    THANKS A MILLION, I thought I had a different brand of BT module and thought it was bas. anyway your instructable helped a lot.


    3 years ago

    yes, please , think in the novice


    3 years ago

    There is more to it than just this and reading will confuse a novice since there are so many steps left out. Terrible tutorial.