Welcome, Guest. Please login or register.

Username: Password:

Author Topic: Drivers TB6600  (Read 2892 times)

ecc2000

  • Sr. Member
  • ****
  • Posts: 72
    • View Profile
Drivers TB6600
« on: February 01, 2020, 22:57:48 »

Hello,

I have an idea Tom !!!!

As you can see, the TB6600 can work in several microstep modes, if we disuse the micro switches, we normally have access to the logic inputs, but obviously it does not correspond to the 8825 drivers!

Would it be possible to modify the AstroEQ program to use the TB6600 truth table!

It would be enough to solder a few wires in place of the micro switches, and I think we would have more driver problems, and we could install more powerful motors!

The other order entries are all obviously there!

https://reprap.org/wiki/MKS_TB6600

thank you,

Pierre
Logged

py2ada

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Drivers TB6600
« Reply #1 on: February 09, 2020, 10:39:30 »

Great idea Pierre. I'm working on it too. I have an equatorial mount with nema 23 motors and WD56 drivers up to 51200 microsteps. Built with pulley system. With 32 steps problems in sidereal tracking. When set to 51200 microsteps tracking is ok. As I can't change the AstroEQ program, I think of creating an external solution to control these drivers exclusively for changing the microstep mode.
« Last Edit: February 09, 2020, 10:42:44 by py2ada »
Logged

ecc2000

  • Sr. Member
  • ****
  • Posts: 72
    • View Profile
Re: Drivers TB6600
« Reply #2 on: February 09, 2020, 23:15:33 »

Hello,

If we change the micro steps, we can change the ratio in astroeq, but to get goto it will be hard!

As I said, we must remove the microswitch on the TB6600 and control the inputs by astroeq but the truth table is not the same, we must modify the code!

It's a shame because with the TB6600 we would have something at the top!

https://www.electronics-lab.com/project/4-5amps-bipolar-stepper-motor-driver-based-on-tb6600/

Pierre
« Last Edit: February 09, 2020, 23:23:13 by ecc2000 »
Logged

py2ada

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Drivers TB6600
« Reply #3 on: February 10, 2020, 09:38:59 »

I made a change in the setup. I'm testing an arduino nano with a connected relay to replace the driver keys. This other arduino reads the M0 M1 M2 outputs of the RA and DEC of the Arduino Mega 2560. It does the conversion function of the DRV8825 truth table for the WD56 in my case. Astroeq's speed changes are always for fast 32 steps / step and slow 256 steps / step. I am now waiting for the weather to clear to test the accuracy of the goto and tracking. The system is changing speeds and the goto is ok. Let's see the tracking.
« Last Edit: February 10, 2020, 11:48:15 by py2ada »
Logged

ecc2000

  • Sr. Member
  • ****
  • Posts: 72
    • View Profile
Re: Drivers TB6600
« Reply #4 on: February 10, 2020, 16:15:57 »

Hello,

Are you going to unsolder the microswicht for control?

The WD56 can not go for me because the recommended power supply is 24v, I need 12v can it work?!, Let me know anyway about your assembly it can interest me too!

Is there any way to do something for this TB6600 driver by removing the microswitches?

https://robu.in/product/tb6600-stepper-motor-driver-controller-4-5a-850v-ttl-16-micro-step-cnc-single-axis/

Besides, is it possible that the 8825 can control four transistors at the output to pass more current, normally this should be doable right?

A + cordially

Pierre
Logged

py2ada

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Drivers TB6600
« Reply #5 on: February 10, 2020, 21:36:37 »

I did not remove the micro switch. I soldered a pair of wires in parallel on each micro switch.
This driver at minimum voltage is for 24 Volts. I have a separate source that powers the drivers and passes through some regulators to get 12V and 5V for the other steps.
The control of the relays I use is made with npn bc548 transistors.
The TB6600 driver would do the same thing. Receiving the signal M0 M1 M2 converting to S1 S2 S3 with arduino converting the received signals and controlling the relays.
I thought my driver would not work when connected and changing speeds. But it worked.
The only problem remains with the Astroeq configuration software. There it will still be configured as 4 steps / step (fast) and 32 steps / step (slow) and the rest of the configuration.
In my case I don't have a great gear ratio. I have to move on to bigger micro steps.
But I'm still in the testing phase. Much rain in my city has not yet provided an opportunity to check the results with stars.
Logged

ecc2000

  • Sr. Member
  • ****
  • Posts: 72
    • View Profile
Re: Drivers TB6600
« Reply #6 on: February 11, 2020, 16:36:40 »

Hello,

You would just have to change lines in the code and make a second firmware, but I don't know anything about it!

I could order a TB6600 and try it out for everyone, but without the code lines ....

The TB6600 are of better quality but they take up more space, it's okay but the whole mode could if find!

A +

Pierre
Logged

py2ada

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Drivers TB6600
« Reply #7 on: February 11, 2020, 18:06:10 »

For me the WD56 is serving well. Divide up to 1/256 per step I use for sidereal tracking and 1/32 per step I use for goto. The setup I assembled was like this: The arduino mega 2560 sends the commands M0 M1 M2 that goes to an arduino nano with a firmware that I programmed so that at the time of changing the speed it sends a command to a relay that controls the power of the RA drivers / DEC and later 2 other relays control the driver keys in the 1/32 and 1/256 configuration respectively. It was not necessary to change the firmware of the Arduino Mega 2560, just enable the speed change in the configuration utility.
Logged

ecc2000

  • Sr. Member
  • ****
  • Posts: 72
    • View Profile
Re: Drivers TB6600
« Reply #8 on: February 11, 2020, 18:53:39 »

How are the microsteps control connections on the WD56, are there any microswicht that need to be removed?

Can I do the same for my TB6600 pictured above!

Can you send me the Nano connections with the relays and the program to this address: pierre2e22@hotmail.com, if you don't mind!

Are you programming the Nano just with the Arduino IDE?

https://www.makerlab-electronics.com/?attachment_id=9708

Thank you very much

Pierre

Logged

py2ada

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Drivers TB6600
« Reply #9 on: February 12, 2020, 12:48:14 »

1)How are the microsteps control connections on the WD56, are there any microswicht that need to be removed?
=> No. Just leave respective in the off position

2)Can I do the same for my TB6600 pictured above!
=> Yes

3)Can you send me the Nano connections with the relays and the program to this address: pierre2e22@hotmail.com, if you don't mind!
=> yes i will send after finishing the tests here ok

4)Are you programming the Nano just with the Arduino IDE?
=> Yes



Logged

ecc2000

  • Sr. Member
  • ****
  • Posts: 72
    • View Profile
Re: Drivers TB6600
« Reply #10 on: February 12, 2020, 16:18:19 »

Ok thank you very much !!

Pierre
Logged

ecc2000

  • Sr. Member
  • ****
  • Posts: 72
    • View Profile
Re: Drivers TB6600
« Reply #11 on: March 08, 2020, 12:06:32 »

Hello,

Are the tests conclusive?

Can the code work in something else than the Nano card, for example in a mega2560 pro mini?

Have a good day,

Pierre
Logged