I do not code, but I threw together the following which reads the momentary switch off of GPIO pin 4 and takes a picture. If the button is held for more than a quarter of a second, then video is taken. The video is killed at the next button press and converted into MP4 format:
In conjunction with this script, I also created a bash script to watch for '.jpg' and '.mp4' file extensions in the home directory. If the WiFi is connected and the Pi can reach the Internet via curl, then it will go through a for loop of the present media files, upload them to Dropbox via the dropbox_uploader.sh script [https://github.com/andreafabrizi/Dropbox-Uploader/blob/master/dropbox_uploader.sh], and finally delete them once they've been uploaded to save space. If not connected to the Internet, it will just store the files locally until I'm back on the WiFi:
Remember to come back and post what you've printed as Make.
It's good for the designer and the community (that means you)!
To post a Make, come back to this Thing and click Post a Make.
Or, you can use the Thingiverse Mobile app found on
and the Apple App Store.