Cat automatic feeder update 3, using one adapter problem

I made cat automatic feeder using servo, arduino and RTC.
Other people have suggested me to not to use arduino as a power supply. So made this

Now problem is I have to use two phone charger adapter as power supply.

Can I use it like this?


Thanks!

Sure you can, I would add a large capacitor close to the Arduino, and use the 5V pin on the Arduino rather than the USB, unless using the USB is easier.

Thank you!
So is this the right way to power arduino and servo?
Do I need capacitor in this version? and where should i put the capacitor. (I have no clue)

You put the capacitor between GND and 5V as close to the Arduino as you can. This is to maintain the power to the Arduino when the motor is running.

I see. Thank you very much!

@hurdalhoyy - Keep in mind that no more than 200mA should go through the Arduino.
If you are using just one servo motor (the basic servo that goes with the standard kit) you should be fine if you power it using the Arduino. If you intend to power up 2 servos using your Arduino, 400mA would be drawn, and you would fry your Arduino :confused: To avoid that - we use a separate power supply.

Don't forget to have a common ground between the power supply GND and the Arduino GND.

Regarding the bypass capacitor - try without it, and if you experience any stability problem, add the capacitor between 5V and GND of the Arduino, just as @Missdrew told you. (if the capacitor is polarized, don't forget to place it correctly ;D )

Good luck !

Dacha011:
@hurdalhoyy - Keep in mind that no more than 200mA should go through the Arduino.
If you are using just one servo motor (the basic servo that goes with the standard kit) you should be fine if you power it using the Arduino. If you intend to power up 2 servos using your Arduino, 400mA would be drawn, and you would fry your Arduino :confused: To avoid that - we use a separate power supply.

Don't forget to have a common ground between the power supply GND and the Arduino GND.

Regarding the bypass capacitor - try without it, and if you experience any stability problem, add the capacitor between 5V and GND of the Arduino, just as @Missdrew told you. (if the capacitor is polarized, don't forget to place it correctly ;D )

Good luck !

I'm using bigger servo, Idle current = 26ma Unloaded transit current = 105ma Stall current = 430ma,
So if there is stall in servo i could fry my arduino? oh nooo

If you are powering that Servo using the 5V pin of your Arduino - then yes, you will harm your microcontroller.

Based on your diagram, you are powering the Servo using the USB charger, so you should be fine.

hurdalhooy:
So is this the right way to power arduino and servo?

No, your diagram shows 5V from the PSU connected to the Nano's Vin pin. That pin requires at least 6.5V. if you give it only 5V, the Nano will be running on only around 3.5V and may not operate correctly. Connect your 5V PSU to the Nano's 5V pin.

So is this the right way?

Yes, better. But you didn't add the suggested cap yet.

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