This is the PCB design and firmware for a Trinamic TMC2590-based stepper motor driver with an ESP32 microcontroller.
The firmware is Arduino based, using the arduino-esp32 port by Espressif.
- Install the official Arduino IDE from https://www.arduino.cc/en/software.
- Install the ESP32 core (either stable or development branch, using Board Manager).
- Install the required libraries (see below) using Arduino library manager.
- Clone this repository, and open ESP32Stepper/firmware/main/main.ino in the Arduino IDE.
- In Tools, use the following settings:
- Board: ESP32 Dev Module
- Port: serial port for the board
- All other settings as default (240 MHz CPU, 80 MHz flash, QIO, 4MB flash, default 4MB partition scheme, no PSRAM)
 
- Set motor-specific parameters in config.h
- Adafruit Neopixel 1.10.0x