Stepper motor buzzing not turning

I am using a usongshine tb6600 motor driver
Toggles set for 200 steps
4 amps
Powered from a 19v compter supply plenty of power
It is wired
vcc + from power supply
gnd – from power supply but then jumpers to pul -, dir +, dir -, ena+, ena-, and connected to arduino ground
dir+ is connected to pin 7 of arduin
note I grounded direction as part of debug, I really do not care what direction it goes.
a+ is black
a- is green
b+ is red
b- is blue
I try running this program to debug the issue

same result two differnt steppers

const int stepPin = 5;
const int dirPin = 7;

void setup() {
  pinMode(stepPin, OUTPUT);
  pinMode(dirPin, OUTPUT);

  digitalWrite(dirPin, HIGH);  // try LOW if needed
}

void loop() {
  digitalWrite(stepPin, HIGH);
  delayMicroseconds(500);
  digitalWrite(stepPin, LOW);
  delayMicroseconds(500);
}type or paste code here

I did check the stepper with an ohm meter, black to green is 1.8 ohm red to blue is same. I also tried switching green abd black, but no change. if it were working i expected direction to change.

Don't you think that 500 microseconds between steps is a bit too fast for a stepper to move?

This nonsense comes up nearly every day. Where do people get the idea that a stepper should run at 1000 steps/second from standstill?

3 Likes

Look at it this way, you war crawling before walking before running. Systems are the same way and have limitations. Start slow!

Doing some background and technical research on parts you plan on using is always advisable.

1 Like
  • As an experiment, read the voltage from a potentiometer voltage divider.
    Use this value to set delay(. . .), adjust potentiometer for different delay times.

Example:
Code for 100ms and shorter.

@wilsonintexas Here you can find more information about the operation of stepper motors:

Good luck with your project!

Hi,

Can you please post a copy of your circuit, a picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
Please include ALL hardware, power supplies, component names and pin labels.

Can you post some images of your project?
So we can see your component layout.

Thanks.. Tom.... :smiley: :+1: :coffee: :australia:

@jw_r Those "LastMinute Engineers" pages are terrible.
Who would recommend a dinosaur L293 brushed DC motor driver for a Nema 17 stepper motor without pointing out that you can only sort-off do that for high impedance motors, which most modern steppers are not. Besides that, Nema 17 tells us only the size of the mounting plate, nothing else.
Leo..

Hello @Wawa, Thank you. I will gladly accept that from you. It is not possible for me to judge that. My knowledge does not extend far enough for that :slight_smile:

The reason why I placed the link was because this article gives a nice description of the operation of a stepper motor. Greetings Jan-Willem

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.