Notifications
Clear all

[Solved] Big Stepper - speed issue

9 Posts
2 Users
0 Likes
1,194 Views
(@abuhafss)
Member
Joined: 4 years ago
Posts: 25
Topic starter  

Hi

I recently received a NEMA34 6A stepper and controller 2DM860H.

I am using a Nano and 24V/10A power supply. I tried your code in this article. Everything is working fine except that maximum speed is not very impressive. That is probably because the "microstep setting starts from 400" and I can't see any option to disable the microstepping.

20200926 191303
20200926 191146
20200926 191225 001

 Now, how do I increase the RPM of the motor?


   
Quote
(@abuhafss)
Member
Joined: 4 years ago
Posts: 25
Topic starter  

I just found a manual for the controller.

The first thing mentioned in the manual is:

"This driver will not provide one to one stepping ie. (200 steps/rev). The minimum setting is 400 steps/rev."

 


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 

@abuhafss

Just out of curiosity, have you measured the max speed you can get out of it with a nano?

You might need to get a better micro controller, one that offers higher resolution PWM.

Cheers.


   
ReplyQuote
(@abuhafss)
Member
Joined: 4 years ago
Posts: 25
Topic starter  

@frogandtoad

Probably, you haven't watched the video in that article.

The code does not uses the analogWrite command, instead it manually generates pulses based on the value of the potentiometer.


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 

@abuhafss

My apologies... I had PWM on my mind!
I meant to say: " a better micro controller, one that offers higher resolution frequency".

In any case, what kind of RPM are you obtaining?

Cheers.


   
ReplyQuote
(@abuhafss)
Member
Joined: 4 years ago
Posts: 25
Topic starter  

   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 

@abuhafss

I think the 'setdir' variable should be declared as volatile, and I also don't think you should be calling digitalWrite(driverDIR,setdir); at every iteration of the loop... better to add some logic in there to do it only when you press the button.

So again... do you know what RPM are you currently obtaining?
I'm interested to know, as I may be obtaining one of these Nema34's in the future.

If you don't know, or have no way of testing it, then that's fine.

Cheers.


   
ReplyQuote
(@abuhafss)
Member
Joined: 4 years ago
Posts: 25
Topic starter  

@frogandtoad

As I mentioned in the my first post, I am using the code (available in the article published in this website) just to check the maximum speed of the motor.

After thorough research I learnt that the driver I am using, offers minimum 400 steps/rev. so the maximum speed is naturally slower than that with 200 steps/rev.

I do have a tachometer, I will be glad to intimate you the maximum RPM I can get with this blue controller. However, if you are concerned about the speed I would recommend you to get the black controller as shown in the article.


   
ReplyQuote
(@abuhafss)
Member
Joined: 4 years ago
Posts: 25
Topic starter  

Just now, I checked the specs. of controller MA860H which has been used in the video shown in the article. The specs. shows that, that controller also offers minimum 400 steps/rev. So I wonder how Bill managed to rotate the stepper at high RPM.


   
ReplyQuote