modmypi / PiModules

GNU General Public License v3.0
54 stars 26 forks source link

UPS Pico constantly switching from battery to usb power #2

Open ericcastro opened 7 years ago

ericcastro commented 7 years ago

I started using this and found what I think isn't normal behavior:

The piezo beeps continuosly every 6 or 7 seconds, doing a different tone each time. I believe I discovered this is because the UPS Pico is constantly switching from USB power to battery. When I run:

sudo i2cget -y 1 0x69 0x00 b

I get 0x02 most of the time even though it's powered via USB, and eventually I get 0x01 but I immediately get back to 0x02

Then if I disconnect the USB power, the raspberry shuts down.

Am I doing something wrong, or is the UPS Pico defective?

I uploaded a video to demonstrate this: https://www.youtube.com/watch?v=yCWGeNUxF88

PiModules commented 7 years ago

Hi,

It is normal if you are not using a proper PSU or cable supplying it (micro USB).

Please use much better PSU (recommend 3A@5.1V) with powering cable on one body with the PSU (avoid double USB connectors)

Please use one of the following forums for your technical support fro the UPS PIco HV3.0

http://www.forum.pimodules.com/viewforum.php?f=20

or

http://forum.modmypi.com/technical-support/

My Warmest Regards

Ioannis (from PiModules)

On 15/1/2017 9:24 μμ, Eric Castro wrote:

I started using this and found what I think isn't normal behavior:

The piezo beeps continuosly every 6 or 7 seconds, doing a different tone each time. I believe I discovered this is because the UPS Pico is constantly switching from USB power to battery. When I run:

|sudo i2cget -y 1 0x69 0x00 b|

I get 0x02 most of the time even though it's powered via USB, and eventually I get 0x01 but I immediately get back to 0x02

Then if I disconnect the USB power, the raspberry shuts down.

Am I doing something wrong, or is the UPS Pico defective?

I uploaded a video to demonstrate this: https://www.youtube.com/watch?v=yCWGeNUxF88

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/modmypi/PiModules/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AIJ_hCsO_fsZpONRVgm8CFTf2QncXRg7ks5rSnJcgaJpZM4LkAUo.

-- Ioannis (from PiModules)

ericcastro commented 7 years ago

I was using an iPad charger (10W usb output) which I thought was enough (2.1A@5V). I will try using more amps later today.

Finally, does the UPS Pico support the 40pin header 5V pin as power input instead of the micro USB ?

I ask this because this is for a robot whose supply comes from a 12V source which connects to another HAT that will then send 5V through the 40 pin rpi header.

I need to know if I can continue to use that pin as power input or the only way UPS Pico works is if power is supplied via micro USB

Thanks

PiModules commented 7 years ago

Hi,

Yes, it is accepting supply via GPIOs, but you need to have ZVD (zero Voltage Drop) circuit on your power supply side (it is already on the RPi when powered via micro USB) to avoid back charging the PSU when is battery powered. If you use small current <=1A, can be just a schottkydiode , but remember that voltage on the 5V GPIO must be withing USB specs (4.75=5.25 V) after diode or ZVD (just on GPIO pins)

Please measure the voltages on the GPIO 5V pins.

BR Ioannis

On 16/1/2017 1:12 μμ, Eric Castro wrote:

I was using an iPad (10W usb output) which I thought was enough (2.1A@5V). I will try using more amps later today.

Finally, does the UPS Pico support the 40pin header 5V pin as power input instead of the micro USB ?

I ask this because this is for a robot whose supply comes from a 12V source which connects to another HAT that will then send 5V through the 40 pin rpi header.

I need to know if I can continue to use that pin as power input or the only way UPS Pico works is if power is supplied via micro USB

Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/modmypi/PiModules/issues/2#issuecomment-272834143, or mute the thread https://github.com/notifications/unsubscribe-auth/AIJ_hOH63zEiNk2PccOhM86kKvsQUFg_ks5rS1CJgaJpZM4LkAUo.

-- BR Ioannis @ PiModules

ericcastro commented 7 years ago

I keep getting the constant beeping even though I moved to a 3 amps power supply.

sudo i2cget -y 1 0x69 0x00 b

keeps switching from 0x01 to 0x02 but returning 0x02 most of the time...

is there anything that can be done, or do I have a defective UPS Pico ?

PiModules commented 7 years ago

Your PIco is not defective.

Do you have PIco Stack or Plus?

Please send me pictures of your PSU

also run the following command and send me results

