Hi,
I have connected my Arduino mega with an HC-05 and am trying to get it to communicate with an ESP32 through Bluetooth. I managed to connect the two and the ESP32 serial is able to receive data from the Arduino mega, but the mega is unable to receive data from the ESP. For the ESP32 code, I am using the example Bluetooth SerialToSerialBTM code. On the Arduino side, I am using software serial. I have tried different combinations of pins (2 & 3, 4 & 5) and it doesn't seem to make a difference. I also tried using hardware serial (pins TX1 and RX1) - the Arduino mega and ESP32 connected but didn't receive data from either.
I would appreciate and help or guidance to figure out the communication between the two.
8 posts - 3 participants