The sleeping sketch I mentioned above works fine as long as you don’t use the SDI12 library at the same time. If you do, there’s some conflicts due to the SDI12 and SODAQ_Pcint libraries looking at the same ports. So I created modified versions of both libraries that fixes the conflict. (This conflict also happens if you use SoftwareSerial and Pcint at the same time, so I also made a modified version of SoftwareSerial.) It’s kind of a brute force fix and there’s probably a better way, but it gets the job done.
If you don’t already have all of the libraries I posted recently (https://github.com/EnviroDIY/Libraries) get them and then simply change the include statements at the top of your sketch to look like this:
You don’t have to change anything else in your sketch, the modified libraries will handle everything the same.