Help with the control 15 coin vibration motors and 5 servos on Arduino Mega.

I have made this circuit How to Drive a Vibration Motor with Arduino and Genuino - Precision Microdrives for every coin motor. Will arduino be able to power them simultaneously? If not, what could i do? Also i connected a PCA9685 with the arduino to control the 5 servos. Will arduino make eveything work at the same time?

Hi,
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".
OR
http://forum.arduino.cc/index.php/topic,148850.0.html.

The link you posted does not work for me.
Can you post your circuit as an attachment in jpg format?

Thanks... Tom... :slight_smile:

Your link appears to have been mangled.
I think that you meant to link to this:

Yeah something went wrong with the link and i fixed it.

I guess you are still looking for answers to your questions in the original post.

Please do consider responding to the first response where Tom asked for a circuit attached as a jpg.
Pen, paper and a camera are a good way to do this.

Will arduino be able to power them simultaneously? If not, what could i do?

The arduino is not very good at powering motors. Much better to have a driver for motors. We could recommend an appropriate driver if we knew more about your motors.

Also i connected a PCA9685 with the arduino to control the 5 servos. Will arduino make eveything work at the same time?

The arduino is pretty good about controlling 5 servos at the same time.

Well, as always, we need the actual specifications of the motors.

The question "Will Arduino be able to power them simultaneously? " is nonsensical. The Arduino does not "power" anything, it in no way resembles a power supply You need to power it with a 5 V regulated supply - a USB "phone charger" is a good candidate but then for 5 servos, you need a 6 V supply capable of at least 5 Amps, not a common capability for a USB "phone charger". This will connect to the PCA9685 module.

Your FETs do not draw any significant power from the Arduino, nor do the control pins of servos, so that is not a problem.

The preferred sort of Arduino for such projects is the Nano, not the UNO!

@Paul__B, OP uses a Mega :wink:

A Mega sounds like gross overkill! Big and clumsy (in modern terms at least :grinning: ).

First of all, I attached the circuit that I use for every single one of the coin vibration motors.As for the servos, I'm using the mg90s.Sorry for my english if I don't put it down correctly, but what I'm asking is if I connect the 5 servos plus the 15 coin vibration motors(with the attached circuit ofc) to Arduino will I destroy it? Also, if I connect an external power to jack(and power the servos from vin) and keep the usb(for the vibration motors) will this work?

Corrected:

12 V/ 5 V - works the same. Always need logic-level FET. 10pF is meaningless, 47 nF if you want to put a capacitor across.

It's actually not corrected, because you connect the 5v pin as input to FET and it won't do the work that I want it to do(I want PWM pin to provide different vibrations).Also 10pf is enough for this project because I use it in order to reduce the high frequency electromagnetic noise made by the motor(and I dont want it to interfere with the PWM signal). My question though is if Arduino is able to control 15 motors plus 5 servos or will it be destroyed? And if it will be destroyed what can I do to prevent it?

gfreak:
My question though is if Arduino is able to control 15 motors plus 5 servos or will it be destroyed?

As others have mentioned up thread - there is no problem controlling those things from your Arduino, but they must have their own power supply. Note that insufficient power is the number one issue we see here when people are using servos.

Oh well. :roll_eyes:

My question though is if Arduino is able to control 15 motors plus 5 servos or will it be destroyed ?

I have been unable to locate the post where you identify the motor load continuous operation current.
What is the motor load current ?

raschemmel:
I have been unable to locate the post where you identify the motor load continuous operation current.
What is the motor load current ?

The rated current is 75mA.

So you need 3A (1.5A minimum) 5V wall wart
ac/dc adaptor to power the motors and servos.