NYC CNC did a good vid on the same topic, different application a few years ago: https://youtu.be/RakXequOrSY
THANKS FOR POINTING OUT MY MISTAKE! "count less than or equal to pulseset" caused it to turn 2401 steps. You can see a little ridge in the part where it goes too far. Fixed by removing equal. "count less than pulseset"
Wiring connections
Arduino Pin 8 to stepper driver pulse +5V
Arduino Pin 9 to stepper driver direction +5V
Arduino Ground to stepper driver signal ground Pulse -ve, Dir -ve, enable -ve
Arduino +5 volts to on/off switch to stepper driver enable +5V
Helpful hints:
1. Pick the size of motor you need for the torque/power you need. Don't know? FIND OUT!
2. Determine the voltage and current of the stepper motor.
3. Determine the stepper motor driver that will power your stepper motor with some extra fudge factor (this stuff is cheap). Big Easy driver or Adafruit motor shield for small stuff. "CNC stepper driver" for big stuff.
4. Determine the power supply you need for the input power, voltage and current your stepper needs. Add extra fudge factor.
5. Get an Arduino. (Like you don't already have 3 of them kicking around).
6. Cut and Paste the code to the Arduino IDE; upload to Arduino.
7. Hook up wires per the diagram on the stepper driver box and the Arduino Sketch.
8. Hook up a switch from +5V from Arduino to the "enable" terminal of the stepper motor.
9. Hook up all 5V signal ground from the stepper driver (negative) to the arduino ground.
10. Set the stepper driver DIP switches for the max current, holding torque and steps per revolution you require.
11. Triple check your work. Cross your fingers and toes. Plug in the power and hit the "enable" switch.
Long term projects here: http://www.Patreon.com/AvE
THANKS FOR POINTING OUT MY MISTAKE! "count less than or equal to pulseset" caused it to turn 2401 steps. You can see a little ridge in the part where it goes too far. Fixed by removing equal. "count less than pulseset"
Wiring connections
Arduino Pin 8 to stepper driver pulse +5V
Arduino Pin 9 to stepper driver direction +5V
Arduino Ground to stepper driver signal ground Pulse -ve, Dir -ve, enable -ve
Arduino +5 volts to on/off switch to stepper driver enable +5V
Helpful hints:
1. Pick the size of motor you need for the torque/power you need. Don't know? FIND OUT!
2. Determine the voltage and current of the stepper motor.
3. Determine the stepper motor driver that will power your stepper motor with some extra fudge factor (this stuff is cheap). Big Easy driver or Adafruit motor shield for small stuff. "CNC stepper driver" for big stuff.
4. Determine the power supply you need for the input power, voltage and current your stepper needs. Add extra fudge factor.
5. Get an Arduino. (Like you don't already have 3 of them kicking around).
6. Cut and Paste the code to the Arduino IDE; upload to Arduino.
7. Hook up wires per the diagram on the stepper driver box and the Arduino Sketch.
8. Hook up a switch from +5V from Arduino to the "enable" terminal of the stepper motor.
9. Hook up all 5V signal ground from the stepper driver (negative) to the arduino ground.
10. Set the stepper driver DIP switches for the max current, holding torque and steps per revolution you require.
11. Triple check your work. Cross your fingers and toes. Plug in the power and hit the "enable" switch.
Long term projects here: http://www.Patreon.com/AvE
As the only Canadian I know of, you're the one that came to mind…
The full line was: "“Hello Moose-fuckers! I tell you why I hate Canada: half of you speak French and the other half let them.”😂
HEY, WHAT ARE YOU DOING WITH THAT SHAMPOO BOTTLE?!? I didn't say stop, or pumpkin pie, or any other safety type phrase of desisting. -medium pace fella
Too funny, yet real. Thanks!
should try a raspberry pi
Fer sure, shortcuts don't come free, even when they work as intended. But where would we be without science?
This video saved me so much dickin' around. Thank you.
Did you say "It's good enough for the girls I go out with" ?
nice job😀
To check for A and B wires, just put a LED across the two and spin the motor manually. The led makes blinking sounds. No meter needed.
thanks for Satie
I'll fix your wagon little lady….errr your stepper motor I mean.