The Servos hardware block allows you to connect up to six DC (4.8v – 6v) servo motors . All motor power must be provided externally via a separate power supply. Typically 5v – 7v DC. (see Adafruit, Sparkfun, Digikey). DC (4.8v – 6v) servo motors can be purchased from many sources. See Adafruit, Sparkfun, Servocity and many others. Manufacturers include Futaba, Towerpro, and others. Servos can typically be positioned over 180 degrees only (half rotation). It is possible to also buy continuous rotation servo motors.
In your stack blueprint, to set the servo position, send the input terminal an integer between 0 and 1,000.
Servos Connector – Looking into back of block
All motor power must be provided externally via a separate power supply. Typically 4.8 – 6V DC. (see Adafruit, Sparkfun, Digikey)
Servo connector plugs in vertically. For many DC servos, the orange or white wire would go to the top pin e.g. S1
For advanced users, the full blocks detail spec sheet with all properties and terminals.
Block properties and terminals
Properties
Type (uuid): Module Type
Version (int): Firmware Version
Terminals
“Properties” – 0 in (List or Property Name string): To set property. Send property name, Value. For example [’N’,’netname’].
To get property, just send property name. For example. ’N’
“PResponse” – 0 out (List or True) : On set, responds with True when done.
On get, responds with list. For example [’N’, ‘netname’].
“Servo 1” – in (int): 0 – 1000 controls servo position.
“Servo 2” – in (int): 0 – 1000 controls servo position.
“Servo 3” – in (int): 0 – 1000 controls servo position.
“Servo 4” – in (int): 0 – 1000 controls servo position.
“Servo 5” – in (int): 0 – 1000 controls servo position.
“Servo 6” – in (int): 0 – 1000 controls servo position.
Refer to documentation on many other topics at interstacks.com/knowledge-base.
Please email info@interstacks.com with any questions.