henriquefchaves / ESP32-TMC_StepperDriver_UART

Library for ESP32 to control Trinamic TMC2208 via UART interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP-IDF library for TMC stepper driver (TMC2208 and TMC2209)

Updated library from Harald

Microstep definitions fix

Order was wrong

ESP32 library for Trinamic TMC2208 stepper motor driver

For the Zyklochron, I replaced the simple Darlington drivers with a TMC2208. Initially I ran the module in legacy mode. One motor alone ran absolutely silently, but as soon as both motors were running, a kind of whistling noise was heard. Possibly some kind of resonance. So I wanted to address the TMC2208 via the UART interface to solve the problem by fine tuning the parameters. Therefore I wrote this simple library to be able to address the TMC2208 with an ESP32.

You can find a detailed description on my website

Tested in Sparkfun Thing Plus and ESP32-S3-DevKitC-1 v1.1

About

Library for ESP32 to control Trinamic TMC2208 via UART interface


Languages

Language:C 97.3%Language:Dockerfile 1.8%Language:CMake 0.9%