First part of a comprehensive look at the HM-10.
Everything you wanted to know and more.
Arduino, ESP32/8266, Bluetooth, and stuff
Simple Serial Monitor is yet another stand alone replacement for the Arduino serial monitor. It is text only and is far from being a fully fledged terminal app. It does have a couple of features that make it a little better than the regular Arduino serial monitor, especially when used with UART modules like the … Read more
Although Part 2 was more advanced than part 1, part 2 still only sent data one-way, from the Arduino to the Visual Basic app, and the data was very basic. It’s time to spice things up with more complex commands and 2-way communication. Although I used the sketch and Visual Basic app from the previous … Read more
This post continues from Arduino and Visual Basic Part 1: Receiving Data From the Arduino In part 1 data was sent from an Arduino to a Visual Basic app and the data was displayed in a text box. This was all well and good but the app had no idea what the data was, it … Read more
This is the first part of a guide about using a serial port to connect an Arduino to a Visual Basic app running on a PC. Communication is via the regular USB serial UART channel. The first example is fairly simple, data is sent from the Arduino and displayed in a Visual Basic app. This … Read more
Here we create a remote light sensor using a stand-alone HM-10 and a Light Dependent Resistor (LDR). The LDR is connected to peripheral HM-10 pin PIOB. Using MODE1 means we can read the value of PIOB from the Central HM-10 over the wireless connection. HM-10 Set up The two modules have been set to auto … Read more
The HM-10 has 10 pins that can be user controlled, a couple are input only, the others can be input or output. Unfortunately, the pins we can control are not available on the breakout board so we need to attach a connection directly to the actual HM-10 (the small daughter board). Pin function The pins … Read more
Connecting 2 Arduinos using 2 HM-10s is fairly easy. It is straight forward to make a connection and once the connection is established the HM-10s UART layer does all the work for you. The UART layer does mean you have no control over the actual BLE details though. To make a connection, all you need … Read more
I mentioned in the HM-10 introduction that BLE is all about services and characteristics and the HM-10 works by setting the value of a custom characteristic to match the value of the data being transmitted or received. This can be seen when using the BLE Scanner app and an Arduino and the Arduino IDE. This … Read more
HM-10: Add a second Custom Characteristic By default the HM-10 comes with a single custom characteristic under a custom service. A second write only characteristic can be added using the “AT+FFE2” command. “AT+FFE2” was added in firmware 5.45 and extended in version 5.50. The second custom characteristic only has a WRITE property no READ and … Read more
What is a iBeacon You can think of a iBeacon as an electronic light house. It simply sends out timed signal letting people know it is there. When an app on a mobile device constantly finds a signal it can react is a specific way. For example, in a shop a special discount may be … Read more
Have a HM-10 and want a chat with it? You need to know what to say and how to say it. Let’s try talking to a HM-10 with some of the more common AT commands Note: AT commands only work when the HM-10 is not connected to another wireless device. After a connection is made … Read more
Note: Updating the firmware is non-reversable. Once you issue the OK+SBLUP command there is no going back.
There have been a lot of firmware updates since I originally did this post so I thought it was time to have an update. Updating the updating as you will.
It’s been a while since I have done any real in depth tests on new Bluetooth modules. I keep buying them but never find the time to play with them, and fror my own projects I have started to move away from using Bluetooth and into using web apps (ESP82666 and ESP32). For the times … Read more