PD-Stepper/Software
2024-10-26 16:38:12 +13:00
..
Basic_Functionality_Test Serial Fix 2024-10-26 16:36:18 +13:00
ESP-NOW Serial Fix 2024-10-26 16:36:18 +13:00
ESPHome ESPHome example updated to include LED control and read VBUS voltage 2024-07-01 21:51:57 +12:00
PD_Stepper_Web_Server Serial Fix 2024-10-26 16:36:18 +13:00
Simple_Button_Control Serial Fix 2024-10-26 16:36:18 +13:00
README.md Update Software README.md 2024-10-26 16:38:12 +13:00

PD Stepper - More Software Info

Arduino Upload settings:

When uplooading software with the Arduino IDE ensure you have firtst installed the ESP32 Add-on in Arduino IDE there are many tutorials on how to do this.

The Board type should be set as "ESP32S3 Dev Module"

USB CDC on Boot should be set to "Enabled"

upload settings

ESPHome:

The current ESPHome .yaml config file treats the TMC2209 as a a4988 driver as there is no TMC2209 intergration yet. The microsteps and PD voltage are set at startup by GPIO pins and the motor is driven via the STEP and DIR pins. A future intergration could allow for advanced TMC2209 features such as sensorless homing (Could also manually talk to the TMC2209 with the UART Bus component)

Other interfaces exposed to ESPHOME include the POWER GOOD signal, this is a signal indicating the PD Stepper is getting the requested voltage from the USB power supply. The 3 buttons on the side are also set up is binary sensors and the encoder position is read using the AS5600 component.