sudo i2cget -y 1 0x69 0x08 w && sudo i2cget -y 1 0x69 0x0a w && sudo i2cget -y 1 0x69 0x24 &&sudo i2cget -y 1 0x69 0x25 && sudo i2cget -y 1 0x69 0x26

BR Ioannis @ PiModules

On 20/1/2017 12:21 πμ, Eric Castro wrote:

I keep getting the constant beeping even though I moved to a 3 amps power supply.

|sudo i2cget -y 1 0x69 0x00 b|

keeps switching from 0x01 to 0x02 but returning 0x02 most of the time...

is there anything that can be done, or do I have a defective UPS Pico ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/modmypi/PiModules/issues/2#issuecomment-273917531, or mute the thread https://github.com/notifications/unsubscribe-auth/AIJ_hJZTyctxI6fZ9abk9ay80s9b4NLnks5rT-IFgaJpZM4LkAUo.

PiModules commented 7 years ago

I checked your video, until now I replying you by email. The PIco is not keeping the system running because the battery is completely empty. You can see the LED BAT lighting. Can you please also run the system on a clear (without any hardware) RPI + PIco, nothing else, and report it to me. Also show me you PSU on a picture. But the most important is to run the PIco on clear RPi without anything for other hardware. As I said before for 99.9% your PIco is OK.

BR Ioannis@PiModules

ericcastro commented 7 years ago

it's a UPS PIco HV3.0A Stack with 450mAh Battery

the power supply I am using is this one from amazon.

the output of the command you sent is:

pi@raspberrypi:~ $ sudo i2cget -y 1 0x69 0x08 w && sudo i2cget -y 1 0x69 0x0a w && sudo i2cget -y 1 0x69 0x24 && sudo i2cget -y 1 0x69 0x25 && sudo i2cget -y 1 0x69 0x26
0x0349
0x0484
0x41
0x53
0x18

I disconnected the only two things that were plugged to the Pi:

And the beeping stopped. It nows replies 0x01 all the time, but why is this happening ? I mean why would more energy consumption from other peripherals would affect the UPS PIco ?

PiModules commented 7 years ago

As I can see, PSU is good, or looks like good. However when you put all your hardware shows that you have significant voltage drop. I think that your additional hardware is drawing much more current time to time, so it cause the reported problem. We have included in the ongoing firmware upgrade some extra mechanism that makes thy system less sensitive for such cases, however if you have voltage drops below 4.75V as defined on the USB specs, UPS PIco must take over and supply from battery. We can not change it much more, as then we will be not able to protect your system.

As I explained many times on out technical http://www.forum.pimodules.com/ forum, you have the following conditions, your extra hardware require continuously or time to time, more current, and this cause due to (again) bad PSU or powering cable voltage drops below the 4.75 V, this activate the PIco battery back up, after that in a few seconds PIco is detecting that you have connected cable power, and is switching to cable powering dis activating the battery back up. But due to low powering voltage, PIco again switches to battery backup and again, again again. _ _You must use good PSU, and good micro USB powering cable. Try to connect one by one extra hardware to isolate which one is making your troubles , or select "true" 3A PSU @5.1V In the mean time , keep you system for about 2-3 hours without extra hardware in order to charge the battery. On my opinion the camera is doing that folks, check their current consumption

BR Ioannis @PiModules

On 21/1/2017 3:44 μμ, Eric Castro wrote:

it's a UPS PIco HV3.0A Stack with 450mAh Battery

there is no other hardware attached other than a USB dongle for the wireless keyboard.

the power supply I am using is this one https://www.amazon.fr/gp/product/B01566WOAG/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1 from amazon.

the output of the command you sent is:

|pi@raspberrypi:~ $ sudo i2cget -y 1 0x69 0x08 w && sudo i2cget -y 1 0x69 0x0a w && sudo i2cget -y 1 0x69 0x24 && sudo i2cget -y 1 0x69 0x25 && sudo i2cget -y 1 0x69 0x26 0x0349 0x0484 0x41 0x53 0x18 |

I disconnected the only two things that were plugged to the Pi:

And the beeping stopped. It nows replies 0x01 all the time, but why is this happening ? I mean why would more energy consumption from other peripherals would affect the UPS PIco ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/modmypi/PiModules/issues/2#issuecomment-274262606, or mute the thread https://github.com/notifications/unsubscribe-auth/AIJ_hDpc5oASv0ideMXqc5QQo5ZOzrhpks5rUgu5gaJpZM4LkAUo.