Hi all.
I'm working on a simple project with a NEMA17 stepper motor driven by a TMC2208 driver connected to an ESP32. All is powered though a 12V 16A external power supply, directly to the stepper and through a LM-2596 (5V buck converter to the board).
Here the schematic:
Stepper motor: https://www.amazon.it/dp/B0B38H2ZMR?psc ... ct_details
Stepper driver: https://www.amazon.it/dp/B07GJ7L48H?psc ... ct_details
If I power the esp32 and after connect the stepper to the 3v output and ground everything works perfectly . If the order is inverted or they are powered together (as in the wiring) the ESP32 enter a infinite reboot loop and the motor vibrates heavily. I tested using different powering options but it seems to boiler down to the order, like if some kind of current is flowing from the stepper back to the board and this interferes with the booting process. I'm not an expert on electronics, so I couldn't come up with more testing/debugging options. Would appreciate some help.
Powering order of Stepper motor and Esp32 board
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Powering order of Stepper motor and Esp32 board
At least IO12 is a bootstrap pin. Do you still have the behaviour if you connect the signal there to a different GPIO?
Re: Powering order of Stepper motor and Esp32 board
Hi @ESP_Sprite, you were right, that was the issue, changing to a different PIN works and now I can drive 2 motor too without any issue. Thanks for your help!
Who is online
Users browsing this forum: No registered users and 68 guests