If you power the camera off except for the six seconds where it's actually shooting you could do better than that? Except for the wear & tear on the mechanism.
The 23hs * 0.2Wh is the Arduino booting the Ixus autorunning the Oneshot script which adds up to 0.46 Wh.
The other question might be why you need the Pi running for a whole hour? I guess it comes down to image size, how many images per day (assuming you don't shoot in the dark), and the data transfer rate of the modem? Going to a higher compression on the image size will cost you a bit on quality but might be worth the trade off?
The full hour of the Raspberry Pi is based on booting up for 5 minutes each hour during the day (12 hours * 5 mins = 60 mins). A 5 minute window would give me regular reporting plus the option to log in and reconfigure the interval.
I could also interrupt the program to extend the window for more fiddling or housework.
I tested image transfer speed yesterday and got 60 full resolution images uploaded in 90 seconds, so I figured I'd leave the total at a round 60 minutes.
One of my 'sleepless inspirations' was to get the Raspberry Pi to pull all images from the camera during each 5 min window and to upload 6 images, one for each ten minutes ie. 06:30, 06:10, 06:20, 06:30, 06:40, 06:50
Dream inspired workflow
- Initial power starts Raspberry Pi which boots to idle mode.
- A cron job starts an edited version of multilapse.
- The edited bash script uploads any existing ten-minute-images to the cloud.
- multilapse powers up the camera via the relay
- The camera autoruns Oneshot.lua.
- The camera senses power at the USB port and enters CHDKPTP mode.
- multilapse.lua runs the camera re-configured to take 5 minutes worth of images.
- Prior to shutdown, the Pi switches a latching relay to wake the Arduino.
- Arduino boots the camera.
- The camera autoruns Oneshot.lua.
- Lack of power at the USB port initiates quick shot and shutdown.
- The Arduino repeats this sequence 55 times, taking us to around 40 seconds before the next hour.
- The Arduino switches on the relay for the Raspberry Pi.
- The Arduino toggles it's own power relay to off (I can't see why this isn't possible. It's a microprocessor, there's no hard disk to corrupt.
- After shooting hours, a different cron job will run on the Raspberry Pi, to upload the remaining images then it will power up the Arduino and shut down. The Arduino will have a real time clock, with the working day programmed into it, so it knows to sleep til morning.
This method relies on both machines being in reasonable clock sync but I suspect it's possible to achieve this.
Any suggestion welcome
Sdack