Go Down

Topic: Is there a module for arduino to power it with 2 power sources? (Read 205 times) previous topic - next topic

zarwnestigwniasou

Hello,

Im a beginner with arduino and I want to find out if there is an arduino module to power it with two sources. More specific I need to power arduino with an AC to DC adapter and with a 9V battery, so when a power outage happens the arduino will be powered by the 9V battery.

Also is there another way to do that (without a module) ? (par example with Mosfet or some electronic components).

MorganS

Use a rechargeable battery. Put a charger on it. Use it for power.
"The problem is in the code you didn't post."

DrAzzy

Put a diode in series with the backup power source (assuming this will leave it with a lower output voltage than the other adapter). This is the standard solution for uncomplicated power supply OR-ing.
ATtiny core for 841+1634+828 and x313/x4/x5/x61/x7/x8 series Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts (some assembled), mosfets and awesome prototyping board in my store http://tindie.com/stores/DrAzzy

CaioLimaViana

could use a power supply in the jack and connect a rechargeable battery to the Vin pin. so the diode on the Arduino board would prevent the battery from discharging into the power supply. You can also use power from the USB port in conjunction with the Vin pin or jack, the source selection is done automatically by the arduino. Just be careful not to connect a battery to the Vin pin and power via usb as this would cause reverse current in the controller. voltage.

wvmarle

You can also use power from the USB port in conjunction with the Vin pin or jack, the source selection is done automatically by the arduino.
Is it? How?
Not too sure about that, unless some magic happens in or around the regulator!
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

pwillard


Go Up