Need help with drivers. Motor receives power but doesn’t move with jogs. I’m coming from a Gshield so I know everything works mechanically.
And yes, I did try it with $4=1
Ok, I haven’t used these drivers (TB6600’s?) at all or GRBL, but I think I can see a few obvious wiring issues. I assume you are running GRBL on the Arduino?
- Pulse (Step), Dir, Enable might need to connect to the “Negative” inputs (PUL-, DIR- ENA- ) I think you will find the Positives are actually need 5v supply. This labeling makes more sense if you are connecting to a optocoupler parallel port or industrial serial port controller (very popular in China it seems). See the diagram at: http://www.sainsmart.com/sainsmart-tb6600-cnc-micro-stepping-stepper-motor-driver-4-5a.html
(Note you don’t need any extra resistors R = 0ohms if you are using Arduino / 5v inputs)
-
It looks like only the X driver is connected to Motor voltage (VCC) and Ground (GND) ?? IF you just want to get the X axis work first, a good idea, remove all other wiring until you have X working first.
-
Ground on the Arduino should be connected to Ground on the Motor power supply / Driver ground. (Please don’t connect Motor voltage to the Arduino, it will let the magic smoke out)
Yep they are 6600s and I’m using grbl on the uno.
So I just change all my + connections to the negative? What do I put on the + connections then?
Yes I’m only working X for now.
So I should jump from arduino ground to join with the power supply ground? I guess that would complete the circuit or something?
Yes, + need to connect to 5V on the Arduino.
Forget the Ground connection, see below.
Ok, I found a photo of the circuit board, so now I understand why there are two wiring schemes.
The inputs are isolated on the board using Optocouplers.
You DO NOT need to connect Motor ground to Arduino Ground for these drivers. Other drivers, like step sticks, do require this.
So think of the +/- connections as LEDs, and you need to turn the LED on/off with the Arduino. So you can either
a.) connect all the + to 5v and Arduino pins connect to -. Then pulling the Arduino pins Low will turn the “LEDs” on. This is better than b. as it is less prone to interference/noise.
b.) connect all the - to Ground and the + to Arduino. Then pulling the Arduino pins High will turn the “LEDs” on.
c.) Use b. for Enable and a. for DIR/PUL (which is what I think you might have seen.) So that pulling Enable HIGH will enable the drivers and pulling PUL and DIR low will move the motors. This means that the drivers will be disabled if the Arduino is not powered and you get less chance of interference with the pull low to step setup.
You lost me at the end there, but if I do enable- to pin 8 (chained to all drivers) pulse- to pin 2(or 3/4 for Y/Z) and dir- to pin 5 (for X axis,6/7 for y/z) And then the three +'s are daisy chained to receive signal from the 5V pin.
I don’t really know what the pull high/low means in reality. Could you explain?
Your first image is a little hard for me to see. But from what I can tell in the physical photo. You do not want to daisy chain any connection from driver to driver. If one driver blows it can take the rest with it. The other thing I see, It appears you are not connecting your dir - and pul- to the arduino ground pin! It needs to be. Here is a diagram for you let me know if it works.
Yes, that should work, though I am not familiar enough w/ GRBL Pins and configuration.
Hopefully someone who knows GRBL better can help if this doesn’t work.
Pull High and Low are terms for logic input / output. Basic terms Low is connect to ground and High is Connected to 5v.
I have it wired like Kyos pic and we have function. X works fine, Y and Z only move in one direction so I’m going to rewire the DIR+ pins to double check, or the motor connection (only one coil working)
Thanks guys. I was missing the ground last night (don’t wire after a 10 hour day!) and everything works now. I have a 25% increase in my max speeds now.
Very pretty control setup… mine still looks like spagetti…
@Kyo_Shinohara do you have the dimensions of the 16mm aviation plug in hand? What’s the mounting hole diameter and how far does the plug stick out on the “inside” (planning my face plate of the box before they arrive)