New answers tagged hc-05
3
I had the exact same problem and got it to work doing these changes:
I had to add this under my library include statements
#ifndef D5
#if defined(ESP8266)
#define D5 (14)
#define D6 (12)
#define D7 (13)
#define D8 (15)
#define TX (1)
#endif
#endif
and changed
SoftwareSerial BTserial(3, 1); // RX, TX
to
SoftwareSerial BTserial(D5,D6);
I used D5 and D6 on my ...
Top 50 recent answers are included
Related Tags
hc-05 × 156bluetooth × 91
arduino-uno × 54
softwareserial × 21
arduino-nano × 19
serial × 16
arduino-mega × 10
android × 9
hc-06 × 8
servo × 6
led × 5
hardware × 5
esp8266 × 4
c++ × 4
arduino-pro-mini × 4
wireless × 4
arduino-pro-micro × 4
l298n × 4
power × 3
motor × 3
communication × 3
battery × 3
hc-sr04 × 3
sensors × 2
nodemcu × 2