Questions tagged [hm-10]

HM-10 is a Bluetooth Low Energy (BLE) module, interfaced via serial port (UART).

HM-10 is a Bluetooth Low Energy (BLE) module.

Features:

  • conforms to BLE 4.0 specification
  • based on Texas Instruments CC2540 or CC2541 SoC
  • power: 3.3V
  • interfaced via serial port (UART)
  • uses text commands for configuration that only is sort of similar to AT commands used by modems
  • widely used by hobbyists and in embedded applications

Full specification can be found in datasheet.

Official site: Jinan Huamao Technology Company (JNHuaMao).

Be aware of the special handling needed for text command handling. Code that is written to talk to HM-10 cannot be reused to talk with normal modems/phones that uses AT commands and vice versa. Significant differences include

  • Complete lack of generic Final Result Codes (like OK and ERROR). Instead every single possible variation of result and information text needs to be explicitly handled.
  • No indication of failures will be given.
  • The syntax is very different in many, many aspects.
113 questions
0
votes
0 answers

HM-10 Bluetooth module can not interact with my iOS app

I am using HM-10 with Arduino to send data from iOS app to Arduino, the problem is I can connect from my app to Bluetooth module but I can't find device characteristics. The question is there something missed that configure the Bluetooth module to…
MAHMOUD OMARA
  • 85
  • 1
  • 6
0
votes
1 answer

hm-10 SHIELD assistance command after first pairing

hm-10 shild hello, did anyone here used HM-10 SHIELD ? i need a code that after the first pairing any time that the HM-10 SHIELD will identify my ble\phone then the HM-10 SHIELD or the arduino will send a massage or any other command to pc or…
0
votes
0 answers

HM-10/CC41 talk to BLE server

I've done a lot of searching but have yet to find any examples of the data format for accessing a simple BLE characteristic. I have a CC41 (HM-10 clone) that I have set to master mode and successfully connected to a BLE server device using a PC…
0
votes
1 answer

JDY-08 w/HM10 firmware won't change any parameters

I have a custom circuit with STM32F030F4P6 as a main controller and HDY-08 flashed with HM-10 firmware as a Bluetooth LE transmitter. What I wanted to do on circuit power on is to manually set the module up with custom parameters (name, baud, mode)…
Warpony
  • 31
  • 5
0
votes
0 answers

CoreBluetooth, iOS

I'm trying to get data from spesific bluetooth device in JSON format. As I understood CoreBluetooth in didUpdateValueFor CBCharacteristic delegate send 20 bytes massage and you can work with it. The problem is if this 20 bytes massage has Cyrillic…
Mike
  • 11
  • 1
  • 5
0
votes
1 answer

BLE Characteristic not reading full string at once

I m sending data from slider and buttons to Arduino through Hm10, but the problem is my string is getting read in two parts, it is getting divided from second last characteristic to a new line string. func writeValue(data: String){ let…
Soma Sharma
  • 73
  • 15
0
votes
1 answer

HM-10 read, write, notify, Can i do it all at once?

I have written the following code below using the SoftwareSerial.h library void loop(){ //BT LED READ if(BTSerial.available()) { int c = BTSerial.read(); Serial.println(c); Serial.print("\n"); if (c == 1) …
Jeppe Christensen
  • 1,680
  • 2
  • 21
  • 50
0
votes
0 answers

Communicating with HM10 from iphone swift xcode

I want to communicate with my HM10 via iPhone app, I have already created an app to establish the connection with HM10, I am able to send data to Bluetooth but I am not receiving data, Following is the code:- It doesn't print anything. …
Soma Sharma
  • 73
  • 15
0
votes
2 answers

Cannot Read HM-10 After Connecting with Bluez

I am hoping you can help me figure out how to use Bluez to read from an HM-10 BLE module. Why is this a problem for me? I cannot get read or write to work correctly, and I my end-goal is to use Ian Harvey's bluepy library, built on top Bluez stack.…
John Doe
  • 165
  • 1
  • 4
  • 15
0
votes
1 answer

How to give AT commands to HM-10 using hardware RX/TX pins of arduino uno?

I have been successful in using SoftwareSerial to pass AT commands to an HM-10 module. But, I want to use Hardware Rx/Tx pins (Digital pins 0/1) to do the same. Is there any library available for this purpose? Or, how do I achieve this?
0
votes
1 answer

Is running HM10 on a soft-serial enable the Low Energy charecteristics ? If so, how can the UUIDs and GATT profiles be tweaked in this case ?

I've been tinkering with the HM-10 board for a few weeks now, trying to push data from phone to module and vice-versa. The ultimate goal was to enable the BLE mode and tweak with the characteristics and GATT profiles. I'm pretty new to this domain…
0
votes
0 answers

HM-10 does not exit AT mode

I have a HM-10 (probably a clone) which I managed to get into AT mode quickly (by shortening 5V and GND prior to connecting it to the ESP8266 where it's running on), and I can configure it, but I just cannot get it out of AT mode. AT+RESET gives me…
fredlcore
  • 33
  • 1
  • 7
0
votes
1 answer

HM-10 only works with Iphone apps

My HM-10 BLE connects to Samsungs and Iphones. But when I want to see the real distance from the phone to the Beacon, then only Iphone apps (e.g Locate Beacon) show the actual distance. Samsung apps always show 0.08 or 0.09 meters to the Beacon. Any…
Mark
  • 9
  • 1
  • 5
0
votes
1 answer

HM-10 BLE module automatic reconnect

I have an HM-10 BLE (v549 firmware) module with a PIN set. I want my phone to connect to it automatically. Is this possible with BLE modules? The first time it is discovered, I click on it and, after entering the PIN, they are connected (as…
GeneralNfG
  • 11
  • 3
0
votes
1 answer

How to change HM-10 Tx Power

I am using the HM-10 as iBeacon and the Tx Power is set to -59 by default. I want to change the Tx Power and the datasheet said that AT+MEAS can be used to set iBeacon measured power. After calibration the RSSI at 1 meter was -23dBm which is E9 in…
Mark
  • 9
  • 1
  • 5