- WRONG code, stepper, motor shield, sensor problem x

Hello,

two stepper motors connect to motor shield, sensor connected to A0;

motors runs forward when sensor reacts;

problem 1 - only one motor runs, other vibrates, doesn't spin;

problem 2 - with 12v 5a power supply motor shield heats in seconds;

Please post a link to the datasheet for your motor shield. Many of those shields are really only intended for simple DC motors.

Also, post a link to the datasheet for your stepper motor.

...R
Stepper Motor Basics
Simple Stepper Code

kemanius:
L293d MOTOR DRIVER Arduino Uno Mega 2560 Stepper Driver Shield.

That is not a link to the datasheet

And an L293D is not a specialized stepper motor driver.

Also you have not posted a link to the datasheet for your motors so I cannot suggest a suitable driver.

...R