BeagleBone Black code for our smart sprinkler capstone project