Pin bindings allow electrical signals from a button or sensor to trigger a FarmBot action or sequence. For example, a red button could be used to trigger the use FarmBot’s buttons how-to guide.action as recommended with FarmBot Genesis v1.4+ kits. For practical examples, see our
To add a pin binding, first select the Raspberry Pi GPIO PIN NUMBER that your button or sensor is connected to (open the GPIO diagram for assistance by pressing the icon). Next, choose the type of BINDING (either
Action) and then select the TARGET (the sequence or action desired). Press to save the pin binding.
Upon saving a pin binding, the action or sequence you chose will be triggered once automatically so that you can verify the result.
Binding to a pin without a physical button and pull-down resistor connected may put FarmBot into an unstable state.
- Sequences must be synced to the device before use in a pin binding.
- Buttons should be connected between the selected pin and +3.3v.
To delete a pin binding, press thebutton.