Rock 5B power through GPIO pins

What you do really doesn’t matter at all. :slight_smile:

At least you failed the second time in this thread to get the basics and these basics are still Ohm’s law. When powering with tiny cables, connecting with just two tiny contacts and all of this is at a very low voltage like 5V it can’t work. Amperage still doesn’t matter.

@RadxaYuntian for those of your users lacking any understanding of electronics basics (like this guy here who tries to insult others all the time instead of using his brain in a better way) you might want to add a small section to Wiki and product page that explains that 5V with more than 3A doesn’t work well in general and what the challenges are when powering with tiny cables and more than minimum loads.

Dumb people seem to be immune to explanations and seek for authority so it might be the vendor’s job to fix their misunderstandings since otherwise these people flood the forums with even more BS than they already do :slight_smile:

1 Like

Hi all,

The issue seems to be with the Radxa OS release instead of voltage drop issues with the supply.

The latest Android 12 OS release provided by Radxa seems to have no boot issues while powering up with a supply or a custom hat with a 5V 4A buck converter.

Power Adapter 5V 4A hope this helps.

To be honest, while I don’t understand tangents about “stupid people”, I agree with @tkaiser at pushing 4A to power the board seems like a bad idea. Even if there are no power issues now, they may let themselves be known as soon as one connects something.

Sure, it is the capacity of the power supply, but ohm’s law holds, so you get a higher resistance, higher energy losses and voltage drops. Also, it seems that this board is prone to transient power spikes and with 5V you’ll have less headroom to deal with them than with a higher voltage (well, unless you use 9V2A for example).
I mean, you get less energy loss when powering with 12V 1.5A than with 5V3.6A, for example, if the board’s power is 18 watt

1 Like

I really don’t know what you mean by “euroturd” and I have no interest.
By “pushing 4A” I meant pushing this kind of current through a cable. Which is one of the key limiting factors here I suppose. As it has a resistance of its own.

The best is to use the USB C power point because it offers also some protection to the board. However, Dupont wires can be used on a Rock 5 board, but it’s important to make sure that the wire gauge is appropriate for the amount of current being carried. Thicker wires (such as 22AWG) can carry more current than thinner wires (such as 26AWG). Check what you have/buy.

In general, a 22AWG Dupont wire can carry up to 2.5 amps of current, while a 26AWG Dupont wire can carry up to 1.5 amps of current. However, it’s always best to consult the specifications of the specific wire you’re using to ensure it can handle the current you need. The above is valid for a short wire (150mm).

It’s also important to ensure that the Dupont connector is properly connected and not loose on the Rock pin, as this can lead to resistance and overheating. Again ohm law applies here.

If you’re experiencing current issues, it may be helpful to connect multiple pins in parallel to increase the current-carrying capacity. For example, you could connect pins 2 and 4 in parallel for positive, and connect two ground pins (such as 34 and 39) in parallel as well. This will offer a larger cross-sectional area for the wires and reduce resistance, allowing for more current to flow without overheating. As said in the above posts, ohm law applies, thicker is the wire, more current you can carry. However you are still limited by the Dupoint connector and the size of the pin/copper on the board.
The above has been tested and works.

Recently I am using an old laptop power brick with 19V 4A to power the rock and it runs stable. But unfortunately the usb-c port is blocked now.

And well … I just found out that it seems to be possible to power the rock with 5V 6A via GPIO:

@RadxaYuntian you should really spend some time/efforts on providing some basic knowledge about the relationship of voltage, current and resistance somewhere in your wiki since what happens here in the forums is just nuts.

Your consumers should be educated about these simple facts but maybe this already happens somewhere in a hidden/smelly corner of Discord or Telegram or wherever else community fragmentation happens…

Folks powering through GPIO pins experience undervoltage issues due to Ohm’s law.

USB-Cable-Voltage-Drop

This is cable + contact resistance.

5V at any current higher than 3A is just… BS!

2 Likes

As I said in my previous post. Use a 150 mm AWG 22, double it using the pin in parallel and the voltage drop will cause the 5 volts still to be usable with a minimum loss when draining more than 3 A. However I doubt you will get 6A out of it unless you put in in the freezer :stuck_out_tongue_closed_eyes:

In your previous post you wrote about a ‘current issue’ while it’s a voltage/resistance issue in reality.

And for consumers using SBC it’s crucial to understand this since they think 5V would be 5V regardless of situation and if they just use a beefier power brick with more amps it will work in the end.

As explained already a month ago the GPIO power pins are routed to a buck converter that’s rated 4.5V-26V as such the tolerable voltage drop is just 0.5V.

And of course what you wrote (the shorter and thicker the cable the better, the more contact area the better) is true but only since it reduces cable/contact resistance and helps with the voltage issue everything powered with such low voltages as 5V is affected by.

@tkaiser
Thanks for your explanation. At the end I think we are looking at the issue with different approaches but same meaning. The voltage drop is caused by the resistivity of the conductor, having voltage and resistivity involved, the result is that current plays a role into this situation. However in this context I agree, let’s focus on the voltage drop only so people do not confused.

1 Like

Absolutely :slight_smile:

But I’m emphasizing on the voltage drop element since that is what people new to the world of 5V powering seem to not understand at all. That it’s not a matter of ‘current too low’ but ‘voltage too low’ (caused by electronics basics).

And us babbling doesn’t change anything wrt the broader problem since those people suffering from undervoltage won’t understand, even don’t want this to hear and seek for authority.

