Integrating Inputs in FlowBotics using SSC32 servo sequencer

I have a SSC-32 board connected to a servo arm. I want to connect a analog light detector to the board. I want the arm to run through a set portion of program, determine if there is light and depending on that either repeat the first step or proceed to the next one. Is there a way to integrate the inputs from the board while using the servo sequencer built-into FlowBotics Studio to create essentially an ‘if’ statement from the light sensor’s voltage? Thanks!

Hi,

The sequencer included in the FlowBotics Studio examples does not currently support conditional branching in the sequence (or any branching). This feature could be implemented by modifying the modules of the sequencer. But, this would not be a trivial modification. You might be better off coding this in FlowBotics Studio without the sequencer.

Whichever way you choose to go, keep us updated. This sounds like an interesting idea!

Sincerely,

Hmmm, darn. I am new to FlowBotics Studio and not really sure how to go about coding that. I skimmed over some of the Atom language for the arm and it seems servo positioning is kind of straight forward, but I don’t know how that will translate into the FlowBotics Studio coding. Is there somewhere that explains has a good demo of how the programing can be created to work with external devices? Thanks!

You can find some more information and a few simple tutorials here. You can also use the forum to ask questions and find information.