Deepsleep behaviour when powered on batteries
berni last edited by
I am finding troubles when powering with batteries my LoPy+Deepsleep shield. This has been mentioned here in some posts:
Here is some debug information to help to fix this issue, since the deepsleep PIC is a bit of a black box right now.
The issue appears when powering the LoPy+shield with LiPo batteries directly on the Vin pin, in my case I have been using 3.7-4.1V (fully charge LiPos) and finding the issue. Calling the
get_wake_status()function from the
IndexError: bytes index out of rangein the
peek function. When powering with 5V (e.g. USB) it is perfectly fine.
What I found is that
self._magic(address, 0xFF, 0, 0)only returns 6 bytes instead of 7 when powered on batteries, causing the out of range exception.
jclo13 last edited by
have you found the solution to this problem? I have the same problem whit the lipo of 3.7v