Greetings! I’m a newbie at this. I’ve done lots of searching, and I’m coming up blank. If it’s been answered elsewhere, then I’m happy to follow a link rather than re-create the wheel. (Most of the posts on the subject were c. 2016 which seemed to be a point when lots of the sleep stuff changed.)
My situation is a bit different than others. I’m making a tracker for my church’s tractor (TractorTracker!) which has been stolen a few times now. I have no problem spending lots of data but I since I’m hiding the tracker and won’t have access to recharging, I need to save as much power as possible (again, even if the cost is data usage).
I’ve been trying to follow the fancy asset tracker project but I’m not really getting it to work as expected. After some research it seems like it might be a v1 vs v2 thing(?).
I’ve decided to go back to the 3_WAKEONMOVE.ino example from the Asset Tracker Library. The problem(?) that I’m running into is the use of the SLEEP_NETWORK_STANDBY
rather than deep sleep mode,
System.sleep(WKP, RISING, TIME_PUBLISH_BATTERY_SEC, SLEEP_NETWORK_STANDBY);
because it seems like it takes a bit more power to keep the network standby mode activated than the “deep” sleep mode (see this). Please correct me if I’m wrong, but again I’m trying to save as much energy as possible!
So here’s the question:
What would be the best way to put the tracker into a deep sleep mode? I want it to wake up on movement, and every x hours to check in, and (obviously) would make it stay awake long enough to get a GPS signal lock, etc. I don’t have a coin cell yet but realize that’ll help get the lock quicker.
Thanks much! I’ve been impressed at this community when reading other posts (and I’ve read lots).