Using cheap BLE modules?

Pommie

Well-Known Member
Most Helpful Member
I bought a couple of cheap BLE modules off of Ebay. They kinda work but only with some commands.
Sending AT\r\n returns OK\r\n Note, sending just AT returns ERROR\r\n
Sending AT+IMME? (not typing \r\n anymore) initially returns OK+Get:0 Then after sending AT+IMME1 it then returns OK+Get:1 which, I believe is what I want.
The instructions here say I should next send AT+NOTI1 but that returns ERROR
Has anyone had any success with these modules or knows of some good links to how to use them?
These are the modules,



Mike.
Edit, if I send AT+NAMEMike it returns +NAME==Mike\r\nOK\r\n Yes, double equals isn't a typo.
 
Note I made a typo in the edit I actually sent AT+NAME=MIKE (hence the double equals) and I now have a device has shown up on my tablet called "=Mike"!!! - no quotation marks of course. Sending the correct command now.

Mike.
 
If in doubt, download the Arduino library for it, and study what that does

By comparing it with datasheets and 'instructions' it makes it easier to work out what you need to do.
 
Thanks, I did a google search for HM10 Arduino and found this page. It talks about flashing new firmware to clones which I think I need to do. I'll try this in the morning. Not a good idea to attempt it now. Still no library available. Only library used seems to be Software Serial.

Mike.
 
Hmmm, only program available to flash these modules is Windows only and I no longer have that. Might have to look at the Arduino software to figure out what it's doing and write my own. An ESP could hold the whole binary file and do it that way or interface an SD card to something to make it available.
 
Weirdly, my BLE module was pairing with something earlier so I've been waiting for it to pair again (LED constant) so I could disconnect and get more info but it's not happened since. I'll check again in the morning, just in case it paired overnight.

Mike.
 
I always find BT somewhat confusing
 
BLE modules do not "pair" to phone built-in bluetooth, in the same way as normal bluetooth devices. They need a different protocol.

I use an iphone app called "BLE Terminal".
That works fine to communicate with the BLE modules I've tried.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…