I’m currently working on designing a soil monitoring system for my garden, and I’m having some difficulties in properly connecting an NPK, pH, and EC soil sensor to my NodeMCU board using the Modbus protocol. I’m reaching out to you all for assistance and advice on how to effectively utilize this sensor with NodeMCU.
The goal of my system is to continuously monitor the levels of nitrogen (N), phosphorus (P), potassium (K), pH, and EC in the soil to adjust fertilization and ensure optimal conditions for plant growth. The soil sensor I have supports the Modbus protocol, and I want to connect it to my NodeMCU board for data collection and analysis.
Is there anyone here with experience in connecting NPK, pH, and EC soil sensors to NodeMCU via the Modbus protocol? How should I configure the Modbus module on the NodeMCU board, and what steps are involved in retrieving data from the soil sensor using this protocol?
I would greatly appreciate it if you could share your knowledge and expertise in this field. If you have any tips, instructions, or recommendations regarding connecting NPK, pH, and EC soil sensors to NodeMCU via the Modbus protocol, I would be incredibly grateful to hear them.
Thank you in advance for your involvement and assistance. I’m counting on your valuable insights and support!
I’m curious if any further development has been made on this? Im trying to figure out how I can monitor the pH of my soil with HA. Ive been doing a lot of searching, but most of what comes up is about moisture sensors, not anything pH. Thank you in advance.
I’ve been working on a little project to monitor soil nutrients, pH, moisture, and temperature using an ESP32 and the NPKPHCTH-S probe. It’s all set up with ESPHome and supports different plant profiles with real-time sensor data on a touchscreen.
I thought it might be cool to share in case anyone’s interested or working on something similar. You can check out the code and setup on my GitHub: GitHub Repository.
Feel free to take a look, use it, and let me know if you’ve got any feedback or ideas for improvements.