Welcome! Log In Create A New Profile

Advanced

Robin nano v3.1 connect external stepper dm556

Posted by edensan 
Robin nano v3.1 connect external stepper dm556
November 04, 2023 04:56PM
Hello all,

Today i got my board for my cnc project the nano robin v3.1 including screen.

Now i did connect the external stepper dm556 to 1 of the of the five driverconnectors

Mks: Dir dm556 : dir+
Mks: Stp dm556: pulse +
Mks: Gnd dm556: dir- and puls-
Left the enable blank booth sides.

I use a nema 23 4.0 Amp
Driver Powersupply 40.1 volt 3.8 amps
I used the dipswiches ( for test) 800 stp/r
And 3.8 Amp

1 stepper start blink red without anny connection.. (broken?)
Second stepper give green licht but not the smallest rotation..

I pull my hair out all day trying and testing nothing seems to work

Greetz Edwin from Holland

Edited 1 time(s). Last edit at 11/04/2023 05:00PM by edensan.
Re: Robin nano v3.1 connect external stepper dm556
November 04, 2023 10:10PM
You need the enable line also, or its never enabled...


It also looks like it was not designed for 3.3v logic levels

the data sheet [mecheltron.com]

It says Logic signal current (mA) Min 7, Typical 10, Max 16


On the bottom of the last page it gives a example on how to connect it, including resistances

If you assume led voltage drop is 2.5v you can confirm their resistance values

5v uses 270 ohm for 10mA
12v uses 1k + 270 ohms for about 8 mA
24v uses 2k + 270 ohms for about 10 mA

but then if you do the same math for 3.3v
3.3v using 270 ohm gives you 3mA

This is below the Min of 7mA

You need an interface circuit

Something like these [www.aliexpress.com] (I do not know if these will work on your controller, they are just an example, this one seems to require vmot of v5, ive seem others that use 24v)

Edited 2 time(s). Last edit at 11/04/2023 10:22PM by Dust.
Re: Robin nano v3.1 connect external stepper dm556
November 05, 2023 05:53AM
Thy,
On my noard robin nano v3.1 are the cirquits onboard.
I look into it.

Thy for your answer
Greetz Edwin
Re: Robin nano v3.1 connect external stepper dm556
November 05, 2023 02:41PM
I did buy 4 pieces
Let you know when they arrived.
Thx this far
Re: Robin nano v3.1 connect external stepper dm556
November 07, 2023 02:02PM
Hi
I was thinking..
Is there a way the swich th negative's in stead of the positive's? Is this a setting in marlin?

Thx in advance
Re: Robin nano v3.1 connect external stepper dm556
November 07, 2023 06:48PM
??

You switch negative or positive as desired, it doesn't change the trigger level.


If your actually asking about trigger level,

Marlin Has

// By default stepper drivers require an active-HIGH signal but some high-power drivers require an active-LOW signal to step.
#define STEP_STATE_X HIGH
#define STEP_STATE_Y HIGH
#define STEP_STATE_Z HIGH
...

and
// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
// :{ 0:'Low', 1:'High' }
#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0
...

Note these keywords are the ones used in current bugfix 2.1.x Older Marlins can use a different keyword
Re: Robin nano v3.1 connect external stepper dm556
November 08, 2023 03:03AM
@Dust thy for this answer this helps me verry much!
So i change:

By default stepper drivers require an active-HIGH signal but some high-power drivers require an active-LOW signal to step.
#define STEP_STATE_X HIGH
#define STEP_STATE_Y HIGH
#define STEP_STATE_Z HIGH

To:.
#define STEP_STATE_X LOW
#define STEP_STATE_Y LOW
#define STEP_STATE_Z LOW
#define STEP_STATE_Y2 LOW

And set:

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
// :{ 0:'Low', 1:'High' }
#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0
#define Y2_ENABLE ON 0

Yes? The its the negative side that swich the current?

I hope i understand this wel

Greetz
Sorry, only registered users may post in this forum.

Click here to login