ESP8266 Wifi module and HC-05 Together

Hello,
I am working on this project on the Arduino Uno wherein I am using both the ESP8266 WIFI module and the HC-05 (CZ-HC-05). I am using serial communication on both devices, but I am having a problem because the UNO has only one hardware serial port. I tried creating two ports using the SoftwareSerial library and send two serial communications one after another on the two devices. It has not worked so far. The WIFI module is operating properly, but the Bluetooth is not working. I just want to know what is a better way to approach this issue. I really appreciate your help. Thank you

Hi guy,
I am working on a very similar problem. Two software serial port, one for the ESP8266-01 and the other one for the HC-05 but I am currently not albe to properly send to a webserver the values received from the BT.
If I comment out the BT.begin(9600) statement and send out fixed values, then the WiFi module send these values correctly to the web server.

Have you found a solution for your problem?

Thanks in advance,
Filippo

filippodamuzzo:
Hi guy,
I am working on a very similar problem. Two software serial port, one for the ESP8266-01 and the other one for the HC-05 but I am currently not albe to properly send to a webserver the values received from the BT.
If I comment out the BT.begin(9600) statement and send out fixed values, then the WiFi module send these values correctly to the web server.

Have you found a solution for your problem?

Thanks in advance,
Filippo

I suggest you re-read https://www.arduino.cc/en/Reference/SoftwareSerial

Try using AltSoftSerial and SoftwareSerial rather than 2 copies of SoftwareSerial. Also use a low baud rate such as 9600.