Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use all the features of TMC2209 straight from an Arduino Uno or an ESP32 (classic)? Or is an extra motor controller (such as the CNC shield)? #279

Open
01GOD opened this issue Jun 23, 2023 · 2 comments

Comments

@01GOD
Copy link

01GOD commented Jun 23, 2023

Is it possible to use all the features of TMC2209 straight from an Arduino Uno or an ESP32 (classic)? Or is an extra motor controller (such as the CNC shield)?
And if extra hardware is necessary, why?

Thanks in advance for answering soon!

@daniel-frenkel
Copy link

@01GOD Yes it is, no extra hardware is required. The ESP32 is far superior for running a stepper motor because it has built in hardware to do it

@yagnik
Copy link

yagnik commented Sep 1, 2023

@01GOD esp32 gpio pins are rated 40 mA ( happy path at 20 mA ) with 3.3V.
Most stepper motors are rated higher ( > 1A for 3d printers as an example ) so some additional circuitry would be needed in order to drive enough current in the coil.
For this reason, generally a driver is needed which can pass higher power to the coils.
The esp32 can still be used to provide a pwm signal (by manually building the signal or using the ledc or motorpwm channels ) along with 2209 to provide power.

Not directly needed but additional:

  • tmc 2209 does not provide ramping up/down ( acceleration ) so that has to be handled manually or a different driver has to be used like tmc 5160.
    Hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants