天道酬勤,学无止境

hm-10

AT commands to hm10 over bluetooth with android

Question 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???? Answer1 if any one trying this in future, the answer is yes we can just send a string to hm-10 as "AT\r\n" and it will respond with OK.

2022-05-15 02:25:26    分类:技术分享    android   bluetooth   bluetooth-lowenergy   at-command   hm-10

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

Question 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.h> SoftwareSerial blueToothSerial(0,1); // RX, TX void setup() { // Open serial communications and wait for port to open: Serial.begin(115200); Serial.println("Serial began"); blueToothSerial.begin(9600); delay(2000); } void loop() { Serial.println("looping..."); blueToothSerial.print("AT+DISC?"); delay(5000); if (blueToothSerial.available()) { Serial

2022-02-12 00:32:16    分类:技术分享    c   arduino   bluetooth-lowenergy   at-command   hm-10

Can I read iBeacon data using Arduino?

Question 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. Any idea? Answer1 Yes, it is possible. I'm using an HM-10 as an iBeacon detector (linksprite.com BLE 4.0 shield), and it is successfully detecting a RadBeacon running in iBeacon mode. Firmware on my HM-10 is version 540. Before it would detect the RadBeacon, I had to send the HM-10 the following commands: AT+ROLE1 AT+IMME1 AT+RESET Then I

2022-02-09 01:32:51    分类:技术分享    arduino   ibeacon   hm-10

HM10 ble change characteristic value AT command Arduino

Question Can anyone help me with the AT command to write characteristic value, Or how to send data from arduino to another ble device using Hm10 module. The HM10 after sending the AT+START, does advertise packets, and can detect the service and characteristic, But the characteristic value is the default 0x00, How can I change that? Have checked the data sheet multiple times but can not find an AT command that is capable of doing the same. UPDATE: Similar problem with setting the HM10 in Central Mode: Central Mode Setup! 1) AT+ROLE1 - Set up to Central Mode 2) AT+IMME1 - Start from RESET 3) AT

2021-09-16 20:03:18    分类:技术分享    arduino   bluetooth-lowenergy   at-command   characteristics   hm-10

How to use BLE Shield based on HM-10 bluetooth module?

Question I'm a new bie on arduino projects. I would like to ask you for some help. I bought a BLE Shield for Arduino from ( http://imall.iteadstudio.com/development-platform/arduino/shields/im130704001.html ). They made this shield using Hm-10 Bluetooth module(http://www.jnhuamao.cn/bluetooth.asp?ID=1). Itead Studio has no sample codes using this shield. I have no idea on how to program it or send AT commands from Arduino. I read the “AT commands” at the data sheet (ftp://imall.iteadstudio.com/Shield/IM130704001_ITEAD_BLE_Shield/DS_IM130704001_ITEAD_BLE_Shield.pdf) and I tried to send "AT

2021-06-11 04:26:20    分类:技术分享    bluetooth   arduino   bluetooth-lowenergy   hm-10