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 -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39 -
Newbie questions
Hardware • 9 days ago • magwas 9 days ago -
Sensor to detect marijuana vape/smoke
Hardware • 21 Jan 2025, 06:36 • Hellmark 22 Jan 2025, 16:18 -
Arduino Nano Every problem
Hardware • 1 Feb 2020, 09:18 • hakha4 5 Dec 2023, 02:21 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28