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
2
votes
0 answers

Limit HM-10 (bluetooth 4.0) to just one connection

I have created an application with an Arduino and a IOS app and they're communicating over Bluetooth 4.0 (HM-10). The communication works fine, but I want to limit the 7 possible connections to just one connection. If one device is connected to the…
Rik Wout
  • 21
  • 1
  • 1
2
votes
2 answers

CC2541 (HM10) HID and programming

AIM: use the processor and bluetooth purely on the cc2541 to read from the free pins on the board but outputting in HID format so it could be used as a keyboard. I understand that there are a few offical TI hardware components that usually are used…
2
votes
0 answers

HM-11 BLE Battery Service

How can I include battery information in the IBeacon advertisement packet of HM-11 BLE module. I have tried deploying the Ibeacon mode on HM-10 modules, but on testing the transmitted packets using BLE Android app the battery service seems to be…
2
votes
2 answers

Is it possible to use HM-10 or HM-11 BLE Module with Arduino to communicate with an iOS device (ANCS)?

I would like to build a smartwatch for my iPhone based on the arduino tools and libraries. But I have a problem with BLE: I know there is already a library for the nRF8001 for ancs (https://github.com/robotastic/ANCS-Library) , but I want to use the…
Tym3k
  • 45
  • 2
  • 7
1
vote
1 answer

Raspberry Pi and iOS app communication using BLE

I'm developing an iOS app that should communicate with a Raspberry Pi to send and receive simple data. I've researched a little bit and found out that making this connection using BLE would be the correct way, as my project cannot depend on network…
1
vote
0 answers

BLE data inconsistency with HM-10 and Arduino Nano

We have a project that controls a led strip of 80, that is connected via mobile app. The components we used are as follows: Arduino Nano Board HM - 10 Bluetooth module WS2812b Led Strip On the app, user selects the colors(up to 5), animation…
Elif
  • 141
  • 13
1
vote
3 answers

HM-10 BLE microcontroller connected without PIN

I'm using HM-10 controller to communicate with my Android App. In Arduino console I set pin with command AT+PIN112233 which should be Passkey for BLE device. This PIN was saved to my device but Android phone can connect to this device without any…
martin1337
  • 2,384
  • 6
  • 38
  • 85
1
vote
1 answer

HM-10 pairing with another HM-10 without knowing the MAC addess

I'm trying to figure out, how to connect two hm-10 module, when I do not know the slave MAC address. Imagine you have an electric longboard and lost you remote. You got yourself a new one and now want to pair with the board. In the data sheet I…
LNGPL
  • 11
  • 1
1
vote
1 answer

Write descriptor failed - HM-10 BLE

I have problem with HM-10 BLE module with V705 firmware. When I try to connect to the module with Bluetooth Serial Monitor app(Xiaomi Redmi 5 Plus, MIUI 11.0.2 Global, Android 8.1), I get write descriptor failed error. UUID is 0xFFE0(default). Same…
Pararera
  • 363
  • 3
  • 15
1
vote
2 answers

HM-10 CC2541 Update Service Data 0xB000

This module usually sends in the adversiment data: Is there a way to customize in Service Data with id B000 using arduino? It usually sends this data format: 0x02, 0x16, 0x00, 0xB0 - [reserved], [temperature], [ humidity], [battery]. I wanna be…
Glund
  • 507
  • 1
  • 5
  • 20
1
vote
0 answers

Can not connect HM10 to Android device

I am having problems connecting an Android device to my HM10 with an Arduino. I have managed to connect it with an iPhone, but the problem is when trying with Android. It gets to the function public boolean connect(final String address), which is a…
Linussjo
  • 41
  • 6
1
vote
1 answer

HM-10 BLE not working as iBeacon

I am trying to make HM-10 module (CC2541 chip) into iBeacon. My firmware version is v540. I set the module up using these commands: AT+RENEW Restores factory defaults AT+RESET Reboot HM-10 AT Wait for OK AT+MARJ0x1234 Set iBeacon Major number to…
Mark
  • 9
  • 1
  • 5
1
vote
0 answers

Xcode - HM10 Bluetooth BLE app

I had a question regarding a specific task I which to fulfill involving my iPhone application and the Bluetooth HM-10 module. With our app we have an established connection with the module and we have a text box that can send the value typed by a…
1
vote
2 answers

How do I fix HM-10 BLE module from returning odd characters?

I am trying to send data to an Arduino via a HM-10 module(BLE) from a MacOS device and am following this guide. For my wiring, I have done the following: I have the RX pin on the HM-10 hooked to the TX on the Arduino; the TX pin on the HM-10 to the…
1
vote
0 answers

Can't connect HM10 to Android device

I am currently developing a device that uses a Pro Micro micro-controller, an HM10 ble module (I checked and this isn't a BLE-CC41A), and several Android devices. My issue is the connection between the Android and the HM10. A few days ago the…