SpellFoundry / SleepyPi2

Power Management board for Raspberry Pi
http://spellfoundry.com/sleepypi2
GNU General Public License v2.0
17 stars 15 forks source link

SleepyPi.enablePiPower() issue #19

Closed xianrecords2015 closed 4 years ago

xianrecords2015 commented 4 years ago

I am having an issue with turning off the PI with a SleepyPi.enablePiPower(false) and turning it back on with SleepyPi.enablePiPower(true) a few seconds later. The PI starts for 25ms and then no more 5v power. I have attached a diagram of what is happening. I have added a 5s delay after SleepyPi.enablePiPower(true) to ensure the power is stable before I interact with the PI. But it still shutdown the power. Only after a few minutes, I am able to restart it properly. Is there an issue with the power supply part of the board ? Is there a component placement and test point view of the board somewhere so that I can debug further ? Does anyone have an idea of what be happening ? Thank you.

Screen Shot 2020-05-27 at 2 16 27 PM

xianrecords2015 commented 4 years ago

Never mind. I had a: pi_running = SleepyPi.checkPiStatus(true); that was shutting down the PI. Changed it to pi_running = SleepyPi.checkPiStatus(false); Now working