Skip to content

Commit 72fa360

Browse files
committed
update
1 parent 86f3ef4 commit 72fa360

File tree

8 files changed

+9493
-8754
lines changed

8 files changed

+9493
-8754
lines changed

.github/workflows/release.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ name: Release
22

33
on:
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+
1313
jobs:
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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ current state: untested :warning:
44

55
inspired 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

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
title: ESP32STEPPER
2222
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."
2424
baseurl: "esp32stepper" # the subpath of your site, e.g. /blog
2525
url: "" # the base hostname & protocol for your site, e.g. http://example.com
2626
github_username: nerdyscout

firmware/esphome/esp32stepper.yaml renamed to firmware/esphome/esp32stepper_tmc2208.yaml

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
external_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
@@ -94,7 +91,7 @@ uart:
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

139136
stepper:
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

168166
button:
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

kitspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
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.
33
readme: README.md
44
bom: docs/bom/esp32stepper-octopart.csv
55
eda:

0 commit comments

Comments
 (0)