Separating USB/MCU power buses
-
There are two power supply sources in the following diagram - USB and 12V. Only one power supply can be connected at the same time. I am trying to disable power to FT232 whenever 12V is plugged in. In that case FT232 should not be powered, but MCU will be powered. However, when USB is connected, both FT232 and MCU should be powered. I tried to use Schottky diodes(BAT54C) but I'm not sure if this is correct way.
Also - would USB power harm voltage regulator in the second case?
-
Not near a cad program at the moment, but try the following:
Connect output of U8 / capacitor C34 pin 2, to pin 1 of D1, connect J1 pin 4 (vcc) to D1 pin 2, and attach your +5V to D1 pin 3. This way the source with the highest voltage will supply your circuit.. The actual VCC will be Vin - drop voltage over D1 (0.3V usually), that is 4.7V in your example. But that is next to nothing..
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
Newbie questions
Hardware • 9 days ago • magwas 9 days ago -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39 -
Sensors and more
Hardware • 19 Jun 2023, 00:41 • Robert Leverett 19 Jun 2023, 00:41 -
Best VOC sensor for detecting a wide range of VOC's?
Hardware • 26 Oct 2023, 23:59 • NeverDie 18 Nov 2023, 01:41 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28