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
[ ] Identify and obtain consensus on the solenoid valve we'll be using
[ ] Within the solenoidControl method of Baby Bird, we need to activate/deactivate the chosen solenoid valve
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, ifisHydrated
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
solenoidControl
method of Baby Bird, we need to activate/deactivate the chosen solenoid valve