TB6600 hardware setup for one and 4 motors

Hi to all.
I need some help with TB6600 setup.

This are the parts that am using:
Motors: 23HS30-2804S-SG10 ( geared NEMA23 motors )
Driver : TB6600
Power supply for driver : 24V
Ardino mega

Code:

#define DIR_PIN 5
#define PUL_PIN 6
#define ENA_PIN 7

void setup() {
  pinMode(DIR_PIN, OUTPUT);
  pinMode(PUL_PIN, OUTPUT);
  pinMode(ENA_PIN, OUTPUT);
  
  digitalWrite(DIR_PIN, HIGH); 
  digitalWrite(ENA_PIN, LOW);  
}

void loop() {
  digitalWrite(PUL_PIN, HIGH);  
  delayMicroseconds(500);       
  digitalWrite(PUL_PIN, LOW);  
  delayMicroseconds(500);       
}

//-----------------------
With this code motor is spinning at rate of one fully spin / 3 sec and for this setup microswitch on TB6600 is set on :
OFF /ON/ON/OFF/OFF/OFF
I was trying different solutions with this microswitches but i can not get some faster speed.
Of course, i must set delay to 10 or even lower value but still, i can get faster speeds.

IMHO this motor should run at least one full spin / 1 sec so am guessing am doing something wrong. Any suggestion and input is welcome !

Arnix

What does that mean in steps per revolution?

"Power supply for driver : 24V".
What is the current (Amp) rating?

If TB6600 is set for 400 steps per rev, try:

void loop() {
  digitalWrite(PUL_PIN, HIGH);  
  delayMicroseconds(1250);       
  digitalWrite(PUL_PIN, LOW);  
  delayMicroseconds(1250);  

(reference link, page 6)

What is the current (Amp) rating?
** Power supply is 24V / 2A

At the moment TB6600 is set to 200 RPM.

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