File tree Expand file tree Collapse file tree 8 files changed +9493
-8754
lines changed Expand file tree Collapse file tree 8 files changed +9493
-8754
lines changed Original file line number Diff line number Diff line change @@ -2,21 +2,21 @@ name: Release
22
33on :
44 push :
5- paths :
6- - ' **.kicad_sch '
7- - ' **.kicad_pcb '
5+ branches :
6+ - main
7+ - develop
88 pull_request :
9- paths :
10- - ' **.kicad_sch '
11- - ' **.kicad_pcb '
12-
9+ branches :
10+ - main
11+ - develop
12+
1313jobs :
1414 release :
1515 runs-on : ubuntu-latest
1616 container :
1717 image : ghcr.io/inti-cmnb/kicad9_auto_full:latest
18- # permissions:
19- # contents: write
18+ permissions :
19+ contents : write
2020 steps :
2121 - name : Checkout
2222 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ current state: untested :warning:
44
55inspired by [ joshr120/PD-Stepper] ( https://github.com/joshr120/PD-Stepper ) but being fully open hardware/software.
66
7- Stepper motor controller using Trinamic TMC2209 , ESP32-S3 and USB-PD mountable onto any NEMA17 motor.
7+ Stepper motor controller using Trinamic TMC2208 , ESP32-S3 and USB-PD mountable onto any NEMA17 motor.
88
99## Main Features:
1010- ** ESP32-S3**
1111 - alternatively a LM555 pulse generator can be used.
1212- ** USB Power Delivery** providing up to 20V operation
1313 - alternatively 9-24 Volt external supply
14- - ** TMC2209 ** silent stepper motor driver
15- - optional
14+ - ** TMC2208 ** silent stepper motor driver
15+ - optional
1616 - rotary encoder:
1717 - ** AS5048B** 14-Bit angular position sensor
1818 - ** MPU-9250** 9-axis motion sensor
Original file line number Diff line number Diff line change 2020
2121title : ESP32STEPPER
222223- description : " Stepper motor controller using TMC2209 , ESP32-S3 and USB-PD mountable onto any NEMA17 motor."
23+ description : " Stepper motor controller using TMC2208 , ESP32-S3 and USB-PD mountable onto any NEMA17 motor."
2424baseurl : " esp32stepper" # the subpath of your site, e.g. /blog
2525url : " " # the base hostname & protocol for your site, e.g. http://example.com
2626github_username : nerdyscout
Original file line number Diff line number Diff line change 11
22external_components :
33 - source : github://slimcdk/esphome-custom-components
4- components : [tmc2209_hub, tmc2209 , stepper]
4+ components : [tmc2208_hub, tmc2208 , stepper]
55# - source:
66# type: local
77# path: components
@@ -15,14 +15,11 @@ esphome:
1515 board_build.flash_mode : dio
1616 upload_speed : 921600
1717 on_boot :
18- - tmc2209 .configure :
18+ - tmc2208 .configure :
1919 microsteps : 4
2020 direction : clockwise
2121 interpolation : true
22- tcool_threshold : 400
23- - tmc2209.stallguard :
24- threshold : 60
25- - tmc2209.currents :
22+ - tmc2208.currents :
2623 irun : 16
2724 ihold : 0
2825 tpowerdown : 0
9491 rx_pin : GPIO18
9592 baud_rate : 115200
9693
97- tmc2209_hub :
94+ tmc2208_hub :
9895 id : tmc_hub
9996 uart_id : serial_stepper
10097
@@ -137,9 +134,9 @@ light:
137134 to : 1
138135
139136stepper :
140- - platform : tmc2209
137+ - platform : tmc2208
141138 id : driver
142- tmc2209_hub_id : tmc_hub
139+ tmc2208_hub_id : tmc_hub
143140 max_speed : 800 steps/s
144141 acceleration : 1500 steps/s^2
145142 deceleration : 1500 steps/s^2
@@ -154,16 +151,17 @@ stepper:
154151 - logger.log :
155152 format : " Driver is reporting an update! (code %d)"
156153 args : ["code"]
157- on_stall :
158- - logger.log : " Motor stalled!"
159- - stepper.stop : driver
160- - light.turn_on :
161- id : led_rgb
162- transition_length : 0s
163- - delay : 250ms
164- - light.turn_off :
165- id : led_rgb
166- transition_length : 1s
154+ # only supported by TMC2209
155+ # on_stall:
156+ # - logger.log: "Motor stalled!"
157+ # - stepper.stop: driver
158+ # - light.turn_on:
159+ # id: led_rgb
160+ # transition_length: 0s
161+ # - delay: 250ms
162+ # - light.turn_off:
163+ # id: led_rgb
164+ # transition_length: 1s
167165
168166button :
169167 - platform : restart
@@ -219,10 +217,10 @@ sensor:
219217 filters :
220218 - multiply : 8.47742
221219
222- - platform : tmc2209
223- type : motor_load
224- name : Motor load
225- update_interval : 250ms
220+ # - platform: tmc2209
221+ # type: motor_load
222+ # name: Motor load
223+ # update_interval: 250ms
226224
227225 # - platform: as5048b
228226 # id: my_as5048b
Original file line number Diff line number Diff line change 11site : https://nerdyscout.github.io/esp23stepper/
2- summary : Stepper motor controller using TMC2209 , ESP32-S3 and USB-PD mountable onto any NEMA17 motor.
2+ summary : Stepper motor controller using TMC2208 , ESP32-S3 and USB-PD mountable onto any NEMA17 motor.
33readme : README.md
44bom : docs/bom/esp32stepper-octopart.csv
55eda :
You can’t perform that action at this time.
0 commit comments