herring_fish
New Member
I can’t get my stepper motor to go very fast. The actual application description is listed here but it is not important.
View topic - 2 Axis Plankton Feeder • adafruit industries • Customer Support Forums, DIY Electronics, Open Source Hardware, Arduino
I have a very low mass to move but I need printer level speeds. I am using a 1A wall wart so that might be the problem but right now, I’m just pushing a piece of tape around. How do I get it to go faster?
The simplified code and result of the different setting that I used are listed below and the hardware that I have is all listed below that.
Code: Select all
I have currently:
>Arduino Mega 2560 >Rugged Motor Driver >Breakout Board Shield (Assembled) >BNC Sensor Shield (Assembled) >RTC/EEPROM board
>57BYG084/1.8 Step Angle/12V/4 phase/0.6A per/100ohm(500VDC)/20ohm per/Class B/25mH Inductance per/Rotor inertia 38g.cm2/holding torque 6Kg.cm
Spec. Sheet https://www.electro-tech-online.com/custompdfs/2011/04/162027.pdf
I also have this motor. I bought this because the driver board manufacture said that it was a good match for the price but I could get it to work. I don’t know what I was doing wrong. That is when I pulled out the motor above.
>23KM-K213-P7V/ 1.8 DEG./COIL: 3VDC/1.8 ohms/2.6mH,TYPE: 2 Phase Uni-Polar, 6 lead
Address of motor: 1.8 DEG. STEPMOTOR-MPJA, Inc.
View topic - 2 Axis Plankton Feeder • adafruit industries • Customer Support Forums, DIY Electronics, Open Source Hardware, Arduino
I have a very low mass to move but I need printer level speeds. I am using a 1A wall wart so that might be the problem but right now, I’m just pushing a piece of tape around. How do I get it to go faster?
The simplified code and result of the different setting that I used are listed below and the hardware that I have is all listed below that.
Code: Select all
Code:
#include <Stepper.h>
#define EN1_PIN 3
#define DIR1_PIN 12
#define EN2_PIN 11
#define DIR2_PIN 13
const int stepsPerRevolution = 200; // change this to fit the number of steps per revolution for your motor
// initialize the stepper library on pins 12 and 13
Stepper myStepper(stepsPerRevolution, DIR1_PIN, DIR2_PIN);
void setup() {
analogWrite(EN1_PIN, 255); //>>>>>>With the other motor I bumped the voltage up to 9 and set these to 10 - 66
analogWrite(EN2_PIN, 255); //>>>>>>per product support
myStepper.setSpeed(150); // Example sets the speed at 60 rpm. >>>>>>>My max is 150
//>>>>>>>after that, it buzzes
Serial.begin(9600); // initialize the serial port
// Change from divide-by-64 prescale on Timer 2 to divide by 8 to get
// 8-times faster PWM frequency (976 Hz --> 7.8 kHz). This should prevent
// overcurrent conditions for steppers with high voltages and low inductance.
TCCR2B = _BV(CS21); //>>>>>>>Tried with and without this line
}
void loop() {
// step one revolution in one direction:
// Serial.println("clockwise");
myStepper.step(stepsPerRevolution);
}
I have currently:
>Arduino Mega 2560 >Rugged Motor Driver >Breakout Board Shield (Assembled) >BNC Sensor Shield (Assembled) >RTC/EEPROM board
>57BYG084/1.8 Step Angle/12V/4 phase/0.6A per/100ohm(500VDC)/20ohm per/Class B/25mH Inductance per/Rotor inertia 38g.cm2/holding torque 6Kg.cm
Spec. Sheet https://www.electro-tech-online.com/custompdfs/2011/04/162027.pdf
I also have this motor. I bought this because the driver board manufacture said that it was a good match for the price but I could get it to work. I don’t know what I was doing wrong. That is when I pulled out the motor above.
>23KM-K213-P7V/ 1.8 DEG./COIL: 3VDC/1.8 ohms/2.6mH,TYPE: 2 Phase Uni-Polar, 6 lead
Address of motor: 1.8 DEG. STEPMOTOR-MPJA, Inc.
Last edited: