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

Xcode, HMSoft HM-10 BLE connect to one module directly without choosing UUID

ive bought some HM-10 Modules to talk to Arduino with an iOS-App. Ive tried the examples and they worked but in every app you have to choose the device to talk to. My plan is to control an RGB-Light with that modules and the code already works on…
PmK
  • 11
  • 3
0
votes
0 answers

HM-10 connect to long UUID

I have two HRM device one of them I am able to connect to it by setting the AT+UUID0x180D and AT+CHAR0x2A37 which they are the default UUIDs to subscribe to the HR values, and I follow the commands with AT+CO1 command and I start receiving the HR…
0
votes
0 answers

Arduino HM-10 Bluetooth with iOS : Connected, but it doesn't send values

I'm trying to make an iOS (SwiftUI based) app to connect the arduino and send the current latitude value of ios to arduino. I successfully made the view that allow user to select the bluetooth device, and the UUID/name of the device is successfully…
Cyan
  • 181
  • 11
0
votes
0 answers

Creating new services other than the predefined ones using HM-10 BLE module

I'm working on a BLE project (bike tracker) using HM-10 module and i need to send over BLE some data (speed, location, time, date, battery level). I did some research and I found out that i can use these 3 services to send the data : Location and…
sofien
  • 1
0
votes
0 answers

HM-10 (master mode) how to write in a slave descriptor?

I'm using a HM-10 (Version 608) in master mode with a slave (Micro:Bit board). Bluetooth GATT is working with SERVICE -> CHARACTERISTIC -> DESCRIPTOR It's possible to write in a slave CHARACTERISTIC (with a 128bits UUID), corresponding to the "nRF…
zian
  • 3
  • 2
0
votes
0 answers

How can I read data in Swift that I am writing to an HM-10 bluetooth module connected to an Arduino?

I am coding an iOS app to read data transmitted by an HM-10 module connected to an Arduino. When I write an int value to the HM-10 module, I receive data in the app, but it is formatted as data, as opposed to an integer. Online, I have seen…
0
votes
0 answers

HM-10 BLE Module - connect to other Devices

first of all: What i am trying to do is only for private interest. I'd like to connect a AT-09/HM-10 BLE-Module with Firmware 6.01 to another device which provides also a BLE Module, which it is not based on the CC254X-Chip, I am able to communicate…
Stef
  • 13
  • 5
0
votes
1 answer

Arduino and pyserial and ble

Actually i can send data from pyhton(pyserial) to arduino through cable,but i want to do that with hm-10, normally bluetooth module which is the hc-05 ,hc-06 u can find port, With wire or wirelles(hc-05) com7 port: arduino = serial.Serial("COM7",…
0
votes
2 answers

Problem with BAUD rate in hm-10 bluetooth module

I bought an hm-10 bluetooth ble module , and connected it to my arduino nano , when the hm-10 module was set to 9600 baud rate it worked just fine, The problem is that i've changed the baud rate of the hm-10 module to 38400 with the arduino ide…
francis
  • 71
  • 1
  • 1
  • 5
0
votes
1 answer

HM-10 not found by android device after setting IMME to 0

I am new to using the HM-10, and I am trying to make it connect to my Android device. With +IMME set to 0, my phone picks up the HM-10. If I connect to it through an app that I am making, a connection is successful. After connecting once, however,…
beans
  • 15
  • 5
0
votes
1 answer

Communication between Arduino Nano and HM-10 BLE controller is not working

I want to check if communication is working between my SerialMonitor in Arduino IDE and BLE controller. I typed command AT to my SerialMonitor and it suppose to return OK response but nothing happened. This is scheme what I used: Code: #include…
martin1337
  • 2,384
  • 6
  • 38
  • 85
0
votes
1 answer

Convert from Nsnumber to data to send rssi to bluetooth module IOS swift 4

I found the received signal strength of iPhone to the bluetooth 4.0 module that I am using, but it is in the format of NSNumber and the writeValue() method only takes values of type Data. How would I go about converting from NSNumber to type Data?…
0
votes
1 answer

How to communicate with HM-19 BLE Module and scan using ultrasonic sensor

I am working on my senior project for school, and part of what I need to do is use an HM-19 Bluetooth 5.0 module to connect to another Bluetooth 5.0 module and establish a master slave connection. I can do that just fine, but when I include the code…
0
votes
1 answer

HM-10 Arduino Bluetooth Module Not Working

I am currently trying to set up my HM-10 Bluetooth module with my Arduino and when I do this I am faced with two problems. When I connect the Bluetooth module I cannot upload any code to the Arduino as it just gets stuck on "uploading" forever until…
0
votes
0 answers

HM-10 as BLE Listener: setting up a brief connection from it

I need to estabilish a brief communication between a BLE master and a BLE peripherical device. Until I have to use the mobile phone I have no problems, since I select the bluetooth device from Android, I can connect to it and then I can receive data…
max_s
  • 83
  • 1
  • 8