tpowerdown: 0
iholddelay: 0
# irun: 16
- run_current: 800m #Set your desired current here (800m = 800mA, 1 = 1A etc.)
+ run_current: 100m #Set your desired current here (800m = 800mA, 1 = 1A etc.)
standstill_mode: coil_short_ls
# set PD voltage # 5V 9V 12V 15V 20V
external_components:
- source: github://slimcdk/esphome-custom-components
components: [tmc2209_hub, tmc2209, stepper]
+ refresh: 0s
mqtt:
on_connect:
stepper:
- platform: tmc2209
id: motor
- max_speed: 600 steps/s
+ max_speed: 500 steps/s
acceleration: 400 steps/s^2
deceleration: 400 steps/s^2
rsense: 100 mOhm
filters:
- multiply: 8.47742
+ - platform: tmc2209
+ type: motor_load
+ name: Motor load
+ update_interval: 250ms
+ filters:
+ delta: 1
+
+ - platform: tmc2209
+ type: stallguard_result
+ name: StallGuard result
+ update_interval: 250ms
+ filters:
+ delta: 1
+
+ - platform: tmc2209
+ type: actual_current
+ name: Actual current
+ update_interval: 250ms
+ filters:
+ delta: 1
+
cover:
- platform: template
id: pd_blinds