Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Powered By USB or DC Supply

  1. Dec 15, 2015 #1
    Hello everyone,

    I am designing the power system of a new circuit. It will receive an analog video signal and then be able to split that video signal to multiple outputs. I would like to have multiple ways to power the circuit depending on the application. One way to power the device will be by apply a DC voltage to the circuit and the other way will be by using the 5V from the USB.

    The USB needs to be connected at all times for the communication. We may use this circuit in other places as just a receiver/splitter and the USB will not be required and it will be powered from the DC voltage. We may have an application where we don't want the DC voltage and will power just from USB. For the current application we will have the USB and adapter connected at the same time.

    I am having problems trying to find a chip where I can have an adapter plugged in and a USB at the same time. If someone could please point me in the right direction of how to accomplish this it would be greatly appreciated. I am fairly new to electronics design (only graduated a year ago).

  2. jcsd
  3. Dec 15, 2015 #2


    User Avatar
    Gold Member

    You want to switch to DC power (and not draw from USB +5) when there is voltage applied to the DC input jack.
    Does it need to work dynamically without missing a beat? For example, if I am watching video and plug in the DC supply, does it have to switch glitchlessly?
    That makes it a bit harder. (need to be careful)

    I'd use pmos mosfets to implement a SPDT switch that seamlessly switches to DC when DC is plugged in.

    Can you use this?
  4. Dec 15, 2015 #3
    Yes, I would like to switch to DC power when there is voltage applied to the jack and not draw from the USB +5V.

    I don't think it needs to work dynamically like that. The circuit will always be placed inside an enclosure and the USB cable or DC supply will already be wired up depending on the application. There is no situation where a customer will be viewing video and have to open the enclosure and supply power to the device. If it can be switched without a glitch I think that is an added benefit but not a requirement.

    That chip looks interesting. It states it will automatically select between the higher of the two input voltages. I don't know how I can make that work when switching between a 5V DC supply and 5V from the USB.
  5. Dec 15, 2015 #4


    User Avatar
    Gold Member

    Don't use automatic mode. Use some logic to drive ENA and ENB based on whether DC is connected.
  6. Dec 16, 2015 #5
    Okay, I understand. Thanks so much for the help! I really appreciate it. :)
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook