BMduino: Soil moisture sensor conflicts with HC-05 Bluetooth, causing write-only behavior
I’m working on a small project using a BMduino board, and I ran into an issue after integrating a BME34M101 soil moisture sensor.
Once the soil moisture sensor is connected, my HC-05 Bluetooth module can still send data (write) but can no longer receive any data .
Both the HC-05 and BME34M101 use UART for communication, but they are connected to different serial ports, so theoretically they shouldn’t interfere with each other. Could there be any hidden conflict in BMduino’s UART handling?
Has anyone experienced a similar issue, and how did you solve it?
This is my code :
4 Replies
Luis Llamas
ESP32 programming guide in Arduino environment
ESP32 programming guide in the Arduino environment, with the main functions, similarities, and differences with Arduino
Check section on yield
OK, I’ll check that section, thanks!
I tried adding yield() in several places , but I still can’t get the HC‑05 to receive data.
It seems yield() has no visible effect on my setup (BMduino as the main MCU; Wi‑Fi is an external ESP‑12F module, not running my sketch). Did I apply it incorrectly, or is yield() only effective on ESP8266/ESP32 cores?
my mistake - BMduino = uno