Help with several Problems

my own it seems, maybe you people can help me.

So first of my hardware:

TB6600 Stepper Motor driver
Wemos D1 mini
Nema23 23HS8430 Stepper Motor
36V 3A Power suply

Now I couldn't get my Motor to run at all at first, because presumably the signal output voltage of my wemos D1 mini wasn't enough (only had 4.5 on my 5 V pin and the others only put out 3.3V as they should). So I got myself a Level shifter and a Phone Charge, which had an 5 V output and tried again, it worked kind of, but Not completly and Not continuesly, so I bought a powersource with a Poti to be able to correctly shift the Signals from 3.3 V to 5V... By using that thing I found out that it runs on 1.1V but any thing more the Motor stops, but it doesn't run smoothly either... And now I am kind of at my witts end, because it doesn't make sense to me any more, especially since before the Problem seemed to be to low voltage... And before the Power source with the poti, it ran on 5V

The Programm I use is:

int PUL=7; //define Pulse pin
int DIR=6; //define Direction pin
int ENA=5; //define Enable Pin
void setup() {
  pinMode (PUL, OUTPUT);
  pinMode (DIR, OUTPUT);
  pinMode (ENA, OUTPUT);

}

void loop() {
  for (int i=0; i<6400; i++)    //Forward 5000 steps
  {
    digitalWrite(DIR,LOW);
    digitalWrite(ENA,HIGH);
    digitalWrite(PUL,HIGH);
    delayMicroseconds(1000);
    digitalWrite(PUL,LOW);
    delayMicroseconds(1000);
  }
  for (int i=0; i<6400; i++)   //Backward 5000 steps
  {
    digitalWrite(DIR,HIGH);
    digitalWrite(ENA,HIGH);
    digitalWrite(PUL,HIGH);
    delayMicroseconds(1000);
    digitalWrite(PUL,LOW);
    delayMicroseconds(1000);
  }
}

I redefined the Pins to the corresponding wemos Pins so no problem there...

If there is a need for any more info or a need for pictures please leave a comment with what exactly you need

And I am Sorry if I am posting in the wrong section of the forum

I can't figure out what it is that you want help with?

Do you have a regular 5v Arduino that you can use to prove that you can control the motor?

Have you tried getting the motor to move at a speed that is 10 or 20 times slower?

...R
Stepper Motor Basics
Simple Stepper Code

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks... Tom... :slight_smile:

Controller: TB6600_Stepper_Motor_Driver_SKU__DRI0043-DFRobot

Stepper: https://www.omc-stepperonline.com/hybrid-stepper-motor/nema-23-bipolar-18deg-19nm-269ozin-28a-32v-57x57x76mm-4-wires-23hs30-2804s.html

Looks like the controller should work fine with an Arduino UNO.

The unreliability might be a lose connection somewhere. CHECK YOUR WIRING. In my experience, 3.3V digital outputs can usually drive 5V digital inputs without needing a level shifter. I suspect your level shifter is causing problems. I recommend you remove it.