Firmware for Wemos D1 mini (ESP8266) board
controlling single stepper motor module (A4988)
without extra stepper libraries
with minimum pins used.
Used pins to connect driver module with D1 mini:
DIR - logic direction
and
STP - signal for step
and
GND - ground
Minimum pins: "G" and "S". "D" is not obligatory in case you want move only one direction (default).
Tested 1.5A stepper motor (17HD40005-22B model). Motor powered by 3A.max 10V source. Chip (A4988) powered by 1A.max 5V source.
Update #1:
Added optional joystick (KY-023) support for speed control and start\stop repetable motion.
Added optional encoder (KY-040) support for speed control and start\stop repetable motion.
Added endstop support for initial stepper motor position reference, and pause motion in case of limit reached (or pressed manually).