Loading...

#automation #arduino

Chop Saw Automation (Arduino Powered)

52,242 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Aug 6, 2019

Cutting thousands of these small pieces of aluminum with the help of an Arduino and a couple of stepper motors. They will eventually become brackets to fasten computer monitors to metal enclosures. Here's a quick lil vid on how I did that. The brackets measure .750" x .547" x .125", tolerance is quite decent at + or - .002"

I tried to keep the code as simple as possible because I'm not much of a programmer and didn't want to spend too much time on it. The loop is triggered by the Arduino reset button. The linear actuator is controlled by an h-bridge with 4 simple switches activated by one of the steppers.

Music by Gerardo Larios and yours truly.

#automation #arduino

Here's the code for you (us) nerds:

# include Stepper.h
# define stp 2
# define dir 3
# define MS1 4
# define MS2 5
# define EN 6

const int stepsPerRevolution = 800;

Stepper myStepper(stepsPerRevolution, 2, 3);
Stepper myStepper2(stepsPerRevolution, 8, 9);

void setup() { myStepper.setSpeed(200);
myStepper2.setSpeed(800);
pinMode(stp, OUTPUT);
pinMode(dir, OUTPUT);
pinMode(MS1, OUTPUT);
pinMode(MS2, OUTPUT);
pinMode(EN, OUTPUT);
}

void loop() {
digitalWrite(EN, LOW); myStepper.step(-9500);
delay(100);

myStepper2.step(-1600);
delay(5000);

myStepper2.step(1600);
delay(100); myStepper2.step(1600);
delay(5000);

myStepper2.step(-1600);
delay(100);
}

Thanks for watching! More videos on the way so please subscribe!

Loading...

Advertisement
When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...