-
Final Design:
07/02/2023 at 23:19 • 0 commentsThe whole design is put together by 3D printing parts. There is a long plastic piece on the front of the shut off valve that allows the box to clip onto. The box clips on that piece then extends over the shut off valve. With the arduino and servo being neatly tucked in the box the design is simple and effective.
-
Stop Water Flow:
07/02/2023 at 23:19 • 0 commentsWe decided that we would use a shut off valve that would be turned to turn off the water.
``Picture of shut off valve``
Then put a servo with a star shape that could turn the shut off valve handle 0 to 80 degrees.
‘’Picture of servo on shut off valve’’
The user would put in where they live, what time their sprinkler turns on, and how long it stays on.
This data would be processed by python and output yes if there was rain or no if there wasn’t.
Then the C++ code that was already on the arduino would receive what the python had said, if it was a yes then it would tell the servo to turn 80 degrees and lock for however long the user inputted. Once that cycle was done the python code would once again check the weather and say an output to the arduino accordingly.
We make the set up for the user because the whole device can just be screwed on the spigot on one side then the other side will just be the hose that is connected to the person’s sprinkler system. Then they just have to open up our website then fill in 3 boxes, where they live, what time their sprinkler turns on, and how long it stays on.
-
Weather Data:
07/02/2023 at 23:18 • 0 commentsWe used a website called OpenWeatherMap which had an API that when we input the city would output if there was going to be rain on that day.