mirror of https://github.com/arendst/Tasmota.git
Updated A4988 Stepper Motor Controller (markdown)
parent
865af6dec5
commit
b18795c814
|
@ -10,17 +10,17 @@ Connector | Description
|
|||
:-:|-
|
||||
DIR|Direction of rotation
|
||||
STEP|Initiate stepping
|
||||
SLP| Sleep (not implemented)
|
||||
RST| Reset (not implemented)
|
||||
MS3|
|
||||
MS2|Set microstep increment 1/1 to 1/16th
|
||||
MS1|
|
||||
SLP|Sleep (not implemented)
|
||||
RST|Reset (not implemented)
|
||||
MS1|Microstep increment select
|
||||
MS2|Microstep increment select
|
||||
MS2|Microstep increment select
|
||||
EN|Enable the power supply for the motor
|
||||
|
||||
There are six corresponding GPIO components for this Tasmota driver. These should be configured to free GPIO pins of the device using a Template or Module:
|
||||
There are six corresponding GPIO [components](Components) for this Tasmota driver. These should be configured to free GPIO pins of the device using a [Template](Templates) or [Module](Modules):
|
||||
`A4988 DIR (170)`
|
||||
`A4988 STP (171)` (step)
|
||||
`A4988 ENA (172)` (enable)
|
||||
`A4988 STP (171)`
|
||||
`A4988 ENA (172)`
|
||||
`A4988 MS1 (173)`
|
||||
`A4988 MS2 (174)`
|
||||
`A4988 MS3 (175)`
|
||||
|
@ -30,7 +30,7 @@ The minimal configuration for the A4988 are the `DIR` and `STEP` signals. In suc
|
|||
## Use cases
|
||||
The cheap auto-feeder for my cats broke. It was a fancy plastic-thingy with voice-recording-function & programmable to feed several times a day after playing back your voice (cats don't give a sh$7 for your voice - they come when they hear the food falling into the bowl). It was never precise - a concern for the amount of nutrition it gave the cats. And it was not reliable, as the torque of the internal moving mechanism was insufficient to spin the separator/proportioning wheel through the food reliably. In addition, the batteries were always drained in a day meaning very grumpy cats when we returned!
|
||||
|
||||
Thus the wish to install a high-torque stepper-motor (with shifting gear) was born. I could power it with mains instead of relying on a battery, control it over WiFi from my smarthome automation hub. Tasmota now offers a way to do this!
|
||||
Thus the wish to install a high-torque stepper-motor (with shifting gear) was born. I could power it with mains instead of relying on a battery, control it over WiFi from my home automation hub. Tasmota now offers a way to do this!
|
||||
|
||||
The **"TasmotaSmartCatFeeder"** circuit consists of a WeMos D1 mini, a A4988 controller, and two power supplies (5V&12V). This all fits into the housing of the feeder and costs less than 50€!
|
||||
|
||||
|
|
Loading…
Reference in New Issue