skoky / MKRFox1200

Temperature sensor using Arduino MKRFox1200 and Google appengine/Go
0 stars 1 forks source link

DeepSleep #1

Open nimasaj opened 7 years ago

nimasaj commented 7 years ago

Thanks for sharing. As I can see in line 51, you're making a delay() rather than using LowPower.sleep(). Did you also have difficulties in waking up the module after deep sleep?

skoky commented 7 years ago

Yes, I did. But I also had a problem with coverage and I did not know if device did not wake up or coverage was too low to send data. The coverage has improved now, I will retry and let you know

skoky commented 7 years ago

I tested with deep sleep and it seems to work as it is not in repo. Is there any more "deep" sleep to save battery live?

nimasaj commented 7 years ago

I'm not sure for the code part, maybe you have to look for your components and electronics part to save more battery. If you're using voltage regulators, look for a low dropout and low quiescent current. Also, try to switch off your sensors during sleep mode.