I am making a Soil Analysis system with an Arduino Uno, but I have run into a problem and was wondering if /r/learnprogramming could help!
The moisture sensor section of my code will not output the data to the Serial Monitor in Arduino 1.7.1 IDE. I am not sure why it's not working. Running the moisture sensor code by itself works, and I just copied and pasted that code into my combined code file since I'll I am running 4 sensors at once with my Arduino Uno.
These are the four values I need to output data on one baud rate:
- pH value
- EC
- DHT temperature reading
- Moisture Sensor Value
I am currently missing Moisture Sensor Value when I run Combined1.ino
Here is the Combined1.ino code of the code from four sensors together that's uploaded to the Arduino:
Combined Code Link
Moisture Sensor Link
Any help would be much appreciated!