Let's Bang GoPiGo3 OS v3.0.1

First you would have to aspirate that Pi3B+, and find some weird aspect for “Works Better”.

No 3B+ is going to beat a Pi4 in compile time, and while the 3B+ uses less power all the way up to full out egg fryer, I happen to be the only one paying attention to that aspect.

Now for running every example DI/MR has ever created for the GoPiGo or GoPiGo3 - Pi3B will win every battle in my eyes (cost, power, noise pollution). The Pi3B+ offers dual WiFi and is available where Pi3Bs are not often available, so MR went with the Pi3B+ and Dave is very pleased.

Was just looking at that Pi4 stress - The GoPiGo3 should be able to supply 1.3A just fine. Perhaps supplying power through the 40-pin limits the current to less than that?

2 Likes

Baloney! Need a water cooled stack of GPUs. Ok - winking…

2 Likes

That’s true, if the “water” is R134, or for the serious currency miners, liquid nitrogen.

Should be, but I don’t know what their stress test is.

Like I said, I’d have to seriously instrument the GPG-3 PCB to find out where the problem lies - and it would not surprise me to discover that the Raspberry Pi isn’t that well suited for direct-feed of power through the GPIO pins as it was designed to be used the other way around.

Running the GPG off of my Beast power supply, (using one of the 4A variable outputs), when running MY stress test, which is:

. . . . and after downloading the wxPython-4.1.1.tar.gz file to a directory and running the “compile a wheel-file, but don’t install it” command noted above, the current draw maxes at about 0.7 amps which is appx. 8.4 watts, (compared to 6.4 watts using their test).  Guess my stress test beats theirs!

Using the “create wheel” stress test noted above, I would want to examine and record data for the following parameters:

  1. Voltage droop
  2. Current draw
  3. Throttling, if any.
  4. Processor utilization.
  5. Memory utilization.
  6. Processor temp.

(and as a tie-breaker)

  1. Total wall time for the compile.

Though, as you suggest, there may not be a clear winner; but, (depending on what’s important to you), the comparison would be interesting.

Quite frankly, I would expect the Pi-4 to beat the pants off a Pi-3 - but I’ve seen some interesting benchmarks where the Pi-3 and Pi-4 were neck-and-neck, so I would not say it’s a forgone conclusion until the last horse has run.

And that’s the real bottom line.  Does it meet YOUR needs?

With all due respect to everyone involved, my major interest in the Pi-4 is that, (IMHO), it represents an “edge-case” in the design of the GPG-3, and since people will want to buy them and use them, there should be a body of research that addresses this.

Now all I need is the time to do all of this. :wink:

2 Likes

No, type:

$ more /opt/Sam_Dev/webapp/version.txt   
3.0.1

or browse to the system and it shows “GoPiGo OS v3.0.1” (in the upper right of the Drive screen I think.)

2 Likes

Why “more” instead of “cat”?

2 Likes

My brain seems to always want “more”?

Cat or more work equally well.

2 Likes

But, sometimes what you get is “less”, 'eh? :wink:

2 Likes

I like less. That’s my go to
/K

2 Likes

But the the requirement to quit less is more than the more that I want!

2 Likes

Update:

I can confirm that the Raspberry Pi-4 also causes voltage alerts on Raspbian for Robots, though you need to work harder at it.

Unfortunately, the latest schematics I have seen do not include the entire 40 pin connector, so I cannot tell if later versions of the GoPiGo-3 use additional 5v pins or if the current capabilities are greater.

Update:

Ref:

Note that the GoPiGo-3’s power supply fuse is rated (on the schematic) at two amps.

Also note that the servo fuse is rated at 1.5 amps.

Therefore, (technically at least), the GoPiGo-3 cannot fully support the Pi-4 as it cannot provide the required current.

Technically it doesn’t support the Pi-3 either as the power draw on the +5 rail is the sum of all the on-board +5v current, the servos when active, AND the current drawn by the Pi itself.  Maybe a Pi-Zero 2 is a better option? :thinking:  :roll_eyes:  :face_with_raised_eyebrow:

If you want to be really picky, the maximum current draw for the Pi is.1.5 amps, assuming a de minimus on-board current draw, and minimal use of the servos, (or servos with a very light current requirement).

The +5v fuse is a solid-state fuse and apparently has a certain amount of current tolerance.  Either that, or the GoPiGo’s 5v regulator folds back rapidly once the current requirement rises past about 2.5 to 3 amps.

