How to connect linear actuator and Motor stepper shield to same Uno board?

Hi Guys,

I'm making the Arduino bartender project; however, I'm not able to get the linear movement of the stepper motor to push the liquor dispenser to release the liquid. Is there any way to connect linear actuator/servo/stepper motor and Motor shield V1 or V2 to the arduino uno board so that they both can work from the same arduino uno board?

Read the advicing topics "How to use the Forum", "How to attach ……"
Attach schematics, code and links to all hardware.

Run the examples coming with the motor shield?

Hi Railroader & DrDiettrich,

Thanks for your reply. I'm trying to make the bartender project. Final image attached below. The issue is when I connect two stepper motor to same port M3/M4 both the motors do not run at same speed, time due to which I'm unable to create a linear actuator like movement to disperse liquid from the liquid dispenser.

Final project image:

Linear movement

Circuit Diagram

Connections:

Parts used:

Power supply:

Stepper motor:

Motor shieldV1:

Motor Shield V2:

The issue is when I connect 2 stepper motor to M1/M2 or M3/M4 the board gets overloaded and two steppers does not work the way it is supposed to work.

BarRobot-master (1).zip (2.75 KB)

Hi Guy, I'm trying to run two z axis stepper motor at the same time to enable a linear movement; however, not able to run both the motors at the same time from same M1/M2 or M3/M4 port. The revolutions of both the motors unsynced. I have attached circuit diagram, attached code. I would really appreciate your help here.

The objective is to make a z axis lever similar to linear actuator to push the liquid dispenser to release liquid.

PArts used:

Power supply: https://www.amazon.in/gp/product/B07QWH6M46/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1

Stepper motor: https://robu.in/product/nema17-4-8-kgcm-stepper-motor-with-detachable-72-cm-cable/

Motor shieldV1: https://robu.in/product/l293d-motor-driver-servo-shield-for-arduino/

Motor Shield V2: TB6612FNG and 16 Channel (PCA9685) PWM Servo Shield | Thinkrobotics.in – ThinkRobotics.in

The issue is when I connect 2 stepper motor to M1/M2 or M3/M4 the board gets overloaded and two steppers does not work the way it is supposed to work.

BarRobot-master (1).zip (2.75 KB)

@rakshitnarayanan

Your duplicate threads in other forum sections have been deleted

Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting will result in a timeout from the forum.

In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

The L293 is an ancient and inefficient motor driver and is not an appropriate drive for modern bipolar stepper motors. More appropriate drivers are the A4988 (1A per phase*) or DRV8825 drivers (1.5A per phase*) to name a couple. Pololu has a good selection of stepper drivers.

To run 2 motors at the same time and speed with those drivers, just connect the step and dir inputs in parallel of one Arduino output.

  • can be increased with heat sinks and forded air cooling. Be sure to set the coil current limit on the drivers per the instructions on the Pololu web site pages for each driver.

Can you sum up the currents for both motors, and check what your power supply can deliver?

Why do you want to use 2 motors in parallel?

To me it looks like the z-steppers are connected in serial. What's the voltage of the powersupply and whats the voltage capacity of the stepper driver board?
Running like this I would like to use the double voltage compared to running just one stepper.

@rakshitnarayanan

Your other account has been BANNED.
Your other duplicate post from that account has been DELETED.
At least one other post MERGED.

You are now on a 7 day holiday from the forum.

More than enough time to read the following links.

Could you also take a few moments to Learn How To Use The Forum.
It will help you get the best out of the forum in the future.
Other general help and troubleshooting advice can be found here.