Olimex Support Forum

DUINO => ARDUINO => Topic started by: JeanFrancois on October 21, 2021, 06:48:15 PM

Title: 5 V power supply Olimexino-32U4
Post by: JeanFrancois on October 21, 2021, 06:48:15 PM
Good evening,

I'd like to power the board from a 5V power supply which Olimex provides in the accessories. After looking at the schematics and getting to how this would work, I found out the simple solution.

Could you please check, comment or provide a better way, or approve on this ?

- Power supply through conn.1 pins 3/4 (5V/GND)
- Equivalent to USB 5V supply except it does not power back to the usb cable (reverse on FET1), otherwise similar to powering through USB.

Thanks for your view on this question,

Regards

Jean-François Simon
Title: Re: 5 V power supply Olimexino-32U4
Post by: LubOlimex on October 22, 2021, 11:25:55 AM
Don't power the board from power pins of CON1, there is risk of short-circuit if you ever use USB or external power supply at the same time. The voltage wires you see there 5V and 3V3 - are meant as output. These were not designed as inputs.

If you put 5V at CON1 and have USB attached at the same time - there would be short circuit.

To modify this behavior for the inputs you would need to alter the hardware.

My advice is to power the board from the power jack. If you don't have compatible jack, consider this:

https://www.olimex.com/Products/Components/Cables/PWR-CABLE/

Title: Re: 5 V power supply Olimexino-32U4
Post by: JeanFrancois on October 22, 2021, 11:57:38 PM
Hello Lub,

Well could you please precise the meaning of FET1 ? I can't get it.
Thanks for you advices on supply. I'll heck it next week with the client.

See you & regards

Jean-François
Title: Re: 5 V power supply Olimexino-32U4
Post by: LubOlimex on October 28, 2021, 08:21:01 AM
In the hardware design of Olimexino-32u4, FET1 is meant to allow for switching between USB power supply and external power supply (which had already been lowered to 5V by voltage regulator VR1).
Title: Re: 5 V power supply Olimexino-32U4
Post by: JeanFrancois on October 31, 2021, 10:04:13 AM
Good morning Lub and team,

I meant the details:

FET1 seems plugged backward, it connects +5V to +5V_USB through S->D when driven or +5V_USB to +5V through its diode.

Thus I am wondering why not a simple diode instead of FET1, and why does it seems backward connected ?

I remind having seen somewhere in the Olimex forum or documentation a mention about reverse connected FET, but can't find it back.

Can you please remind me why this design ?

Thank you

Regards

Jean-François Simon

[Edit] The diode is symbolic, i was mislead, I also missed the fact it's a P channel mosfet. Got it clear now, that's the gate to select source from USB or Vin to the circuit based on which one is available. Also prevents feeding the Vin to back to USB if i properly understand the schematics.
Title: Re: 5 V power supply Olimexino-32U4
Post by: LubOlimex on November 04, 2021, 12:02:27 PM
Well for example diode has power loses.
Title: Re: 5 V power supply Olimexino-32U4
Post by: JeanFrancois on March 19, 2022, 04:52:44 PM
hi,
Got is, both FETs are P mos used as switch gates for power supply "OR" from Vin (ext.), USB, or battery.

The source is selected and disconnecting the other channel eg. FET1 Overrides USB supply with Vin if available.

Jean-François