![]() If this device (HM-10) is meant for serial communication, and clearly it works on Android (and most likely on iPhone) I wonder why nobody bothered to implement this functionality for Windows? Still, that would only allow sending, but not receiving. I can find the device in the BT LE Lab on the Windows machine, see the characteristics and services, but none of them resembles that "Unknown Characteristic" that would have "Writing" edit line for sending data. I have only found a page discussing talking to Reflowduino claiming that the same procedure works for HM-10: Now my question is - can this kind of serial connection be done from Windows PC? (In fact I am using SoftwareSerial to utilize different pins, but it does not matter). ![]() Characters typed on the terminal are transmitted to Arduino's UART Rx pin, and characters sent from Arduino's UART Tx pin are transmitted and shown in the Android app. It works as expected - like a usual serial terminal. ![]() Now, when using Android phone, I can nicely connect to Arduino using this module with Arduino Bluetooth Control (HM-10 Module) Android app. That is, the Windows is clearly capable to talk to this device, explore its services, etc. ![]() Yet, on a PC with BT4.0 support, the device can be paired (with PIN 123456 instead of traditional 1234), and its services can be explored with the BlueTooth LE Lab software. However, the BLE does not support the traditional RFCOMM serial protocol that creates "virtual serial port" service when the BT device is connected on Windows. On the side of the Arduino, it works like a usual Bluetooth 2.0 serial modem - connects to Rx,Tx pins to transmit data. The low-cost BlueTooth 4.0 module that connects over UART to Arduino (the default device name is MLT-BT05), usually branded as something like "BLE 4.0 Bluetooth HM-10 CC2540 CC2541 Serial Wireless Module Arduino Android IOS" is a BLE (BlueTooth Low Energy Device).
0 Comments
Leave a Reply. |