interpolation: true
tcool_threshold: 400
- tmc2209.stallguard:
- threshold: 70 #set lower if stall gaurd triggering too often
+ threshold: ${stallguard_threshold} #set lower if stall gaurd triggering too often
- tmc2209.currents:
ihold: 0
tpowerdown: 0
iholddelay: 0
# irun: 16
- run_current: 20m #Set your desired current here (800m = 800mA, 1 = 1A etc.)
+ run_current: ${run_current} #Set your desired current here (800m = 800mA, 1 = 1A etc.)
standstill_mode: coil_short_ls
# set PD voltage # 5V 9V 12V 15V 20V
stepper:
- platform: tmc2209
id: motor
- max_speed: 750 steps/s
+ max_speed: ${max_speed}
acceleration: 400 steps/s^2
deceleration: 400 steps/s^2
rsense: 100 mOhm
name: "landing-blind-3"
encoder_closed_pos: "230000" # full blinds length (in encoder counts) !! CHANGE TO SUIT YOUR SETUP !!
microsteps: "2"
+ run_current: "100m"
+ max_speed: "750 steps/s"
+ stallguard_threshold: "70"
packages:
blind: !include blind.yaml