In any event, I may have to migrate Charlie back to my Pi-3.
:roll_eyes:  :face_with_symbols_over_mouth: !!!

Additional update.

I have provided my experimental data to MR’s support e-mail with a recommendation to re-evaluate the GoPiGo’s power supply.

I am also researching simple current upgrades to the GoPiGo’s PCB.

2 Likes

I am totally not looking forward to completely disassembling my 'bot again!

2 Likes

Why? My impression, from your posts, of Charlie’s mobile processing load is that you have not and will not see under-voltage throttling.

You only saw the issue because of a non-mobile max-processor usage compatible with hooking Charlie’s umbilical cord back to the mother load.

Further, if it ain’t broke don’t fix it, just plug it in.

What might be interesting is to run:

$ sudo apt install stress
$ ./throttled.sh    (get temperature, confirm no throttling status)
$ uptime   (get 1/5/15 load)
$ stress -v -c 2 -t 180      (run two cores at max for three minutes)
$ ./throttled.sh   (check temp and confirm still no throttling status)
$ uptime  (get 1/5/15 load)

Repeat while driving him around the room?

And perhaps repeat without the fan running…

I’m guessing running mobile you never stress more than that for longer than that.

When I run stress -c 2 -t 180 on Carl’s Pi3B with no fan the temp only gets up to 60degC, and I don’t have any “Carl Behavior” that uses more processor than that.

2 Likes

What puzzles me is that even if I assume a full 9 watts draw by the Raspberry Pi itself, the calculated current draw is only 1.8 amps, and I cannot imagine how a 1.8 amp load is causing the GoPiGo to overload the power supply to the point of voltage fold-back.

The only things running on the GoPiGo are the four LEDs and they are not running at full brightness.

On both GPGOS and R4R, something as simple as downloading a large file caused it to go under voltage.

More research is needed.

2 Likes

do you have a wifi dongle to add? once it is up and running, ifconfig the builtin down and compare power load.

are you able to compare power thru the RPi connection vs battery load (comparing watts not amps naturally)?

2 Likes

interestingly enough, using my store-bought multimeter to measure the VCC (+5) directly, (at GPIO pins 2 and 6), I measure almost exactly 0.07v low - i.e. 4.97 on your voltage test shows as 4.90 on my meter.

Interesting factoid:

The Raspberry Pi documentation says that throttling is supposed to take place at 4.63v ±5%.  Powering my GoPiGo directly from the 5v pins on the GPIO, and using my variable supply, I see about 1 amp with nothing interesting running and it throttles at 4.96 volts!

What the ???!!

Measuring across D1, (the reverse-voltage protection diode), the voltage is about 0.10 v lower - but even that isn’t low enough to throttle.

Confusion reigns supreme.

2 Likes

Oh, and one other thing.

It appears that I am a back number, running GPGOS 3.0.0 instead of 3.0.1.

An upgrade is in my future.

I don’t expect it to change anything, but I might as well get with the program.

2 Likes

Your get_voltage_5v() is returning 4.97?

Interesting:

“Streaming Nickelback” Carl at 0.40 1min load reports 5.08v (Battery at 10.38v actual)
“On Lithium To Even Out His Moods” Dave at 0.17 1min load reports 4.97v (Battery at 11.8v actual)

2 Likes

Question:

Why is the European mains voltage 220v?
(And the multi-phase voltage is often a 330v wye?)

[Sound bite:  Final Jeopardy theme]

Give up?

Answer:

The formula for consumed, (or transferred), power is:
P (in watts) = I (in amps) * E (in volts).

Therefore to transfer the same amount of power, the wire can be much thinner since the current is halved.  Copper is expensive, especially in post-war Europe, therefore the higher mains voltage means the wires can be thinner.

How is this relevant?
Remember that the higher the voltage, the lower the current.  The converse is also true - smaller voltage needs bigger wire to transfer the same power.

It turns out that 220v “line cord” is much thinner than US “line cord” - and it’s thinner by a factor of d2!

Translation:
A meter or so of European lamp cord is considerably thinner than US lamp cord, and it might not be thick enough to pass the required current at 5v.

Therefore, I am going to rebuild my test wires with thicker conductors to see if that makes a difference.

2 Likes

I’m confused. This thread is about banging GoPiGo OS, but you need bigger wire?

I’ll have to reread some after I finish my coffee; I must not be awake enough yet.

2 Likes

While banging the GoPiGo, I am running into power throttling.

I wish I could pick up an entire group of messages and move them.

You are correct, I should fork this.

2 Likes