Welcome! Log In Create A New Profile

Advanced

TB6560 with arduino?

Posted by woo 
woo
TB6560 with arduino?
February 09, 2013 02:28AM
Hello, i have just one simple questionsmiling smiley

i have cnc machine for 5-6 years emc driven (actually it was fun to make it, i dont mill anything at home because i have mills, laser cutters etc on job haha)

now i have plan to make delta reprap, with standalone arduino, so...can i use steppers, drivers, powersupply with any arduino board?

steppers are nema 23 i dont remember how strong, have 4 tb6560 controllers and 36V10A powersupply.

anyone?

Edited 1 time(s). Last edit at 02/09/2013 02:29AM by woo.
Re: TB6560 with arduino?
February 09, 2013 07:10AM
If the stepper drivers accept digital signals you can use an Arduino to drive them. Ideally, they accept 5V signals, else you need a level shifter. Ideally they accept Step and Dir signals, else you have to rewrite parts of the RepRap firmwares.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
You must change something in firmware, something like the enabled motors, that is inverse of pololu and the capacitor of internal clock of tb6560, tb6560 can lost some steps with a wrong capacitor. For example, some designs come with 330pf, others with 100pf, if you loose steps, change the capacitor, or firmware.

A example of change is the motor enabled pin, in Repetier I do:

#define EXT0_ENABLE_ON 1
#define X_ENABLE_ON 1
#define Y_ENABLE_ON 1
#define Z_ENABLE_ON 1
Re: TB6560 with arduino?
February 17, 2013 11:06AM
I've had a great deal of issues with TB6560 and missed steps, with Sprinter/Marlin firmware on Arduino. In the first build I used NEMA23 motors, so the polulo's weren't quite powerfull enough, so I bought a 25€ 3-axis TB6560 driver board of eBay and wired XYZ to this.

The problem with this was that Sprinter and Marlin toggles the step pin for only 1-5uS, and the TB6560 wants something around >60uS, if I remember correctly. The simple (but dirty) solution was to just add a delay, in the stepper routine, but that broke serial communication at higher speeds, since it blocks the serial interrupt.

So I ended up hacking the interrupt routine to set the step pin, then prime another interrupt to reset it.

It limits the max step frequency to 10000, and doesn't work with CoreXY enabled. It isn't submitted anywhere, due to the coding standard, but if you run into problems I can post it here. And if it is actually usefull for anyone other than me, I might consider cleaning it up and submit it.

Alternatively it is possible that you can use another firmware..
woo
Re: TB6560 with arduino?
February 28, 2013 01:25PM
something new to this topic:
[andre.team9.99.org.nz]


my final configuration will be ramps+arduino, 4 pcs nema 17 2.5A, 4 pcs tb 6560...wish me a luck smiling smiley

Edited 1 time(s). Last edit at 03/02/2013 05:32AM by woo.
woo
Re: TB6560 with arduino?
April 09, 2013 12:41AM
new equipment arrived smiling smiley

so initial tests with ramps 1.4, tb6560 and for now 12Vpower supply at 2A, everything is working good out of the box smiling smiley tried it at 8 microsteps, working good.

ordered and waiting 24v 15A power supply(should arrive soon) that slould be enough for 3 amps per motor smiling smiley

so i have 500W pc ps for bed and nozzle heater, and for motors only 360W, just ordered relay triggered with 5V, holding 220v10A so i can turn motor supply on/off with pc supply, wich i turn on via ramps and ps_on smiling smiley

[www.youtube.com]

Edited 1 time(s). Last edit at 04/09/2013 12:42AM by woo.
Re: TB6560 with arduino?
April 18, 2013 09:51PM
Woo, where did you get those drivers? Massmind?


- akhlut

Just remember - Iterate, Iterate, Iterate!

[myhomelessmind.blogspot.com]
woo
Re: TB6560 with arduino?
April 19, 2013 07:37AM
Hello,

from ebay, i will put link here, if its forbidden il remove it...

[www.ebay.com]



btw drivers need 24V power supply, they appear to have shorter response time at higher voltage, people have missed steps at 12V ...

Edited 1 time(s). Last edit at 04/19/2013 01:09PM by woo.
Re: TB6560 with arduino?
April 19, 2013 08:20PM
The 6064 costs more but has motor power on protection not present in the 6560.
woo
Re: TB6560 with arduino?
April 21, 2013 06:03AM
whatever you choose, is at least twice more power then pololu, and tb6560 same price...so... smiling smiley
Re: TB6560 with arduino?
April 25, 2013 04:39AM
Hello.
Could you help me modify Teacup Gen 7 firmware in order to work with TB6560 drivers?
Re: TB6560 with arduino?
April 29, 2013 11:00AM
I think teacups timings and signals work out of the box, from what i remember the timings and pulse widths were about even, and well within the timings of the board. you will still want to read on the forum on how to bypass the optical isolators
Re: TB6560 with arduino?
April 29, 2013 03:39PM
It worked the problem was on driver circuit.
More details in the other topic that I started.
Sorry, only registered users may post in this forum.

Click here to login