So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Jens001
#70186 Hi everybody,

I am in the very beginning with my first projects about ESP8266. Currently starting with a project - "presence recognition" via bluetooth. I would like to setup a Wemos D1 mini (V2.2) with HM-10 in order to find out if certain Siemens Bluetooth Tags are present or not.

The HM-10 is connected to the Wemos and the LED is blinking Red. So far I have it connected to Pin 5 and 6 which somehow works - but should not be correct. The serial monitor shows first BLE devices in the near.

My problem is, that I do not know on how to connect the HM-10 with the Wemos in the right way.

Following soruce code is used to connect both devices

#include <SPI.h>
#include <SoftwareSerial.h>
// Pins fuer Softserial definieren
SoftwareSerial bluetooth(5, 6); // TX, RX


As read in other internet sources, it must be connected as follows

Wemos TX <-> HM-10 RX
Wemos RX <-> HM-10 TX

But how can I call the Software Serial with TX and RX in the right way - what are the PIN numbers ?

Does somebody know on how to set this up correctly? And why is the HM-10 seemingly not getting a proper connection - since the red LED is blinking.

I would be happy about any further hint - thanks in advance.

Jens