Hi everyone! I connected my HM-10 BLE (Bluetooth Low Energy) module to my Arduino Uno and then paired it with my computer (windows 11), but I don't find any COM port on the Arduino IDE to send my commands to the module. Every tutorial on youtube explains how to connect HM-10 to a phone, but no one has a tutorial about connecting it to a PC. Can someone help me?
USB-serial (FTDI, eq) Adafruit CP2104 Friend - USB to Serial Converter - YouTube
HM-10 Bluetooth Module Pinout, Applications, Interfacing with Arduino (microcontrollerslab.com)
You will not be using the IDE monitor and the usb COM port to send bluetooth commands to the HM-10. The IDE COM port is to communicate with the Arduino not the bluetooth module.
To send commands over Bluetooth to the HM-10 you will be using a terminal program to send out over the serial port of the paired bluetooth adaptor on the pc and not any usb/serial port of the monitor/Arduino connection.
Thanks!
Thank you!
I've read the article and have to admit that it isn't fully comprehensible for me. I have made the circuit from the site and uploaded the code. Now they say this:
"First open the Arduino com port then break the connection between the HC10 and another Bluetooth device, which can be done by three methods." What is this 'another Bluetooth device"?
"Button on the board." Do they mean the reset button on the Arduino?
"By restarting the device." Which device?
"After connection break, the device will connect again and it is identifiable from com port. Now enter the command:" Where will it be identifiable? Which com port? In which com port do I have to enter the command?
No screenshots. Nothing to make the tutorial clearer.
What I have done: I made the circuit. Uploaded the code. Pushed the Arduino Uno reset button. Opened the serial monitor while connected to com port 3 (this is the only port that I see to be available, and on which the Arduino Uno is connected. The code had been uploaded on the Arduino via this port.) Then I proceeded in writing the AT commands in the serial monitor, but no messages appeared like in the tutorial.
Is an FTDI needed? Or just optional?
Why are you trying to access command(AT) mode?
What are you trying to change?
I would first try communicate with the HM-10 in data mode. Let the PC make the connection.
Do you have an i-phone to communicate with the HM-10.? It might be an easier way to get started? Why are you using an HM-10? The HM-10 is essentially a substitute for an HC-05 for people without an android phone.
Is an FTDI needed?
I don't think communication with the HM-10 should involve a usb/ttl converter. How is the HM-10 connected to the Arduino?
The goal is to make a drone with sensors connected to the Arduino Uno. The HM-10 BLE module is wired to the Arduino. The information of the sensors is sent to my pc via this module. So, I was just looking at tutorials to get the module connected to my pc and trying to send random data via the module to the pc. I have not succeeded to send any data, nor to put a LED on and off with the module. The reason why I was trying to acces command mode was because it was written in the tutorial shared by @mrburnette.
Because HM-10 is a BLE module, which consumes less power; and I need to build an energy efficient drone.
With jumper wires. These are the pins of the module:
-RXD
-TXD
-GND
-VCC
Confusion:
This is an HM-10
It has Rx / TX & Bluetooth...
To connect Rx/Tx to an Arduino, then the other device (cellphone, PC) connects by Bluetooth.
To connect to an Arduino by Bluetooth, a USB-serial translates the Rx/Tx to USB.
Depending on mode, the HM-10 can be switched through that "convoluted" procedure ... a number of forum posts about this (searchable) seem to indicate that the procedure is often like a vaccination that 'does not taken and must be repeated more than once.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.