1
TinyDuino Processors & TinyShields / TinyZero + GPS Sleep w/ RTC
« on: May 22, 2023, 12:26:33 PM »
Hello,
I have recently been trying to work out a way to sleep to conserve battery in-between GPS logs to the SD shield but find when I use the RTCZero sleep function that the device sleeps and never wakes. The wake is being fired as an alarm interrupt but I can’t seem to get it to wake. Has anyone encountered this issue before? If so… does anyone have a working example? For context I am using the TinyGPSPlus library to parse the GPS data and have my SD CS pin set to pin 10.
For the RTC wake I am trying to log in intervals of 15 seconds and sleep between cycles. The GPS is connected via SoftwareSerial as the TinCircuits example provided.
Any insight would be greatly appreciated!
I have recently been trying to work out a way to sleep to conserve battery in-between GPS logs to the SD shield but find when I use the RTCZero sleep function that the device sleeps and never wakes. The wake is being fired as an alarm interrupt but I can’t seem to get it to wake. Has anyone encountered this issue before? If so… does anyone have a working example? For context I am using the TinyGPSPlus library to parse the GPS data and have my SD CS pin set to pin 10.
For the RTC wake I am trying to log in intervals of 15 seconds and sleep between cycles. The GPS is connected via SoftwareSerial as the TinCircuits example provided.
Any insight would be greatly appreciated!