I’ve recently embarked upon a project that I’ve wanted to do for a while. My overall plan is to have 3 planting shelves; each will have its own soil moisture sensor, water pipe and LED lighting. The basic premise of the project is that the LEDs will turn on for a certain amount of time each day; this is the simple part of the project. However, the second part of the project is to read the soil moisture sensors periodically, and then water each tray if required. Watering will be done via relay activation for an individual tray if the moisture level is too low.
After some research, I learned there is no built in analogue input on the raspberry pi. This led me here - to a device that looks perfect for my project.
I am aware that this project may be better suited for an Arduino, or a device such as the NodeMCU as the computational requirements are not too demanding, it doesn’t require WiFi and is far easier to get analogue inputs. However, I have virtually no experience with programming in C, but have much more experience in Bash scripting. In other words, the availability of a familiar programming language drives the decision to use the Raspberry Pi.
Here are the parts I am going to order:
Below, I have attached a schematic of how I think it should all be wired up at the moment. I would really appreciate it if someone could look over the diagram and let me know if it looks okay. One of my main concerns is whether it will be okay to run 3 moisture sensors off the same 5V out pin.