There are easier solutions that involve fewer parts. In particular there is the VID27-05 (https://www.aliexpress.us/item/3256803510816905.html) which is a dual stepper motor, driven off 5 volts which is designed for (car?) instrument clusters. They come with the builtin endstop and are dirt cheap. As I recall, you can drive these directly from the pins of an ESP8266 (and, I guess, the ESP32).