We noticed that the Duke sprinkling system wastefully watered the grass even when it was raining.

What it does

The photon pulls data about weather conditions using the openweathermap API, and then decides whether or not to water the grass, depending on the parameters set by the user.

How I built it

We used a Particle Photon to access openweathermap's API and to obtain information about the weather in the current area at the time. The user can set threshold values for a number of variables to determine when they want the system to sprinkle water with a potentiometer directly attached to the photon. This proof-of-concept demo simulates turning the sprinkler on by lighting an LED and powering a servo. The state of the servo is shown on a serial LCD, and the threshold/current weather values are displayed on a web interface.

Challenges I ran into

Figuring out how to use the Particle functions was a challenge, especially because the photon had trouble connecting to the wifi.

Accomplishments that I'm proud of

We have a working prototype with potential for much improvement.

What I learned

I learned a lot about how to use web APIs in order to both receive and send data.

What's next for SprinkleSmart

We can incorporate many more variables so that the user can customize their experience, create a more intuitive web interface, and connect an actual sprinkler to the device.

Built With

Share this project: