Home › Forums › TinyG › TinyG Support › 6wire 2phase 5Volt Steppers With Tiny G
- This topic has 67 replies, 3 voices, and was last updated 3 years, 2 months ago by cmcgrath5035.
-
AuthorPosts
-
August 18, 2021 at 1:42 am #12057akfreakMember
I did change the jerk settings and ot works until rapids are called for then the darn thing just cant keep up and everything becomes all messed up. Is there a specific driver that works well with a tiny G that you can recommend?
August 18, 2021 at 1:46 am #12058akfreakMemberI am tired of messing around, I just bought 2 of those drivers, one for x and one for y. Anything specific to the wiring I need to know? I assume, power the drivers, hook stepper to driver, and send signal to the driver from the tiny G?
August 18, 2021 at 3:41 pm #12059cmcgrath5035ModeratorUsing external drivers is non-trivial but successfully implemented by others.
It is not at all plug and play.
I suggest you use your Favorite Search engine to search on “tinyG External Drivers”. Most hits you find will be other items in this forum.
I am on the road for a few days and can’t be a lot of help.August 18, 2021 at 8:12 pm #12060akfreakMemberI hope the ones you linked on Amazon work as I bought 2 of them.
August 22, 2021 at 9:18 am #12061cmcgrath5035ModeratorFor starters read thru this tinyG wiki item
https://github.com/synthetos/TinyG/wiki/TinyG-Using-External-DriversYou may also find this G2 wiki page informative
https://github.com/synthetos/g2/wiki/G2core-on-DUE—External-InterfacesBoth tinyG and G2 hardware are 3.3v logic. Some external drivers are rated for 3.3v I/O, others 5V
August 24, 2021 at 9:35 pm #12062akfreakMemberWell Crap! The ones you posted a link for, the DM556 say they want 5v PUL (pluse). Its my fault for jumping the gun and not researching WTF I am working with here.
I guess I can hook them up and see if they will work. I guess its time to do some soldering. GRRrrr!
August 24, 2021 at 10:33 pm #12063akfreakMemberLooks like you have dived deep into setting up the tinyG to drive bigger steppers in the past. If I had a diagram and parts list of what I needed, it would be amazing. Fumbling blindly along is really a pita and has be almost to the point of gutting this whole setup and going witj Arduino and stepper drivers.
August 25, 2021 at 3:10 pm #12064cmcgrath5035ModeratorI have been at this for a while, don’t necessarily remember all the items I have posted but as you have found, Google can help.
When you say “Arduino and stepper drivers”, do yo mean Arduino Duo or Uno driving external drivers, or the Pololu style mini plug-in modules. While I have no direct hands-on experience, to me they visually do not have adequate thermal dissipation capability.
retrofitting old systems with unknown specifications is at best trial and error, at worst a crap shoot. But think about how much you are learning…
If the original mechanical design really did demand NEMA34 performance, you will be better off with external, more rugged thermal design drivers.You can try interfacing the tinyG logic directly to the external drivers.
The driver inputs for pulse, dir and enable are simply Opto Isolators with some current limiting resistors so the can withstand high voltage interfaces. The FET buffer/level shifters are for the most part just adding robustness to the interfaces.August 25, 2021 at 10:46 pm #12065akfreakMemberDo you have an definitive imAge thAt clearly shows the pulse dir and enable pins. I see several images but everything is blurry or not defined. I see some that show grabbing voltage at the caps (next to the pots). i just need clear definition of where exactly I am supposed to grab specific connections.
I have Pul+ (5-24v) and I know its 3.5v on the tinyG so I hope that still works. So Do I still use the Pul- Negative? Then there is Dir + (5-24v) and Dir -, Ena+ and Ena-. I understand where the servo coils go as the V+ and Gnd -.
The board has
(Motor 1 3.3v 50ma)
Enable
Dir
Step
GndIts obvious I don’t use all 5 connections on my Stepper driver.
Where exactly do I connect which connection?
There is so much information, I dont know what is right and what is wrong)
Can you spoon feed me the correct connections please?
August 27, 2021 at 4:58 pm #12066cmcgrath5035ModeratorThese are best guess, scraping info from the Amazon sell page.
If you have a link to a specific manual page, send itThis diagram is about as good as it gets
https://github.com/synthetos/TinyG/wiki/Connecting-TinyGWork one motor/driver at a time. start with Motor 1
Connect the stepper windings to A+ A-, B+ B-
Connect 24V power supply to +V and GND on the DM556Set SW1 -off, SW2 off SW3 on and SW4 on to select 3.2A drive current to stepper
You have $sa=1.8, so you you have 200 steps/rotation steppers.
You have $mi=8 (8 microsteps per step) so you want a setting of 1600 (8*200) Pulse/rev.
Set SW5 = off, SW6 off SW7 on SW8 onFrom J17, the logic pins for Motor 1
Connect Step to Pulse+ on the DM556
Connect Dir to DIR+ on the DM556
Connect Enable[bar] to ENA – on the DM556
Connect Step- and Dir- on the DM556 to tinyG Gnd (not DM556 GND)
Connect ENA+ on the DM556 to the 3.3V lead on J17See if you get motion on Motor 1
I can’t look over your shoulder, so if you don’t understand ask before powering up.
You will likely get motion as desired, but given the specs I suggest you follow up with the 3.3V to higher voltage logic translators. 3.3V drive will likely be marginal on the pulse, dir and enable inputs.
August 31, 2021 at 12:12 am #12072akfreakMemberis A1=A+ A2=A- ect…
Also how do you post a link here? I found the manual but when I try to post the link the post never shows up. I even used the BBL Link code
August 31, 2021 at 10:26 am #12073cmcgrath5035ModeratorA1 and A2 are A+ and A-, but you may find direction gets reversed. There are no universal color coding or nomenclature standards
I copy a link and simply paste it
September 4, 2021 at 10:10 am #12074akfreakMemberI hooked up/set everything everything as you described.
in the description you said “Connect Step- and Dir- on the DM556 to tinyG Gnd (not DM556 GND)” on the controller it does not say Step -, it says (Pul-) Pul, I assumed that Step- = Pul-. I connected a loop from Pul- to Dir- and then connected GND Pin from the connections above Motor 1 (3-3v,enable,direction,step, and GND<—— (connection to Dir- looped to Pul-)The bad news is this driver does not work, in fact the motor is locked in place as soon as I power up the Stepper driver and the motor is getting warm/but not too hot that you cant touch it). This leads me to believe that I have a connection wrong. The quest continues 🙁
September 4, 2021 at 12:11 pm #12075cmcgrath5035ModeratorYou are correct, Pulse == Step
In some documentation, you will see it referred to as a step pulse.It sounds like a possible issue with the enable signal
On power up, the motor should be energized to hold current position for $MT seconds. In other words, Enable should be active for $mt seconds and then enter disable state.
Review your connection to the Enable leadsSeptember 5, 2021 at 3:25 pm #12076akfreakMemberI checked all the connections and they are connected via the exact instructions you gave and Nadda. Note, With all of the signal connections unplugged, and only the A1 A2, B1 B2 (stepper coils), Vcc and GND connected vathe stepper driver the Motor is locked in place when I power up.
So I want to go over a few things so they are clear to me.
The Tiny G connections
3.3V is obvious (its 3.3v constant? and this is where I could hook a voltage translator to step up to 5V to drive the stepper driver with the correct voltage?)Enable (bar, what is bar?) This must be a GND signal as you had me hook it to the ENA- side on the DM556.
Direction This must be a Positive Voltage signal as you had me hook it to the Dir + on the DM556
Step This must also be a Positive Voltage signal as you had me hook that to the Pul+ (aka Step +)
GND This pin must supply a GND signal as you had me hook it to both the Pul- (aka Step-) and the Dir-.
I did verify that the Motor Timeout Idle is set to 2 seconds, this says to me that there is a signal for 2 seconds telling the Stepper driver to lock the motor in place for 2 seconds then go to idle and turn off the signal that energizes the coils of the stepper motor.
While doing some research on stepper drivers and connections I see there are Two typical setups Common Anode (active low) and Common Cathode (active high). the Active low setup sends voltage from VCC to ENA+ DIR+ PUL+ and looks for negative signals to ENA- DIR- Pul- from the driver board (arduino/Rambo,gShield…ect) to complete the circuit.
On Active High ENA- DIR- Pul- all rest at GND and wait for a Positive signal ENA+ DIR+ PUL+ from the control board (Arduino,Rambo,gShield,ect….) to complete the circuit.
How is the tinyG setup? I am a little confused how the signals leave the pins.You had me use the Enable as – (negative signal) and Direction and Step as + (positive signals).
One would assume that the Enable, Direction, Step would be GND signals (but my assumptions are ALWAYS wrong)… Now I am curious, I am going to use my meter and see what what is what.
Thanks again. Tom
-
AuthorPosts
- You must be logged in to reply to this topic.