Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
commit
8b7aff4eb1
|
@ -3,6 +3,7 @@
|
|||
* Prototype
|
||||
* Arduino Duemilanove
|
||||
* L298N shield V03
|
||||
* https://traction-design.be/home/arduino-l298n-shield-v03-from-flamingoeda-com/
|
||||
*
|
||||
* Pin 13 = motor A or coil A +
|
||||
* Pin 12 = motor A or coil A –
|
||||
|
@ -24,12 +25,12 @@ void setup() {
|
|||
|
||||
void loop() {
|
||||
clockwise();
|
||||
set_speed(50);
|
||||
set_speed(250);
|
||||
delay(5000);
|
||||
brake();
|
||||
delay(2000);
|
||||
counter_clockwise();
|
||||
set_speed(100);
|
||||
set_speed(250);
|
||||
delay(5000);
|
||||
brake();
|
||||
delay(2000);
|
||||
|
|
Binary file not shown.
11
takeup.scad
11
takeup.scad
|
@ -64,10 +64,7 @@ module magnetic_coupling (MAGNETS = 4, MAGNET_D = 8.1, MAGNET_H = 2.5) {
|
|||
scale([1.1, 1.1, 2]) motor_shaft();
|
||||
//magnet voids
|
||||
for (i = [0 : MAGNETS - 1]) {
|
||||
rotate([0, 0, i * (360 / MAGNETS)]) translate([0, OFFSET, H - MAGNET_H + 1.01]) {
|
||||
cylinder(r = MAGNET_D / 2, h = MAGNET_H, center = true, $fn = 50);
|
||||
cylinder(r = 2 / 2, h = 20, center = true);
|
||||
}
|
||||
rotate([0, 0, i * (360 / MAGNETS)]) translate([0, OFFSET, H - MAGNET_H + 1.01]) cylinder(r = MAGNET_D / 2, h = MAGNET_H, center = true, $fn = 50);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -126,7 +123,7 @@ module mount_plate_void () {
|
|||
|
||||
module mount_plate () {
|
||||
Z = 1.5;
|
||||
D = 7.5 + 1.1;
|
||||
D = 7.5 + 1.5;
|
||||
|
||||
MOUNT_X = 40;
|
||||
MOUNT_Y = 55;
|
||||
|
@ -141,7 +138,7 @@ module mount_plate () {
|
|||
translate([-MOTOR_MOUNT_X / 2, MOTOR_MOUNT_Y / 2, 0]) motor_mount_void(D, Z);
|
||||
translate([MOTOR_MOUNT_X / 2, -MOTOR_MOUNT_Y / 2, 0]) motor_mount_void(D, Z);
|
||||
translate([-MOTOR_MOUNT_X / 2, -MOTOR_MOUNT_Y / 2, 0]) motor_mount_void(D, Z);
|
||||
translate([-(46 / 2) + 15, 0, 0]) cylinder(r = 13.9 / 2, h = 20, center = true, $fn = 60);
|
||||
translate([-(46 / 2) + 15 + 1, 0, 0]) cylinder(r = 15 / 2, h = 20, center = true, $fn = 60);
|
||||
translate([MOUNT_X / 2, MOUNT_Y / 2, 0]) mount_plate_void();
|
||||
translate([-MOUNT_X / 2, MOUNT_Y / 2, 0]) mount_plate_void();
|
||||
translate([MOUNT_X / 2, -MOUNT_Y / 2, 0]) mount_plate_void();
|
||||
|
@ -171,7 +168,7 @@ module debug_assembled () {
|
|||
|
||||
//
|
||||
|
||||
PART = "magnetic_coupling";
|
||||
PART = "mount_plate";
|
||||
|
||||
if (PART == "slip_coupling") {
|
||||
slip_coupling();
|
||||
|
|
Loading…
Reference in New Issue