Skip to content

Commit fd03983

Browse files
Add note about TMC stepper drivers (#5085)
* Add note about TMC stepper drivers * Fix formatting * Update index.rst --------- Co-authored-by: Djordje Mandic <[email protected]>
1 parent b249711 commit fd03983

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

components/stepper/index.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,20 @@ Configuration variables:
8181
number: GPIOXX
8282
inverted: true
8383
84+
.. note::
85+
86+
TMC drivers are pin-compatible with the A4988, but instead of a ``SLEEP`` pin they expose an ``ENABLE`` pin.
87+
When using a TMC driver with the ``a4988`` platform you therefore need to invert the ``sleep_pin``:
88+
89+
.. code-block:: yaml
90+
91+
stepper:
92+
- platform: a4988
93+
# ...
94+
sleep_pin:
95+
number: GPIOXX
96+
inverted: true
97+
8498
ULN2003 Component
8599
-----------------
86100

0 commit comments

Comments
 (0)