Skip to content

spyua/Android-HM10-DIST-TEST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android-HM10-TEST

This project about connecting Android, Bluetooth LE/4.0. It's designed for use with BLE/BT 4.0 modules based upon TI's CC2540. You can use the module to get the rssi value and distance betwwen cell phone and the module.

Pls check your HM-10 module is genuine http://fab.cba.mit.edu/classes/863.15/doc/tutorials/programming/bluetooth/bluetooth40_en.pdf

You have to set you HM10 mode as below

Step1:AT+RENEW
Step2:AT+RESET
Step3:AT+IBEA1
Step4:AT+ROLE0
Step5:AT+IMME1
Step6:AT+MODE2
Step7:AT+RESET

Using this app to connect HM10 and get data

1.Click Button
Char Transfer Test

2.HM10 transfer "GET"
RSSI
Distance

The arduino circuit:

  • RX is digital pin 12 (connect to TX of other device)
  • TX is digital pin 13 (connect to RX of other device)
    Console Display Set:No End Line

If you use my app to connect HM10 module(Slave mode), and use HM10 sent "GET" to cell phone. The cell phone will feedback the RSSI and DIST to HM10. The photo as below

001 001

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published