As such Radxa is asked to provide this basic info somewhere we could link to. Though most probably this won’t happen since even Radxa employees recommend this insane 5V @ 6A nonsense… :frowning:

haven’t followed the whole discussion, just out of curiosity, does it mean we could provide more than 5v to power the board through GPIO like 12V? or did I miss something?
if correct this would allow to input much more power this way

Here’s a link to schematics: https://dl.radxa.com/rock5/5b/docs/hw/radxa_rock_5b_v142_sch.pdf

The normal way of powering (USB-C) results in the provided voltage been transformed by the 1st MP8759 buck converter into 5.15V since this voltage is needed for peripherals. When using anything significantly higher than 5V (like your proposed 12V) at the GPIO header you will likely fry everything attached to USB sockets, HDMI, M.2 sockets and camera connector (all the stuff here on the right):

As such if you’re using your Rock 5B ‘headless’ and only connect power and an Ethernet cable (my usual mode of SBC operation) then higher voltages are fine on the GPIO header otherwise not (but I might miss something so better don’t do this unless you can and actually do read schematics).

The 2nd MP8759 is then used to transform these 5.xV from the 1st MP8759 into 4V that go into the RK806 PMU which then creates all the additional voltages chips and other components need:

And to repeat it a 3rd time in this same thread: MP8759’s input voltage is rated 4.5V-26V as such when powering with 5V the tolerable voltage drop is just 0.5V! With cables that are not ultra short and extra thick, connecting only 2 power pins and just a minor load this will result in your board rebooting occasionally since Ohm’s law!

1 Like

Considering the yield rate of chip fabrication, the 4.5v to 26v input voltage is not an absolute range.
Some MP8759 may be able to work with a bit lower input voltage and some may need a higher input voltage.
So, it’s possible some user can stably drive the board at 5V/3A sustaining the voltage drop and some could not.
It needs the user to find it out, like adjusting the core voltage to overclock the CPU.

I think it’s possible to provide a bit higher input voltage to the power pin but definitely not starting with 12V. (maybe 100mV at each step?)
Before doing that, you may want:

  • Determine the input voltage of the chips connected to the VCC5V0_SYS power tree.
  • Put circuits protection in case of the power surge.

Good luck.

Letting aside all issues related to double-powering via GPIO and USB-C, certainly a lot of care should be taken when powering via GPIO. We forum users can and should work on filling all knowledge gaps.

@tkaiser, where did you take the table values from? “Officially”, AWG20 is rated at 33.31mOhm/m for single strand copper wires (value taken from english wikipedia page). Stranded wires of that size are typically 10-15% worse, let’s assume 20% = ~40mOhm/m. That translates to a voltage drop of 80mV/m @2A. Even assuming that the same drop happens on the way back via a GND GPIO pin, the worst it gets is twice of that =160mV/m, with longer wires than I would generally use. That’s quite different from the 373.24mV/m in your table (2000mA, AWG20, 1m).

Now, fact is: a single GPIO pin is a little bit above AWG22. Actually, (0.63mm+/-0.05mm)^2 area based on TE datasheets. As a single pin isn’t enough, RADXA suggests to use 2 GPIO pins for power, doubling the area. A possible pitfall is: you need to use at least 2 GPIO pins for GND as well! 2xAWG22 translates to roughly AWG19 and it is best to use single wires of this size directly attached to the power supply and only split them shortly before feeding 2 GPIO pins. As said, do this for +5V and GND. As digital circuits are sensitive to floating GND, I personally recommend to wire at least 4xGND GPIOs in such way. That’s the best one can do to power via GPIO without additional circuitry.

Now back to the current rating and voltage drop. Stranded AWG19 wires with 32mOhm/m (=26.5mOhm/m *1.2) should result in a voltage drop of <128mV @4A one-way and <256mV taking into account the drop via GND as well. I agree, contact resistances would add to that, but can be countered slightly by lowering the wire resistances when using anything better than AWG19.

https://www.cnx-software.com/2017/04/27/selecting-a-micro-usb-cable-to-power-development-boards-or-charge-phones/ which links to https://goughlui.com/2014/10/01/usb-cable-resistance-why-your-phonetablet-might-be-charging-slow/

And all this math doesn’t change a single bit that the problem is called voltage drop and that people new to the SBC world and ‘powering with low voltages’ need to understand that they suffer from ‘voltage too low’ and not ‘current too low’.

This wonderful human being calling himself @JonGroff for example (whose posts unfortunately are currently hidden/disabled) spreads the word about Rock 5B needing 20W to boot since he did the following ‘math’: his board when powered with 5V @ 4A randomly rebooted.

So we don’t disagree as that page summarizes exactly my mentioned math in the formula “Voltage Drop Without Contact Resistance” including the doubling of the drop due to the GND wire back to the supply.

However, your table is listed on the same page as “With Contact Resistance”, but in your post above you state “This is just cable resistance, contact resistance adds to this”, which seems to be wrong to me. CNXSoft seems to cite the table correctly to include the contact resistance. I think it would be great for this forum to correct this in your post above and possibly link the source page as I can confirm that it contains the correct details of the math.

What is worth emphasizing here is what applies in particular to the Rock 5B: anyone wanting to power it via GPIO should connect 4-6 GPIO pins (+5V and GND) and I added the necessary information why this is the minimum requirement.

If there’s the risk to also power the board via USB-C I would at least add a high current, low capacitance diode, a reasonably sized capacitor and a fuse to the GPIO power supply and increase the source voltage before the diode accordingly (e.g. 5.5-6V).

1 Like