My question:
*Is my power supply sufficient to control all of the components?
a.if yes, can i directly connect it to the barrel jack of arduino?
b.if no, can you give me specific power supply in able to control all the components.
The specs for the first motor in your list only give the no-load current. You need to know the stall current, since that's what it will draw at start-up
The battery doesn't say what current it can supply; only gives its capacity
That 12v 9Ah battery should be capable of powering everything. Lead acid batteries can usually supply high currents for short periods. But I can't say how long it will be until the battery needs recharging. I would assume 9Ah really means 3 or 4.
You can certainly connect the battery to the Arduino. However do NOT draw current for the other device through the Arduino.
...R
PS ... do not leave a lead-acid battery in a discharged state - it will greatly shorten its life.
Your "power supply"is a battery. Those 9Ah batteries can output quite a lot of current so I would say that's plenty.
And yes, you can connect it straight to the Arduino if you don't load down the 5V output of the Arduino with stuff you might not mentioned. And for the motors, speed will change a bi depending on the charge of the battery.
@juma_yetu, first point, read better Second, those lead acid batteries happily do 1C which is plenty.
Hehe, that's true But from the size you can assume it's not very power hungry. I agree, not very scientific but will do for hobby standards (and more then you want to know for industry as well...)
khimm19:
hmmm.. 3-4 hrs seems too fast.. can i use atx power supply(PSU) instead?
If that is a response to my Reply #2, I did not mean 3 or 4 hours. I meant 3 or 4 amp hours - of course if you are drawing 1 amp from the battery it amounts to the same thing. Unfortunately battery manufacturers are very optimistic.
septillion:
Hehe, that's true But from the size you can assume it's not very power hungry. I agree, not very scientific but will do for hobby standards (and more then you want to know for industry as well...)
Robin2:
If that is a response to my Reply #2, I did not mean 3 or 4 hours. I meant 3 or 4 amp hours - of course if you are drawing 1 amp from the battery it amounts to the same thing. Unfortunately battery manufacturers are very optimistic.
...R
how can i charge the battery if its attach in the barrel jack of arduino?
If you want to charge a 12volt SLA battery, then connect a 12volt SLA battery charger to it.
I always get nervous when powering an Arduino with more than 9volt (>= 13.5volt in this case).
The 5volt regulator on the Uno could overheat, depending on what else the Uno has to power.
You might want to power the Arduino with a 5volt buck converter (on the 5volt pin).
Leo..
Robin2:
That 12v 9Ah battery should be capable of powering everything. Lead acid batteries can usually supply high currents for short periods. But I can't say how long it will be until the battery needs recharging. I would assume 9Ah really means 3 or 4.
You can certainly connect the battery to the Arduino. However do NOT draw current for the other device through the Arduino.
...R
PS ... do not leave a lead-acid battery in a discharged state - it will greatly shorten its life.
so how can i control the servo motor and the HC-SR04 if i will not draw any current from other devices from arduino?
If you want to charge a 12volt SLA battery, then connect a 12volt SLA battery charger to it.
I always get nervous when powering an Arduino with more than 9volt (>= 13.5volt in this case).
The 5volt regulator on the Uno could overheat, depending on what else the Uno has to power.
You might want to power the Arduino with a 5volt buck converter (on the 5volt pin).
Leo..
khimm19:
so how can i control the servo motor and the HC-SR04 if i will not draw any current from other devices from arduino?
Powering the HC-SR04 from the Arduino 5v pin is probably OK, but not the servo.
If (as @Wawa has suggested) you use a 5v regulator to power the Arduino then you could also use that to power the Servo and the HCSR04. If it is a small servo the 500mA should be sufficient.