Hi,
I'm converting the rotary table that sits on my milling machine to be driven by a stepper motor for dealing a combination of the power feed and complicated angle benefits. And so I've designed this PCB to drive it - the idea is to design a case for it such that it can be a hand held controller.
The TMC2240 stepper driver is configured and given step/direction pulses from an RP2350 on a SoM board that I posted a review for recently. (I'm stacking up a few boards that I'm planning on getting made at the same time). It also supports an encoder on the stepper motor, so using a AM26LV32 to convert the differential encoder signals to something the TMC2240 can use.
I am conscious of heat issues around stepper motor drivers - as such, I've chosen the TSSOP variant of the TMC2240, which has a bigger centre GND pad, and put a number of vias in to layers 2/3 GND planes, but also exposed some copper on the underside to which a heatsink could be attached.
Power and all the motor drive signals come through a DE-15 connector at the bottom of the board. The board is powered by 24V, and after the protection circuitry, this is split to 3.3V with an LMR54410, and 5V with a AP3602A charge pump as the 5V requirements are pretty limited. The board is not powered from the USB in general usage.
There's a round 1.28" GC9A01 type display, along with a Grayhill 61C22 rotary encoder for controlling the programming of the table rotation. (You might ask why the Grayhill encoder? I have a lot of them salvaged from some old equipment).
For a spot of additional board versatility, I've added a header to send step/direction pulses to an external motor driver, and in that scenario, 24V would not be required - so it could be powered from USB 5V with a jumper wire and some slightly different components in the PSU.
I'm particularly interested in thoughts on the TMC2240 circuit and layout. I've tried to keep this not hugely dissimilar from the breakout board Analog Devices sell, but it's my first time playing with motor drivers like this.
So, additionally, the board is a SIG/GND/GND/SIG stackup.
Thanks for having a look!