Gig for Hire - Paid (TMC2209 StallGuard Integration & ESP32c3 - Linear Actuator Control)

Hi there. I am willing to pay someone to help develop the wiring diagram (fritz if possible) and code for a project I am doing.

It is a simple linear actuator utilizing a Nema 17 stepper motor, a T8 lead screw 2mm pitch, and a T8 nut. The program is simple. The actuator will be in the home position (end stop within the assembly) the user will press a button to start the program which will extend the actuator until it encounters a certain load XXlbs. Once it sees XXlbs it will retract back to the home position and stall out on the end stop and reset the program. The secondary condition is that if it extends to 13mm and doesn’t detect a load it will retract and return to home the same way as it if did see a load. I have been trying to do this with the StallGuard functionality of the TMC2209 (BigTreeTech V1.3) but have not been able to get it working properly even with the help of AI. Once StallGuard gets put into the mix we can’t make any headway. I am trying to avoid using load cells or FSR’s in the actuator as I don’t think they are necessary once I calibrate the stall conditions.

If you want to name your price to help do this full service for me please reach out! Feel free to ask me additional questions as well if you need more information. Payment will be contingent on if and when we get it to work.

Current Hardware:

  • XIAO ESP32c3

  • BigTreeTech TMC2209 V1.3 UART

  • Nema 17 stepper motor (1.5A)

Thank you,

Cody

Why not just use a limit switch?

I could use a limit switch on the back end stop but for the extension side I am wanting extend to a known load. 30-50 lbs. I don't want to use a force sensor since it would be difficult to integrate into my setup.

I am sure you are aware that a stepper can be moved to a very precise location, which is why they are used on 3D printers. What you might be able to do is have a calibration sub-routine that starts the motor at a known zero spot, then advances x steps, where a temporary load sensor measures the pressure. You could measure several pressure spots so the AI sketch could apply any pre-configured pressure needed.

Yup! I am aware of how steppers work. The problem comes when the motor begins skipping steps under load so some sort of homing is needed on the backend to get back to “Home”. StallGuard on the TMC2209 stepper drivers can achieve exactly what I'm trying to do I just haven't been able to integrate it in the way I want yet.

-Cody

If you are experienceing 'skipping' then the torque is too low. You will need to increase the torque through some sort of gearing to prevent that.

Hey! Your setup is totally doable with the TMC2209, StallGuard just needs proper tuning, and once it’s dialed in you won’t need load cells. I can help you figure out the wiring, the code, and the stall-detect calibration. What kind of budget do you have in mind so I can see how to fit your project?