I'm planning on setting up a timelapse camera with the official raspberry pi camera v2 using raspistill. The frequency of the captured images is relatively high (10+ fps), but I do NOT need realtime display. I just need to save the images.
I've read a lot of blogs/forums that say the SD cards have limited read/write cycles and often become corrupt. I can not afford to suffer this loss while capturing images, as I will not be on location 24/7 (offline). Therefore I would like to find the safest way to store the images while maintaining the highest framerate possible.
Here are the options I could think of for writing the images, but I'm not sure how the resulting write rates would compare as well as which ones are more likely to fail
- Write to local SD, once full, transfer to local high volume USB
- Write directly to local high volume USB
- Stream to remote data logger with high volume USB via ethernet (Pi3 only)
- Stream to remote data logger with high volume USB via wifi
Obviously the Pi3 has more "power" than the Pi0w, but I would like to know how each model would measure up with each option, as it would be nice if the Pi0w could work, given its small form factor.
I've read USB and SD pretty much share the same vulnerabilities, so really it comes down to whose faster in that comparison. The idea of streaming sounds nice, since I shouldn't have to touch the SD card or USB, hence avoid corruption and system failure. I would only need to stream the data to a data logger i.e. a local network. That being said, I suspect that streaming would bound my framerate in comparison to local writes.
So again, I would like to find the safest way to store the images while maintaining the highest framerate possible. Do any of the options I highlighted significantly outweigh the rest? Are there other alternatives?