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
2
2
3
3
on :
4
4
push :
5
- paths :
6
- - ' **.kicad_sch '
7
- - ' **.kicad_pcb '
5
+ branches :
6
+ - main
7
+ - develop
8
8
pull_request :
9
- paths :
10
- - ' **.kicad_sch '
11
- - ' **.kicad_pcb '
12
-
9
+ branches :
10
+ - main
11
+ - develop
12
+
13
13
jobs :
14
14
release :
15
15
runs-on : ubuntu-latest
16
16
container :
17
17
image : ghcr.io/inti-cmnb/kicad9_auto_full:latest
18
- # permissions:
19
- # contents: write
18
+ permissions :
19
+ contents : write
20
20
steps :
21
21
- name : Checkout
22
22
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ current state: untested :warning:
4
4
5
5
inspired by [ joshr120/PD-Stepper] ( https://github.com/joshr120/PD-Stepper ) but being fully open hardware/software.
6
6
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.
8
8
9
9
## Main Features:
10
10
- ** ESP32-S3**
11
11
- alternatively a LM555 pulse generator can be used.
12
12
- ** USB Power Delivery** providing up to 20V operation
13
13
- alternatively 9-24 Volt external supply
14
- - ** TMC2209 ** silent stepper motor driver
15
- - optional
14
+ - ** TMC2208 ** silent stepper motor driver
15
+ - optional
16
16
- rotary encoder:
17
17
- ** AS5048B** 14-Bit angular position sensor
18
18
- ** MPU-9250** 9-axis motion sensor
Original file line number Diff line number Diff line change 20
20
21
21
title : ESP32STEPPER
22
22
email : stefan.herold@posteo.de
23
- 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."
24
24
baseurl : " esp32stepper" # the subpath of your site, e.g. /blog
25
25
url : " " # the base hostname & protocol for your site, e.g. http://example.com
26
26
github_username : nerdyscout
Original file line number Diff line number Diff line change 1
1
2
2
external_components :
3
3
- source : github://slimcdk/esphome-custom-components
4
- components : [tmc2209_hub, tmc2209 , stepper]
4
+ components : [tmc2208_hub, tmc2208 , stepper]
5
5
# - source:
6
6
# type: local
7
7
# path: components
@@ -15,14 +15,11 @@ esphome:
15
15
board_build.flash_mode : dio
16
16
upload_speed : 921600
17
17
on_boot :
18
- - tmc2209 .configure :
18
+ - tmc2208 .configure :
19
19
microsteps : 4
20
20
direction : clockwise
21
21
interpolation : true
22
- tcool_threshold : 400
23
- - tmc2209.stallguard :
24
- threshold : 60
25
- - tmc2209.currents :
22
+ - tmc2208.currents :
26
23
irun : 16
27
24
ihold : 0
28
25
tpowerdown : 0
94
91
rx_pin : GPIO18
95
92
baud_rate : 115200
96
93
97
- tmc2209_hub :
94
+ tmc2208_hub :
98
95
id : tmc_hub
99
96
uart_id : serial_stepper
100
97
@@ -137,9 +134,9 @@ light:
137
134
to : 1
138
135
139
136
stepper :
140
- - platform : tmc2209
137
+ - platform : tmc2208
141
138
id : driver
142
- tmc2209_hub_id : tmc_hub
139
+ tmc2208_hub_id : tmc_hub
143
140
max_speed : 800 steps/s
144
141
acceleration : 1500 steps/s^2
145
142
deceleration : 1500 steps/s^2
@@ -154,16 +151,17 @@ stepper:
154
151
- logger.log :
155
152
format : " Driver is reporting an update! (code %d)"
156
153
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
167
165
168
166
button :
169
167
- platform : restart
@@ -219,10 +217,10 @@ sensor:
219
217
filters :
220
218
- multiply : 8.47742
221
219
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
226
224
227
225
# - platform: as5048b
228
226
# id: my_as5048b
Original file line number Diff line number Diff line change 1
1
site : 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.
3
3
readme : README.md
4
4
bom : docs/bom/esp32stepper-octopart.csv
5
5
eda :
You can’t perform that action at this time.
0 commit comments