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
1
vote
1 answer

Why GattDeviceService.FromIdASync() fails to finish?

I'm developing a Windows 10 Universal Application to communicate with an embedded system via a HM-10 chip. What I did try and other circumstances The chip is set up, there is no problem connecting to it. From an iPhone application for these…
1
vote
1 answer

Measuring RSSI of BLE Advertisement Packets Using Arduino

I am trying to find the RSSI of BLE Advertisements using an HM10 module and Arduino without actually connecting to the advertising BLE Device. The HM10 is in central role The AT+DISC? command only gives the address and the Bluetooth name. AT+RSSI?…
Manish
  • 179
  • 2
  • 11
1
vote
2 answers

Swift 3 data not sending to bluetooth device from iPhone app

I am trying to send data from my iPhone to bluetooth device which is connected to an Arduino. I know the bluetooth device works fine because I used the app nRF connect and sent data from there to the bluetooth which the Arduino read. I think the way…
Tejkaran Samra
  • 96
  • 1
  • 14
1
vote
1 answer

AT commands to hm10 over bluetooth with android

Hey guys am working with a project and i want to know is it possible to send AT commands to hm-10 ble device directly from my android app over bluetooth without using any micro controller and if yes then how????
1
vote
0 answers

HM10 firmware v540 not able to scan all Bluetooth modules

I am using HM10 Bluetooth with firmware v540. I fired AT+DISC? in Arduino and only able to discover surrounding HM10 Bluetooth devices. i.e. not able to discover other Bluetooth devices, other than HM10 devices. Firmware version below v530 has…
kenpeter
  • 7,404
  • 14
  • 64
  • 95
1
vote
1 answer

RSSI determination using HM-10

I am using an arduino with HM-10 Bluetooth module. I am able to detect other HM-10(slave) in the vicinity of HM-10(master). In HM-10 datasheet AT+RSSI? command is mentioned which i tried with all possible combinations, but i am unable to extract the…
anish
  • 1
  • 1
  • 3
1
vote
1 answer

Using Software serial on ESP8266 with Lua

I need to use ESP8266 standalone. I want to connect HM-10 bluetooth module to it and fire its AT commands and read the UUID of devices nearby. I can do that by firing AT commands on HM-10 from Arduino and FT232RL. But how do I do it in Lua?
Dushyant Bangal
  • 6,048
  • 8
  • 48
  • 80
1
vote
2 answers

HM-10 CC2541 IBeacon - Sleep issue after random time

I use HM-10 board (CC2541 inside) with HM-Soft V540 firmware to make IBeacon devices. But I have a big problem: I configure the HM10 as a beacon, with auto-sleep etc etc, after reset, the HM-10 is sleeping and advertising (2µA when sleep) but after…
Hexor
  • 11
  • 4
1
vote
2 answers

HM10 BLE 4.0 Send AT Commands instead of passing through serial

When I send any commands to the HM10 BLE Bluetooth module, it sends the commands through bluetooth instead of the HM10 module processing the command. For example, I expected to send AT and have the module respond with "OK", but it sends the text…
seabass2020
  • 1,093
  • 14
  • 12
1
vote
2 answers

HM-10 and Arduino - Sending AT commands with no line ending from code

I need to use HM-10 with Arduino Uno or Nano. I'm not able to figure out how to send AT commands and read the reply. The commands work from serial monitor, but not from code. Here's what I've tried so far: #include SoftwareSerial…
Dushyant Bangal
  • 6,048
  • 8
  • 48
  • 80
1
vote
1 answer

Cannot read message from HM10, writing works. (receiving and sending data by bluetooth)

I am currently trying to create Arduino based device that uses bluetooth communication (HM10). I've connected HM10 to arduino by SoftwareSerial.h and I've connected Arduino to PC via USB, I am using a serial monitor to communicate between board and…
Kowalski Paweł
  • 594
  • 1
  • 6
  • 27
1
vote
1 answer

iPhone hm-10 communication. the ble device isn't listed in iPhone

Hello all am trying to pair HM-10 ble Module with an iPhone but the ble device isn't listed in iPhone while searching . but while trying on an android device i can pair and communicate withe module . anyone please help me whether anything i should…
1
vote
3 answers

Can I read iBeacon data using Arduino?

I am using an HM-10 module and Arduino UNO. My requirement is to read data from ibeacons near me using Arduino. Is it possible? I have not been able to find any articles on this. All articles talk about connecting your android phone with arduino.…
vik-y
  • 449
  • 2
  • 5
  • 14
1
vote
2 answers

iOS Core Bluetooth BLE Security with Hm10 Peripherial

Can someone suggest if it is possible in BLE communication to authenticate the central from peripherial before connection is established? Example: 1) Peripherial Advertises continuously 2) Central discovers Peripherial and sends connection…
1
vote
2 answers

Virtual serial port over BLE + ios?

AFAIK iOS 7 supports BLE but it does not support SPP. Any chance to have virtual serial port on iOS just like it's UART to send bytes to BLE module and receive bytes from BLE module? I've purchased cc2540 and cc2541 TI's ble modules, will they work…
4ntoine
  • 19,816
  • 21
  • 96
  • 220