| .. | ||
| Basic_Functionality_Test | ||
| ESP-NOW | ||
| ESPHome | ||
| PD_Stepper_Web_Server | ||
| Simple_Button_Control | ||
| README.md | ||
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"
ESPHome:
The PD-Stepper-Blinds-Advanced.yaml config file uses the custom TMC2209 component by slimcdk. It also uses the AS5600 encoder so that if the blinds are manually moved it will not lose its end positions. Thanks to the custom componenet the example can also be modified to use stall gaurd for sensorless homing. PD voltage can be configured and it set an startup.
The PD-Stepper-Blinds-Simple.yaml config file simply treats the TMC2209 as a a4988 driver. The microsteps and PD voltage are set at startup by GPIO pins and the motor is driven via the STEP and DIR pins.
The PD-Stepper-Position-Control.yaml config also uses the custom TMC2209 component by @slimcdk. It is a more stripped down version of PD-Stepper-Blinds-Advanced.yaml allowing you to set the position of the motor using a simple slider. A good base for use cases other than blinds.
These examples also present the buttons, LEDs, power good and bus voltages to the ESPHome interface so you can do what you like with them.