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