Unreliable wakeup when using Waveshare SIM7600X board #990
Replies: 10 comments
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
You write you changed the profile to the 12000 battery. |
Beta Was this translation helpful? Give feedback.
-
Do you think it could be the battery itself? The battery I'm using (and I appreciate this isn't supported, but seems to work fine without the SIM7600X installed) is a set of 4 x 18650 2600mAh batteries in parallel, with no temp monitoring. I can swap this for a supported battery instead - I just so happen to have ordered yesterday 3 of the 12,000mAh PiSupply batteries (first time I've managed to get them shipped to NZ), so can do the test with that and the custom profiles you mention when it arrives. More info - I did the SW2/SW1 reset to the PiJuice but the wakeup is still unreliable - failed to wake up overnight at all. Woke up correctly once power supplied to PiJuice micro USB socket. I've got two more new PiJuices so I'll do some more testing whilst I wait for the batteries to arrive. |
Beta Was this translation helpful? Give feedback.
-
Yay! 3 new shiny 12,000 mAh batteries arrived from PiSupply today, so I'll do some more testing with v1.5 and v1.6 firmwares, and will report back later this week. |
Beta Was this translation helpful? Give feedback.
-
Update - I've been testing this with the PiJuice 12,000 mAh battery for the last week with both v1.5 and v1.6 battery firmware, and it hasn't skipped a beat. Wake-ups have been perfectly reliable. And as an added bonus, battery performance has exceeded both the original 15Ah LiFePO4 batteries I've got in the field, and my home brew 4x18650 in parallel concoction. So I guess I don't understand exactly the mechanism, but I suspect the root cause of the issue is more likely to be my original unsupported battery and will close this discussion - but leave it here in case anyone else has similar symptoms. |
Beta Was this translation helpful? Give feedback.
-
Last update - everything has been working flawlessly the last couple of weeks. |
Beta Was this translation helpful? Give feedback.
-
For anyone else who finds this discussion and is experiencing similar behaviour, I've had this occur with another PiJuice, this time with a LiFePO4 battery, and not using the Waveshare modem. The Pi was seemingly not waking when not connected to an external power source - but would work fine if already booted. I think it was actually down to a poor power connection over a piece of wire that was too long - whilst troubleshooting I noticed that there was a large voltage drop occurring on the negative wire back to the battery - I think the Pi was actually booting up but not managing to complete the boot, as the process of booting was drawing a little too much current. I've shortened the cable and reconnected and it's since working better. Something else to eliminate if you're having strange wake up issues. |
Beta Was this translation helpful? Give feedback.
-
A further update - I had 12 cameras mostly working well for the next 6-7 months across a summer and winter. However there were still occasional wake up issues and a number of random restarts (worked around with the watchdog functionality). I tweaked the design and dropped the Waveshare modem and switched back to the HUAWEI thumb modem stick powered from VSYS via the System Power Switch, and this combined with the LiPo rather than LiFePO4 battery seems to have addressed the wakeup and restart issues. Power use also seems better now that I no longer needed to use a buck boost convertor to up the VSYS from 3.5-3.8V to 5 for USB (not needed with LiPo) So to anyone else using a PiJuice in the field with cellular modem, I would suggest avoiding LiFePO4 battery chemistry and also maybe not using the Waveshare board I was using. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm using a number of PiJuices in a remote camera setup (timelapse, and monitoring pollution on building sites - https://github.com/venari/timelapse).
I've had issues with power draw from a HUAWEI 4G Wingle E8372, so I'm looking to move to a HAT to provide network access.
Whilst testing a board to check it all works with the PiJuice/Waveshare SIM7600X/Pi Zero setup, I've noticed that when the SIM7600 hat is attached, the wake up becomes unreliable.
More info:
I've got 12 cameras out in the field and they're reliably waking up. I have them shutdown overnight and wake up every hour. During the day they run for 12 hours continuously. In addition, I have a process that detects failure to upload or capture imagery and bounce the Pi if this occurs. I do this by setting a wake up 5 minutes in the future and do a full power down to try and give everything a chance to reset.
With my test unit on my bench, over the course of a few days testing I'm finding the following:
Instead of regularly restarting every 15 minutes when either powered via PiJuice USB, or with the 7600X not attached, it's like it is missing the wake up alarm - examples I've seen are 7 hours late, 1 or 2 hours late, and 5 hours late, all on the right minute.
From my log files and reviewing system log files, it appears that the Pi is not powering up at all during these periods. I've got the RTC overlays set and clock is working reliably.
So my question is whether use of the PiJuice and Waveshare SIM7600X board should work in this scenario, or if there's is anything I need to change to make the wake up alarm more reliable. I've seen mention in other tickets of capacitance of other boards affecting wake up alarms - could this be part of the issue?
I've just seen reference to the
pijuice_log
script, so will gather some of those results to see how they differ between scenarios, I'll attach these in the next 24 hours.Beta Was this translation helpful? Give feedback.
All reactions