Author Options:

Error Answered

Hi everybody, i need some support in developing this circuit.

I'm making a ping pong ball launcher and I just need a servomotor with a switch and 3 dc motor.

One should move quite slow and I wanted to use a potentiometer.
The other two move together or alone but at the same speed.
I want to control the 2 motors and the servo with Arduino.

I don't know how much volt I should apply. Should work this way?

May anybody give me some hints? Thank you so much.

If u may want to change something https://www.tinkercad.com/things/aPDSlGBukDM-epic...

I left here my code:

Servo servo_2;
int counter;

void setup()
{ pinMode(8, OUTPUT);
pinMode(10, OUTPUT);
servo_2.attach(2); }

void loop()
{ digitalWrite(8, HIGH);
digitalWrite(10, HIGH);
for (counter = 0; counter < 10; ++counter)
{ servo_2.write(45);
delay(3000); } }


The forums are retiring in 2021 and are now closed for new topics and comments.

Answer 1 year ago

Thank you for answering 🙏🏼
I don’t know how I should distribute the voltage. The servo needs 5V and quite so the others, I just know I can’t consider everything on parallel because it won’t work.
Should I use different source for each? I would like to minimize the batteries needed.


Answer 1 year ago

Have you considered one or a pair of lantern batteries?