I was asked from a friend of mine, to make a system to rotate a big spool from his work, to avoid using an employee to turn it manually.
The machine had 2 spools with iron for an iron bending machine, so the motor should turn both of them (one at a time). I had to use spare items from his work, because he couldn't afford spending money on this. So i was used anything i could find from his old machines.
The electric power system to power the motor. Thermal overload and two relays (front-back), controlled by an arduino (not shown in image).
Originally, the machine is sending a signal to a brake system (with air), every time starts or stop. I used this to arduino, to start or stop the motor.
A machine similar to the one i worked on.
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
After many tries, i programmed the arduino to calculate the time and rotations for the first iron piece and then continue with the others. For example, if the machine needs 5 steps to complete the piece, the arduino rotate the motor five times, steps one back and continue with the other pieces only after it receives the signal. When the system stops or has a delay, the motor turns a bit back again, to avoid iron messing. I haven't this time the main board with the arduino attached on or the code i used. I will update this post if needed.