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

How do I connect to a HM-10 BLE module?

I have been unsuccessful in connecting to an HM-10 BLE device from my iPhone for a couple of days. I am using Swift 3 on XCode 8. I have tried using retrieveConnectedPeripherals but it seems that the HM10 is not connected. I looked at the…
Gerald
  • 109
  • 9
0
votes
1 answer

How can I receive data from an HM10 on another Arduino?

Link to set up of arduino's I am a beginner in things like the Arduino. I tried to set up a BLE HM10 connection between 2 Arduinos. I connected the BLE modules to my FTDI cable and set them as master and slave. They connect instantly when I power…
hekumi
  • 1
  • 2
0
votes
1 answer

Bluetooth HM-10 in central mode bonding with another bluetooth device

I have a bluetooth HM-10 configured in central mode. I have successfully connected it to another bluetooth device (a hexiwear bluetooth wearable). The problem now is that the hexiwear requires me to provide a 6 digit pin before it will bond with my…
Jackson Ng
  • 368
  • 2
  • 16
0
votes
0 answers

didDiscoverPeripheral not called on ios in background when searching for HM-11

I built out my application using the Apple BLTE Transfer example https://developer.apple.com/library/content/samplecode/BTLE_Transfer/Introduction/Intro.html and modified it to try to connect to my HM-11 chip that is running as an iBeacon. In the…
Davis
  • 1,161
  • 7
  • 8
0
votes
2 answers

Why HM-10 doesn't send an OK if i send AT from an MSP430 Launchpad?

I'm trying to set up an UART communication with a HM-10 chip on a Texas Instruments MSP430 Launchpad, but I ran into a very elementary problem. What I want to achieve is to send an "AT" through UART to HM-10, and receive an answer for that. By the…
boomkin
  • 362
  • 2
  • 14
0
votes
1 answer

sending data to bluetooth module to be read by arduino rom iOS swift 3

If i want to send data to a bluetooth module, which is connected to the Arduino, what code lines are specifically the ones I need to take notice of. I want to send something like, the number '75' to the bluetooth module and the Arduino will read…
Tejkaran Samra
  • 96
  • 1
  • 14
0
votes
2 answers

HM-10: maybe some AT commands are not implemented?

I'm developing a project with PIC dsPIC33 connected via serial port to the HM-10 device. I send to the device AT commands but it seems that some of AT commands are not implemented in the HM-10 firmware. In detail: AT+RESET - > OK+RESET : it…
Ferrari
  • 75
  • 1
  • 11
0
votes
0 answers

HM10/11 BLE to Android Phone connectivity

First off I would like to ask if it is possibe to send a stream of data from an arduino with HM11 to an android phone via bluetooth. The data contains ultrasonic sensor's readings, orientation, battery level, etc. My android phone will be displaying…
xchan
  • 37
  • 5
0
votes
0 answers

Signal Strength of connected Bluetooth module from Android Application?

I want to know the connection strength of connected HM-10 Bluetooth module from my android. I cannot find any answer? Is it possible or not? I checked this : How to Get bluetooth signal strength (rssi) of connected bluetooth devices? But that…
navjosh
  • 187
  • 2
  • 2
  • 13
0
votes
1 answer

Bluetooth HM-10 android bonding

Need advice/help on what I might be doing wrong. What I have: Plugged in a HM-10 module to my Arduino. -Factory Default settings except connection type: --Using AT+TYPE3 (3:Auth and bond ). Android LG G4, running Android 6 (Marshmallow)…
Mark Szcz
  • 11
  • 1
  • 1
0
votes
1 answer

Hm-10 Bluetooth Module enter in undiscoverable state after 5 seconds of turning it on

When I turn on Hm-10 Bluetooth module, it's LED blinks for 5 seconds and then it become still ( the led is always on without blinking ). At these 5 seconds I can find it when I make a search for nearby Bluetooth devices and I can enter to AT command…
MBS
  • 673
  • 2
  • 16
  • 48
0
votes
2 answers

Use HM-10 to detect Estimot beacon distance

I would like to make my Arduino+HM-10 detect Estimote beacon distance without using phone connection but I’m not sure it’s even possible. Can I detect the beacon only with HM-10? Can I estimate the distance between my Arduino+HM-10 and the beacon?…
tatianag
  • 165
  • 2
  • 14
0
votes
1 answer

Writing data to bluetooth peripheral fails

I have a program running on a Windows PC which sends/receives data over a COM port. The data is transmitted over Bluetooth via a HM10 Bluetooth module. I'm able to discover the peripheral, connect to it, discover its services and characteristics all…
Isuru
  • 30,617
  • 60
  • 187
  • 303
0
votes
1 answer

Connect sensor or LED to HM-10 Bluetooth Module

Can I connect a sensor or a LED to HM-10 Bluetooth Module without Arduino? If yes, how to upload a code to it ( not an AT commands)?
MBS
  • 673
  • 2
  • 16
  • 48
0
votes
1 answer

HM-10 AT Commands: Using Beacon Way to Broadcast Sensor's Data

I try to use beacon(HM-10) to broadcast my sensor's data, but there is a problem that I use a loop to write AT commands, after a while, it doesn't respond anything. Here is the part of the code: String pre = "AT+MARJ0x"; int sensorData = 0; loop…
Flowerhop
  • 41
  • 1
  • 4