The THB6064AH is one of the most robust, powerful, stepper drivers around. This driver, and the RAMPS adapter cable for it, enabled the first house sized cement 3D printer in the USA, and then got the guys behind the ICON house printer going when they were fresh out of college.
Sadly, finding the REAL chip (vs knockoffs) has become quite difficult. The fakes give the real chip a bad name, and make this project more or less useless. I'm mostly posting it here to document the good stuff I've done over the years. ,o)
Components
1×
ELCO 08055C104KAT4A
Cap Ceramic 0.1uF 50V X7R 10% SMD 0805 125C Paper T/R
1×
ELCO 0805YC334MAT2A
CAP CER 0.33UF 16V 20% X7R 0805
1×
ELCO 0805ZD106KAT2A
CAP CER 10UF 10V 10% X5R 0805
2015: Andrey made a Monster (it over fills his two car garage) 3D printer that extrudes cement. And that was just the model for the full sized one! He started print "tiny home" sized buildings, but the current version prints full sized suites for resort hotels. And what driver is running this beast? Our THB6064AH driver, of course!
"His big printer needed big NEMA34 stepper motors, far beyond the current capacity of the stock RAMPS stepper drivers. [Andrey] got in touch with [James] at MassMind who helped him with an open source THB6064AH based driver. [James] even came up with an adaptor cable and PCB which makes the new drivers a drop-in replacement."
http://hackaday.com/2014/05/29/man-builds-concrete-3d-printer-in-his-garage/
'For a big printer, I need special drivers that can handle the heavy weight of the machine as well as be compatible with the software/firmware. The best fit I found was from James Newton's Mass Mind. These drivers ended up being the only ones to work properly with Marlin Firmware (I sampled other drivers, which failed), and were powerful enough to move such a huge printer.' Rudenko added.
http://americankabuki.blogspot.nl/2014/09/minnesotan-man-builds-worlds-first-3d.html
Andrey's machine was last seen in the P.I. printing 2-bedroom villas for a resort hotel there. The extruder has been upgraded (very wiz-bang now!) and the machine is bigger now, but still running fast and smooth.
http://makezine.com/2015/09/14/3d-printed-2-bedroom-villa/
The problem is that now the versions of this chip you can buy on Aliberber or whatever are all fakes. Here's what I got last time I tried to buy them from "the usual suspects"
As far as I know, the original chip was designed by this company: http://www.hhbytech.com/en/product-details.aspx?category=2&id=7 and I managed to buy them from yumin2191@163.com for years. I paid less than $10 each, but then had to pay a huge shipping fee to get DHL and import fees on top of that. I don't see ANY reliable sources for the chip.
If you decide to built it, for god sake, try to get it from the original MFGR.
1. [ ] Surface mount Resistors. There are only two surface mount devices on this board, unless you count the driver chip as SMT because of the way it's being mounted. The components are large compared to most SMD and they really are easy to solder. The only trick is that there are no holes to hold the components in place by the leads, so you need some way to keep them in place while you solder. Almost anything that has 3 or 4 corners and won't melt can be used. A metal box, a heat sink, an aluminum extrusion, … anything. Probably the best is made from vice grips and a screw driver tip. If you don't have vice grips, wrap a rubber band around the far end of the handle of a pair of pliers. Or just tape one side of the part down with clear tape!
Once the part is held down in position, touch the pad, next to the end of the part, solder, flow, off. Solder one side of each part, check position, solder the other side.
3. [ ] Variable Resistor: This is the drive current adjustment. It can be installed either way but being able to get in there to turn it is the trick. Make sure you will be able to get to it after installing the other components. Take care not to melt the case by letting each lead cool a bit after soldering. If you like, you can even bend the leads on the variable resistor and install it flat agasint the PCB, with the shaft up.
4. [ ] Logic power options: There are 3 ways to get logic power, please select one:
External logic power via the PMinMO header: Nothing needs to be done to the PCB, just supply 5 volts via pin 9 (with ground on pin 7 or 2,4,6,8,10). The PMinMO header can be connected to the 4Axis board, or directly to a PC parallel port cable. You can provide power on that PMinMO header from the 4 Axis board, a USB port, or your own 5+ regulated power source. On the version 1.3 board, with VM greater than 35 volts, this is the necessary option.
Logic power without fan via VM+ < 35 volts: The onboard 5 volt regulator can supply the small logic current required from VM+ up to about 35 volts^. This is NOT recommended for the full possible 50 volts the drive can accept; in that case, supply external logic power as above. In this configuration the fan connector will be VM+ so the fan has to be able to accept the drive voltage or have a separate supply. For this option, clip off part of a lead from the large capacitor to short the two pins of U2 furthest from the edge of the board (nearest the "ERR" silkscreen) as shown here: TODO: Picture. Keep in mind, you will be applying >9 volts to VM+ when testing logic power below.
FAN Power regulator (Option): To use the FAN connector on the PCB, you need to install the large TO-220 LM317HVT or AHVT. This can manage the up to 50 volt motor supply and produce 12 volts at a high enough amperage to run most CPU fans. ERRATTA: There is an error in the values populated on the version 1.3 board: R8 is 240 ohm and R9 is 680. This results in the output of the regulator being 5 volts, which will not provide enough headroom for the already polulated LM7805 regulator to generate logic power. R9 must be changed to 2K2 ohms.
If you do install the onboard logic power regulator option, the LM317 goes in U2, with the tab towards the outside of the PCB. The tab must be electrically isolated from ground, so a mica insulator must be installed between the tab and the heatsink, and a shoulder washer should be used to keep the mounting bolt from touching the hole in the tab. Keep in mind, you will be applying >16 volts to VM+ when testing logic power below.
5. [ ] VRef Test Point: Form loops from a couple clipped leads and push both ends into the hole for the VREF test point just behind the motor power terminals.
6. [ ] Jumpers: When you solder on the 2x5 header for the options jumpers and the shrouded 2x5 PMinMO header, it's a good idea to bounce around in the pin order rather than just going down the line. It keeps the plastic from getting soft and perhaps not holding the pins straight. If you have the mating female connector handy, plug it in while soldering. Note the notch in the shrouded header is away from the edge of the board. Option 1 is away from the edge, next to the power cap. Option 5 is near the edge of the PCB.
7. [ ] Terminal Blocks: Slide two of the three terminal blocks together so that the rail and groove interlock.
4. [ ] Capacitor: The large electrolytic cap goes in with the long lead in the square hole, and the stripe side towards the round hole. It can be installed all the way down on the PCB for physical stability. And it's probably best to set it aside and come back to it after you have done all the other components. Save the clipped off extra leads for use as jumpers in the logic power section.
Assembly time to this point is about 20 minutes.
3
Preliminary Inspection and Test:
11. [ ] At this point, without the chip installed, do a visual inspection, preferably with a magnifying glass. If you want to be extra careful, you can check the resistances to ground at the pads where the main chip will be soldered on. Note: This table assume no option jumpers are in place. If they are, the DCY# and M# pins will be <0.2 instead of 12K. Pin 1 is on the left looking from the top with the chip away from you.
VREF = ~470 to ~4K as the trim pot is turned
Note: ~15K is 10-20K. VMA/B expect C1 dischanged
BOTTOM:
Pin Signal Pad* Normal 2GND SGND 1 <0.2
4 DCY2 2 ~15K or <0.5
6 VMB 3 ~3M5
8 M2 4 ~12K or <0.5
10 Out2B 5 10K
12 Out1B 6 10K
14 Out2A 7 10K
16 Out1A 8 10K
18 EN 9 ~15K
20 VMA 10 ~3M5
22 DIR 11 ~15K
24 VDD 12 >5K
Normal readings are not exact.
*Pad is the pad count on that side.
If using PMinMO header, apply 5V logic power at pin 9. Otherwise, apply motor power to VM+. Now the 5V logic power system can be checked, the +5v led should be on and the Vref can be measured and adjusted to a low value: 0.4-0.5V. Power off and prepare for finally assembly.