PiSupply / PiJuice

Resources for PiJuice HAT for Raspberry Pi - use your Pi Anywhere
https://www.pi-supply.com/product/pijuice-standard/
GNU General Public License v3.0
433 stars 102 forks source link

Does the PiJuice work without a connected battery? #1082

Open hugokernel opened 1 month ago

hugokernel commented 1 month ago

Hi,

I'm using a PiJuice Zero with a 600mAh battery to power a daughter board containing a Compute Module 4 and a few peripherals (the battery is there to properly shut down the module if the main power supply is lost, hence the low capacity).

The daughterboard and Compute Module are powered by the Pijuice Zero's GPIO port.

I recently noticed that if the battery wasn't connected, it wouldn't start (it supplies the necessary 5V but stops plus starts again and so on, you can even hear a clicking noise), as soon as I connect the battery, everything works properly.

So my question is: is this normal, or does it have to be a connected battery?

Thx

tvoverbeek commented 1 month ago

In the HAT configuration enable 'No battery turn on'

Screenshot 2024-05-29 at 16 53 52
hugokernel commented 1 month ago

Thanks for the answer, from what I understand of this setting, it's not related in that it will determine the behavior of the Pijuice if there is no battery and a current source appears. So it has nothing to do with my problem.

ps: I tried it anyway, and as I expected, it doesn't change a thing, the behavior is the same.

hugokernel commented 1 month ago

You've indirectly answered my question about using the PiJuice without a battery, however, I'm unable to operate my module if a battery isn't connected and I'm well below the 2.5A (<0.7A).

Notes:

So I'll try to rephrase my question a little more precisely: Is the current limitation (2.5A) the same with or without a battery?

Is the output voltage path the same whether the battery is present or not? Do you have any ideas?

Thx

hugokernel commented 1 month ago

I made some measurements and here are the results. My conclusion is that it's not possible to achieve a 2.5A load without a battery without supplying 10V as input.

Without battery

VIN 5V, max load: ~0.82A VIN 5.5V, max load: ~1.34A VIN 6.5V, max load: ~1.82A VIN 7.5V, max load: ~2.15A VIN 10V, max load: >2.5A

With battery

VIN 5V, max load ~2A VIN 10V, max load >2.5A

The BQ24160 datasheet states that it's possible to achieve 2.5A at 10V and 1.5A at 6.5V, so my measurements are more or less consistent.

However, why it can't deliver a higher current without the presence of a battery escapes me a little...

Unless I've missed something in the documentation, it seems to me that this is a very important point that deserves to be mentioned.