Background
The purpose of this project is to provide simple directions on how to play around with your DIYmall Bluetooth Beacon. From what I can tell, this is just a small circuit board with a battery holder and a HM11 BLE module ( which uses the TI CC2541 ).
Preparation
Before you get started, download the documentation from the Amazon listing ( the URL for the documentation is https://www.adrive.com/public/WHAGyN/FZ1095-iBeacon_en.zip ). Unzip the file, and there is a "iBeacon_en" PDF file.
The "iBeacon_en" PDF file has the AT commands you can use. At the very bottom of the document there are a few resource links, I download Bluetooth 4.0 Com Assistant for Android 4.3 ( http://www.jnhuamao.cn/HMBLEComAssistant.rar ) and then loaded the APK file onto my Android smartphone.
If you prefer to only use apps from the Play Store, this one ( https://play.google.com/store/apps/details?id=com.irobotlabs.hmble ) seems to work.
Hardware Setup
You need to get power to the board. You could put in a CR2032 battery, or connect the board to a 3.3V supply. I would suggest using the 3.3V supply so you can play around without worrying about the battery life. On the board, you will see a few holes - two of them are labeled 3.3V and GND. You can either just put a wire (like a jumper) into the hole, or actually solder a wire/header pin to make things a bit nicer.
Connecting using Android
1) Run the "BLE ComAssistant" software that you installed earlier.
2) You should see your beacon under "Device List", click on it
3) You will see a "connecting to" message, then a few seconds later you should see "Connection Successful".
4) Send the "AT" command and you should see an "OK" response.
5) I would recommend sending the "AT+PWRM1" command which disables auto-sleep, that way you can connect without problems as you play around. You should get a "OK+Set:1" response.
NOTE: If you decided to use the app from the Play Store, the directions are as follows:
1) Run the "HMBLE Terminal" software you installed from the Play Store
2) Click the three dots in the top right and choose "Connect"
3) Select your beacon, wait until it connects ( you might see "OK+PIO2:1" )
Do steps 4-5 above.
Now What?
Hopefully your purchased the beacons with a project in mind. If not, I would recommend looking at various smartphone applications related to beacons to see what is out there and start to play around - I saw a few Android apps that would estimate distance to the beacon which was pretty neat. As a sample project, you could come up with a game for kids to search for the beacons.
It seems the primary capability is related to clients (smartphones for example) being able to use the beacons to determine indoor location - for example which room of a museum they are in, or even what exhibit a person is standing near so that an application can display relevant information. I am sure, with the right Bluetooth hardware, you could setup an Arduino project to determine how close the board was to a specific beacon and take certain actions based on the beacon it was near.
I look forward to seeing if anyone uses these beacons for projects, and hope this information was useful.
Comments