I am running a program on pin 10 on the pro mini. I am running a servo using that program. I would like to run that program on two servos at the same time. Is it possible to run the same program on two different servos at the same time please? Thank you.
How you run a program on a specific pin?
Read the topic abou how use this forum and using correct tags post your code.
Is strong recommended post your schematics too.
I moved your topic to an appropriate forum category @rayluc .
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.
This is the second time I've had to ask you this. Please be more careful in the future. If polite requests won't serve to cause you to behave responsibly, we'll be forced to resort to an account suspension to get your attention. I don't want to do that and I'm sure you don't want it either!
Thanks in advance for your cooperation.
I have deleted your other cross-post @rayluc.
Cross-posting is against the Arduino forum rules. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.
Repeated cross-posting can result in a suspension from the forum.
In the future, please only create one topic for each distinct subject matter. This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.
Thanks in advance for your cooperation.
Sure, a lot of people do.
Running Same program on two pins
If that's what you really want, just connect two servo signal wires to same pin. Split a wire or use breadboard for example.
That depends on what you want to do with the servos.
If I split the signal wire does that have an effect on the servos performing without degrading the signal causing servo performance problems? Do I need a separate power supply for the other servo? I am now going back and forth between 2 pins. I run one servo for a while then go to another pin and run the second servo for a while going back and forth. That of course leaves a pause in the running of the servos when I go back and forth like that, but I have one power supply.
Is that a problem?
If not then you don't need to split the signal wire
Likely not. But if you have doubts, it takes few seconds to test.
No, but your power supply has to be rated for the current of those two servos summed up.
For example If your servos have stall current of 1A, you need at least 2A power supply.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.