Aight folks, it’s bad news.
Check the edit, HINT: I was wrong.
For reference, I’ve the cm4 8gb/32gb as the core. ( I also have a 4gb light, but I think the results will be similar.)
Additionally, this is a super fresh install of the official clockworkpi uconsole image, GitHub - clockworkpi/uConsole: This code repository offers downloads for the latest images of various uConsole models, along with kernel patches, firmware for the keyboard and 4G expansion module, hardware schematics, assembly instructions, and essential technical documents.. (which is super out of date, issue for another thread (update will break VLC!!!))
Using the weed batteries I bought from a vape shop, which have no protection, the 4G module can be booted without issue.
I used the /sys/class/power_supply/<your_battery>-battery/current_now
file to get the drawn current, though there may be better ways, idk.
Protected Battery first, system cuts off after the 4g module is ‘active’ but before I obtain an IP from the carrier.
$ cat protected_current.log
773000
775000
806000
770000
743000
756000
756000
784000
755000
755000
805000
819000
790000
770000
753000
753000
754000
758000
758000
741000
787000
823000
886000
839000
849000
880000
885000
880000
854000
903000
915000
914000
Then we see the bad news, on the unprotected batteries:
$ cat unprotected_current.log
773000
769000
806000
757000
722000
737000
742000
727000
724000
711000
723000
752000
802000
802000
803000
805000
901000
885000
871000
849000
855000
901000
912000
882000
885000
930000
962000
963000
1061000
995000
1008000
994000
998000
962000
903000
912000
1027000
1095000
1219000
1383000
1555000
1543000
1828000
1765000
1602000
1315000
1031000
1106000
1378000
1200000
1189000
1266000
1316000
1302000
1283000
1331000
1127000
945000
903000
898000
881000
885000
883000
882000
885000
1509000
1283000
1315000
1157000
1156000
1200000
1280000
1157000
1104000
1061000
982000
998000
1009000
949000
You can see right where the 4G module activates, then it starts the Carrier Authentication process. All at much higher values than before turning it on.
I left the logging on for a while, but it did not calm down. Regular pushes up past what I presume is the 10A range. There are no units attached, but I presume since the protected battery doesn’t have a log above 1000000, and the unprotected battery DOES have values much higher than 1000000, that that number is 10A.
So, it looks like a protected battery will be unstable with the 4g module unless you go for a higher CDR and lower mAh. Considering with an admittedly yet-to-be-optimized, default OS for the uConsole, the 3400mAh batteries only give 2hrs+/- of runtime without 4G on…I’d say the 4G module is mostly worthless.
This is my experience so far, anyway, as a newbie to batteries, a brand-spankin-new uConsole, and the default image. I’ve a few Samsung, Sony, and Panasonic batteries ordered. Maybe when they come in I’ll see higher runtimes. Also who needs the DE, or bluetooth, etc. Some optimization could eek out more runtime.
EDIT:
I’m wrong about units here.
According to Jeff Geerlings post, Review of Raspberry Pi's PoE+ HAT (June 2021) | Jeff Geerling, about PoE hats, the /sys/devices/platform/rpi-poe-power-supply@0/power_supply/rpi-poe/current_now
file is in microAmps (.000001A), so my interpretation of the data has got to be incorrect.
Also, the datasheet for the CM4 has current in either milli or micro amps for all data.
https://datasheets.raspberrypi.com/cm4/cm4-datasheet.pdf
Therefore my interpretation was very wrong. The current draw reported by the PI itself is never above 2A, even when activating the 4G module.
Now, all that really means is that the power going through the CM4 and/or being reported to the CM4 is not a problem. There could be power routing accross the mainboard directly to the 4G module. I’m no PCBologist, though.
If my batteries have a very low cutoff, say 7A, that means the 4G module spikes it to 5A usage at that time, plus the 1.8ish on the board, plus some overhead/loss, we hit the limit and bang.
I’ll pull out a multimeter and buy my electrician/Hardware engineer neighbor a beer and reply when i’ve got some conclusions on the power-draw.