My first attempt to design, program and build a self watering planter.
This device has a soil moisture sensor to detect when the plant needs to be watered. It also has an air quality sensor, a dust sensor, temperature, humidity and atmospheric pressure. With all collected data being displayed on a OLED. In addition the data is also sent to the cloud, where it is saved. I used io.adafruit.com for cloud storage. this allowed me to view the data remotely. grafting it over any selected time frame (for the project it only displays the last day)
Depending on the reading from the soil moisture sensor, a pump can automatically water the plant, or from the cloud dashboard you are able to manually water the plant by clicking a button.
For the processor I used a particle argon, and wrote our code in C++ using visual studio code. I wrote the code for each sensor, then for the pump. Once I was collecting data I began writing the code to send it to the cloud, the OLED and the serial monitor.
I then choose to 3D print a stand to hold all of the electronics and mount the display on top. I had hoped for it to stand on its own over a water reservoir while holding the flower pot on top. My design turn out to be to flimsy. If I was to redo this I would of made the supports stronger. the sides are mesh so that I could screw all of the components to the side of the enclosure