michaeljolley / aviary

Aviary is a soil moisture management system that runs within a Particle mesh network consisting of an Argon and n Xenons.
MIT License
4 stars 0 forks source link

Activate/deactivate solenoid valve to water the planter box #11

Closed michaeljolley closed 5 years ago

michaeljolley commented 5 years ago

Current Situation

We want to open a solenoid valve allowing water into the planter box when the Baby Bird's isHydrated property becomes false. To do this, we first have to identify a solenoid valve to use in our project.

Let's first identify, discuss & find consensus on a solenoid valve to use in this issue's comments .

Once we've identified the valve, we'll want to write some code for it.

In the solenoidControl method of Baby Bird, if isHydrated is false, we turn on the D7 LED. We'll continue doing that but we need to update the method to also activate/deactivate the solenoid valve appropriately.

Goals

michaeljolley commented 5 years ago

Using the Adafruit Plastic Water Solenoid Valve - 12V - 1/2" Nominal