Information about how to connect modules can be seen on 'Connection.png'. Just download or copy/paste code from the '.h' and '.c' files if you want to change the code. Or download only the '.hex' file ...
To monitor the moisture content of the soil, the soil moisture sensor is frequently used in smart agriculture or other garden automation projects. It has four pins, of which two, labeled Vcc and Gnd, ...