how to connect stepper drivers leadshine m542 to arduino shield v3?

How to connect the Leadshine drivers to the CNC shield for the pulse and direction? What Ports of the driver do I use?

If the CNC shield V3 is not good enough, recommend me a better model?

Thanks in advance :) :) :)

leadshine m542

http://i.ebayimg.com/00/s/MTM4OVgxNjAw/z/YLoAAOxyZw5Ra~Pk/$T2eC16F,!)0E9s37FciBBR,+PkGw,g~~60_57.JPG

CNC shield V3

http://i.ebayimg.com/00/s/ODA4WDgwMA==/z/lE8AAOSwRLZT35ym/$_57.JPG

The photo of the shield does not explain what it does or how it is intended to be used. Please post a link to its datasheet or schematic.

It should be possible to connect the Leadshine driver to an Arduino without any shield.

The Thread stepper motor basics may provide some background info.

...R

Thank you for your reply Robin2,

This is the schematic of the leadshine M542 driver.

also help me connect the driver to the CNC shield. :slight_smile: :slight_smile:

thisal_perera: This is the schematic of the leadshine M542 driver.

I know a little about the driver.

It is the shield I know nothing about. Please post a link to the datasheet for the shield.

...R

http://blog.protoneer.co.nz/wp-content/uploads/2013/07/Arduino-CNC-Shield-Scematics-V3.XX_.jpg

This is the schematic for the CNC shield V3.

http://blog.protoneer.co.nz/arduino-cnc-shield/

The link above explains about the cnc shield v3.

forgive me for the fuss, I'm a huge noob to this field.

Also please check if this method of connecting the arduino to the GECKODRIVE G540 is correct.

here is the link for the schematic of the geckodrive

I’m not sure why you bought a shield that is meant to have the A4988 driver board plugged in to it, with a totally different stepper driver.

But- See where it says “Step” on the Protoneer shield? That is “Pul+” on the M542.

Dir is Dir+, En is Enable+.

Ground all of the Pul-, Dir-, and Enable-.

thisal_perera: The link above explains about the cnc shield v3.

As @polymorph says, that shield is specially designed for A4988 drivers, not Leadshine or Gecko drivers.

The A4988 requires a lot more connections than either the Leadshine of Gecko drivers. Most of the functionality of the shield is already within the Leadshine and Gecko drivers.

I already linked to stepper motor basics. The info in it should enable you to figure things out - basically the same as what @polymorph suggests. I can see no value in using that shield.

...R

http://cdn.instructables.com/F65/0U80/I4J6T26X/F650U80I4J6T26X.MEDIUM.jpg

As per the diagram above ( found in an instructable) the ramps 1.4 driver has no relationship with the drivers?

If these breakout boards are not suitable, please suggest a suitable one for my use. I need to drive 4 nema 23 stepper motos (using 2 motors for y axis) with a peak of 3 amps each.

Below is the link of the instructable.

http://m.instructables.com/id/Arduino-Controlled-CNC-3D-Printer/?ALLSTEPS

thisal_perera: As per the diagram above ( found in an instructable) the ramps 1.4 driver has no relationship with the drivers?

That shield in that diagram is not the same as the one you linked to in your original post.

As far as I can see from the new diagram it provides all the information you need.

...R

If I am using Arduino Uno instead of Arduino mega for the GRBL. What breakout board would you suggest me to use? Could you name a model? For the leadshine M542 driver? It should also fascilitate a display...

Thanks

thisal_perera: If I am using Arduino Uno instead of Arduino mega for the GRBL. What breakout board would you suggest me to use? Could you name a model? For the leadshine M542 driver? It should also fascilitate a display...

You are losing me here. I thought you had already found one in Reply #8

I have no suggestions to offer. I probably would not use one at all.

...R

Yeah but i was thinking of something with better quality. Anyway thank you for helping me out.

I thought I gave all the required info.

With one caveat: I don't see anything in the M542 partial schematic about microstepping, so make sure the GRBL code that you load on the Arduino is set to no microstepping. Or if the M542 has switches on it to set microstepping, make sure the GRBL code and the M542 switches agree.

Normally, your Arduino GRBL code will set microstepping on the A4988 boards.

I understand the need for more current.

polymorph:
With one caveat: I don’t see anything in the M542 partial schematic about microstepping, so make sure the GRBL code that you load on the Arduino is set to no microstepping. Or if the M542 has switches on it to set microstepping, make sure the GRBL code and the M542 switches agree.

Well the photo shows the jumper settings for both setting current and microstepping printed
all over the unit, hard to miss I’d have though. All industrial stepper-drives are configurable
for microstepping and current.

I was looking at his partial schematic.