I have an stepper motor, and a stepper driver Uln2003a which is connected to an esp8266.
the esp8266 is powered via usb, and the stepper motor is powered via the driver, which is then powered by an external power source providing it a bit more than 12 volt. When powered on the LED D1 and D2 lights red.
pins - d0,d1,d2,d3 are used for input signal for the drive, the stepper board.
Everything should be connected correctly, but for some reason am I not able to make my stepper motor move? it doesn't react on any of my commands - why?
I suspect that the logic level might have to be 5v instead of 3 v? but i've seen stepper motors been driven by a esp before? so why does this not work? any suggestions?
any ways to debug?
esphome: name: steppermotor platform: ESP8266 board: d1_mini wifi: ssid: "ssid" password: "password" # Enable logging logger: # ESPHome configuration api: services: - service: control_stepper variables: target: int then: - stepper.set_target: id: my_stepper target: !lambda 'return target;' # Example configuration entry stepper: - platform: uln2003 id: my_stepper pin_a: D0 pin_b: D1 pin_c: D2 pin_d: D3 max_speed: 250 steps/s acceleration: inf deceleration: inf