Skip to content

Instantly share code, notes, and snippets.

@Hermann-SW
Last active December 10, 2019 08:55
Show Gist options
  • Save Hermann-SW/3aac2aff0c478a782e199c1e7f9b7927 to your computer and use it in GitHub Desktop.
Save Hermann-SW/3aac2aff0c478a782e199c1e7f9b7927 to your computer and use it in GitHub Desktop.
stepper Pan Tilt camera system: superglue connection of two 28BYJ-48 stepper motors
// stepper Pan Tilt camera system: superglue connection of two 28BYJ-48 stepper motors
//
// based on https://www.thingiverse.com/thing:204734 by RGriffoGoes
// https://forum.arduino.cc/index.php?topic=647703.0
//
module StepMotor28BYJ()
{
difference(){
union(){
color("gray") cylinder(h = 19, r = 14, center = true, $fn = 32);
color("gray") translate([8,0,-1.5]) cylinder(h = 19, r = 4.5, center = true, $fn = 32);
color("gold") translate([8,0,-10]) cylinder(h = 19, r = 2.5, center = true, $fn = 32);
color("Silver") translate([0,0,-9]) cube([7,35,0.99], center = true);
color("Silver") translate([0,17.6,-9]) cylinder(h = 1, r = 3.5, center = true, $fn = 32);
color("Silver") translate([0,-17.6,-9]) cylinder(h = 1, r = 3.5, center = true, $fn = 32);
color("blue") translate([-3,0,-1]) cube([28,14.6,16.9], center = true);
color("blue") translate([-2,0,0]) cube([24.5,16,15], center = true);
}
// handle
color("red") translate([11,0,-16.55]) cube([4,5,6.1], center = true);
color("red") translate([5,0,-16.55]) cube([4,5,6.1], center = true);
// screw holes
color("red") translate([0,17.5,-9]) cylinder(h = 2, r = 2, center = true, $fn = 32);
color("red") translate([0,-17.5,-9]) cylinder(h = 2, r = 2, center = true, $fn = 32);
}
}
{
translate([0,0,-20.5])
rotate([180,0,0])
StepMotor28BYJ();
}
{
translate([-2.5,0,10])
rotate([0,270,0])
StepMotor28BYJ();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment