Thingiverse

Arduino filastruder filiment guide with servo mount by stefi01
by Thingiverse
Last crawled date: 4 years, 2 months ago
changed it so that a mini servo such as tower pro (SG90) can fit, small bit of filling needs doing as about 0.5 mm to wide, also i used an Arduino sketch with this which operates this at slow speed.
Remember to download the VarSpeedServo.h library.https://github.com/netlabtoolkit/VarSpeedServo
Connections are.
5v
Ground
Pin 9 for the signal (Normally the orange wire)
The Arduino sketch.... will not work unless the Library from the above link is added.
// speed controlled Servo Sweep
// see: http://arduino.cc/forum/index.php/topic,61586.0.html
//
// Michael Margolis 4 August 2011
// edited by http://www.bajdi.com
include
VarSpeedServo MyServo; // servo objects
int servoSpeeds = 1; // sweep speed, 1 is slowest, 255 fastest)
int servoMinPosition = 0; // the minumum servo angle
int servoMaxPosition = 100; // the maximum servo angle
void setup()
{
MyServo.attach(9);
MyServo.slowmove(servoMinPosition,servoSpeeds) ; // start sweeping from min position
}
void loop()
{
// sweep the servos
if( MyServo.read() == servoMinPosition)
{
MyServo.slowmove(servoMaxPosition,servoSpeeds) ;
}
else if( MyServo.read() == servoMaxPosition)
{
MyServo.slowmove(servoMinPosition,servoSpeeds) ;
}
}
Remember to download the VarSpeedServo.h library.https://github.com/netlabtoolkit/VarSpeedServo
Connections are.
5v
Ground
Pin 9 for the signal (Normally the orange wire)
The Arduino sketch.... will not work unless the Library from the above link is added.
// speed controlled Servo Sweep
// see: http://arduino.cc/forum/index.php/topic,61586.0.html
//
// Michael Margolis 4 August 2011
// edited by http://www.bajdi.com
include
VarSpeedServo MyServo; // servo objects
int servoSpeeds = 1; // sweep speed, 1 is slowest, 255 fastest)
int servoMinPosition = 0; // the minumum servo angle
int servoMaxPosition = 100; // the maximum servo angle
void setup()
{
MyServo.attach(9);
MyServo.slowmove(servoMinPosition,servoSpeeds) ; // start sweeping from min position
}
void loop()
{
// sweep the servos
if( MyServo.read() == servoMinPosition)
{
MyServo.slowmove(servoMaxPosition,servoSpeeds) ;
}
else if( MyServo.read() == servoMaxPosition)
{
MyServo.slowmove(servoMinPosition,servoSpeeds) ;
}
}