2 arduino with 1 servo

Hi,
I got an idea of controlling a servo with 2 arduino. i.e, If I create a wifi servo controller with 1 arduino and some bluetooth servo controller with another arduino, can I connect the input pin of the servo to the digital 9 pin of both the arduino using a breadboard?

Example Diagram

Sorry for the weird diagram...

I want to know whether the servo or motherboard would get damaged or may cause any other problem. Just a doubt..

Thank You!

Why use 2 Arduinos ?

1 Like

Probably not. They will constantly fight each other if they are both powered up. You would have to tell one Arduino to shut up while the other one is speaking to the servo, seems unnecessarily complex even if you got it to work.

1 Like

I want to create this project - ESP32 CAM Surveillance Car | SPY Camera Car - YouTube
But also add this feature - https://www.instructables.com/Motion-Tracking-Face/

I am going to create the car project and add this motion tracking feature, and also add a feature to control the servo with a bluetooth or wifi module in another arduino.

oh k... thanks!

1 Like

Even if connecting a servo to 2 boards worked, which it won't, do you realise that the ESP32 is a 3.3V device and the Uno is a 5V device ?

1 Like

sorry, messed up!

Also, according to your diagram, only one servo would ever actually do anything since the servo is grounded only to one Arduino. You'd have to ground Arduino to Arduino as well (could do that on the breadboard easily enough) if you wanted to run your experiment anyway and see.
No harm in seeing what happens, right?

1 Like

sorry to waste all your time.. I went totally crazy.. I didn't even realize what I was doing. The project of motion tracking uses stepper motor, only the eye uses servo which is of no use to me. I really didn't need to use 2 arduino to control 1 servo..

Really SORRY!

I can only speak for me but if I thought you were wasting my time, I simply wouldn't respond. I'm an adult (most of the time :slight_smile: ; it's all good, bud.

Thank you brother..
I am in a hurry of completing a project for my school level robotic competition which is scheduled the following week. So my brain is like a code without compiling!:slight_smile:

1 Like

You could still accomplish what you're trying to do if you frame your idea differently and rework its general method. I think you've created an xy problem if I'm not mistaken.
Don't expect folks here to follow links. Tell us what you want to happen in the end with what parts, generally.
If you used one Arduino simply as a servo driver and another as a data interpreter from whatever your data source(s) are, this plan might work. I use multiple Arduinos in projects all the time (the one in my avatar uses I think 4).
Instead of that Fritzing diagram, why not draw a general diagram/flow chart what you want to make and see what folks here have to say?

1 Like

thanks brother :heavy_heart_exclamation: :

In the days before computer radios, every control surface movement requiring "mixing" used mechanical setups.
Perhaps have a look at those.
That way you could use two servos on the one surface.
That is if I understand what you are trying to do with the servo...... :thinking:

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.