I have a stepper motor, and a Uln2003a stepper driver, 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 I am 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 3v. But I've seen stepper motors being driven by an 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