Skip to content
bjoerke edited this page Jul 3, 2014 · 5 revisions

The HM-10

The HM-10 is a very cheap Bluetooth Low Energy (BLE) chip. It uses the TI CC2540 SoC and its build-in BLE Stack. The HM-10 is delivered with a very simple firmware which is programmable by AT commands.

Homepage: http://www.jnhuamao.cn/bluetooth.asp

This project

This project aims to replace the factory firmware of the HM-10 with one which is able to detect nearby devices and simulatenously broadcasts user-defined advertisment data . This custom firmware is programmable over a serial interface.

Trying it out

First you need access to the CC2540's debug mode to upload custom firmware. This requires some soldering. For furher details, see flash firmware.

Then you can try out one of the precompiled firmware images from the 'binaries' Folders.

Finally you can interface with the firmware over a serial interface. For further information about the serial commands, see serial commands.

It is also an example included which turns your device into an iBeacon. IBeacons are small BLE tags developed by Apple. They broadcast an UUID and can be used for indoor localization. The source code can be found in the folder 'Arduino'.

In case you want to extend the firmware, you need some tools, as described in programming