Just to add more detail to how our garden grows…
Using my plant atomics, I created a series of sequences to water. Because I want the FarmBot to water and move as efficiently as possible, and because we may, over time, want one row of crops watered at a different frequency, I created two “sub-sequences” for each row that instruct FB to go in a set direction for each row and a “Light Water” sequence.
Example:
“Light Water”:
“Turn Water On”
“Wait 2000 ms”
“Turn Water Off”
Direction #1 (“Water Onions Row #01 Onion #01 To #42”):
“Move To Row #01 Onion #01”, “Light Water”, Move To Row #01, Onion #02”, “Light Water”…
Direction #2 (“Water Onions Row #01 Onion #42 To #01”)
“Move To Row #01 Onion #42”, “Light Water”, “Move To Row #01 Onion #41”, “Light Water”…
And…
Direction #1 (“Water Carrots Row #02 Carrot #01 To #42”):
“Move To Row #02 Carrot #01”, “Light Water”, “Move To Row #02, Carrot #02”, “Light Water”…
Direction #2 (“Water Carrots Row #02 Carrot #42 To #01”):
“Move To Row #02 Carrot #42”, “Light Water”, “Move To Row #02 Carrot #41”, “Light Water”…
Now I can create a sequence that uses these sub-sequences based on the ending position of the last row:
Main Water Sequence #01:
“Turn On Lights” (FB is at a school - This lets the kids know it is about to start)
“Find Home” (Set everything to 0, 0, 0)
“Get Watering Nozzle”
“Water Onions Row #01 Onions #01 To #42”
“Water Carrot Row #02 Carrot #42 To #01”
… (do all rows)
“Find Home” (reset to 0, 0, 0 so next step has good registration)
“Return Watering Nozzle”
“Turn Off Lights”
End
Next, I created Farm Events that call these mega-sequences each day (or every other or 2x a day or whatever)
Over time, if we decide we want row one watered every other day, I would then only need to remove that row from a sequence, replace any rows after it with the other direction for those rows, save it as a new sequence and then replace that event in the Farm Designer.
Ok, if you got this far and I have not confused you (or myself), here are the questions:
1). Is this a common method folks use? (or similar)
2). Can anyone show a more efficient way to do the same? This method produces a lot of sequences for us. We have 15 rows and 310 crops - do the math and you (we) end up with many, many sequences.
Welcome thoughts, feedback, ideas, criticism (be nice) or any other commentary…