Need help with power (too much or not enough).

Trying to do a project which requires 4 servo sg90, two 12v motor, a color sensor (tcs 3200) and ultrasonic sensor (us 100). I also use l298n for the motors,

I tried connecting 12v to a naked arduino to control 4 servos for testing it, I think i fried one servo since it stopped working, the other three are fine.

Questions,
Would 12v be enought to power all of these components?
Do i need any other components?
Any recommendations?

Ps.
This is my first time doing this, I have no idea what I am doing.

Edit: I use 3 3.7v Li-Ion batteries.

What is the voltage and current rating of those servos and motors?

How is it all wired exactly? (please post circuit diagram - not Fritzing but a real readable diagram showing all connections and part numbers and component values).

You must use a separate power supply for motors and servos. For standard hobby servos, a 5-6V power supply capable of providing 1 Ampere per servo is a good rule of thumb. A 4x AA battery pack will work for one or two servos (not four).

Connect all the grounds together.

wvmarle:
What is the voltage and current rating of those servos and motors?

How is it all wired exactly? (please post circuit diagram - not Fritzing but a real readable diagram showing all connections and part numbers and component values).

Haven't connected them yet, I still have no idea how to connect them.
The motor uses 12v, since it's a generic motor, that's all the info the website provided.
The servo motor uses 3.00 - 7.20v at 750 - 1000mA
Sorry, I bought them without thinking how to connect them.

jremington:
You must use a separate power supply for motors and servos. For standard hobby servos, a 5-6V power supply capable of providing 1 Ampere per servo is a good rule of thumb. A 4x AA battery pack will work for one or two servos (not four).

Connect all the grounds together.

So, 2 separate battery pack for 4 servos?

To focus specifically on your title "Need help with power (too much or not enough) ...

The essential thing is to get the voltage right. If the voltage is too high something will be damaged because the high voltage will force too much current (amps) through the device.

After that, you need at least enough current. Having more amps available will not do any harm if the voltage is correct as the device will only take what it needs. If your power supply cannot provide enough current it will be overloaded and may overheat and be damaged.

Another important warning ... do NOT try to power motors (including servos) through an Arduino board. Motors need more current than an Arduino can provide.

...R

Robin2:
To focus specifically on your title "Need help with power (too much or not enough) ...

The essential thing is to get the voltage right. If the voltage is too high something will be damaged because the high voltage will force too much current (amps) through the device.

After that, you need at least enough current. Having more amps available will not do any harm if the voltage is correct as the device will only take what it needs. If your power supply cannot provide enough current it will be overloaded and may overheat and be damaged.

Another important warning ... do NOT try to power motors (including servos) through an Arduino board. Motors need more current than an Arduino can provide.

...R

Any way to increase current or does specific power supply provide specific current?

wanpanchman:
Any way to increase current or does specific power supply provide specific current?

Each power supply will have a maximum current that it is designed to provide safely.

...R

Robin2:
Each power supply will have a maximum current that it is designed to provide safely.

...R

Noob question, is mAh related to current?

I use 3.7v Li-Ion 750mAh

wanpanchman:
Noob question, is mAh related to current?

I use 3.7v Li-Ion 750mAh

mA (milliamps) is current. h (hours) is time.

mAh tells you how much electricity is in the battery. 750mAh means that it can provide 750 mA for 1 hour; 250 mA for 3 hours or 1500 mA for 30 minutes ... etc.

It's not quite as precise as that. The battery manufacturers are usually very optimistic about the capacity of their products - IMHO a 750mAh battery might really have 400 or 500 mAh capacity. And the total output will probably be lower at higher discharge rates.

...R

So, 2 separate battery pack for 4 servos?

Any 5-6V power supply capable of delivering 4 Amps.

Robin2:
mA (milliamps) is current. h (hours) is time.

mAh tells you how much electricity is in the battery. 750mAh means that it can provide 750 mA for 1 hour; 250 mA for 3 hours or 1500 mA for 30 minutes ... etc.

It's not quite as precise as that. The battery manufacturers are usually very optimistic about the capacity of their products - IMHO a 750mAh battery might really have 400 or 500 mAh capacity. And the total output will probably be lower at higher discharge rates.

...R

Thank you very much.

jremington:
Any 5-6V power supply capable of delivering 4 Amps.

Hmmm, so, 5-6v power supply with 4 Amps for all 4 servos, right?

Yes - one such power supply would be able to handle four such servos by itself.
Don't use batteries for this (or if you do, rechargeables as they can handle such currents much better than disposables, and are much cheaper in the long run).

wvmarle:
Yes - one such power supply would be able to handle four such servos by itself.
Don't use batteries for this (or if you do, rechargeables as they can handle such currents much better than disposables, and are much cheaper in the long run).

Thank you.
One last question,

Can I use another 6v (4 x AA) to power the arduino?
Do I connect it to the vcc?

That's two questions.

Yes.

No, Vin.

6V is a bit low for that, recommended is at least 6.5V. At 6V your Vcc will be a little below 5V due to the minimum drop of the regulator - especially an issue with batteries, which most of their life produce less than the rated voltage.