Using both RS232 and USB for one device

power supply

I have two options for power sources for my board, which simply has an ATMega on it — one is a 24 VDC source going into a switching regulator that supplies the board with 5 V. Another source is via a USB Bus using an FT232R that could also supply the board with 5 V. Is there a way I can ensure that only one or the other powers the board and not both?

Or could both these be plugged in parallel and have no effect on the circuit? (I find that hard to imagine)

Best Answer

Yes, the Arduino board does this. See the power section of their schematic: http://arduino.cc/en/uploads/Main/Arduino_Uno_Rev3-schematic.pdf

Related Topic