“Dizzy, The Deceitful” by Patt Vira & Epic Jefferson
Dizzy is a friendly looking teddy who actually watches your every move and makes everything it sees public.
Making use of the Raspberry Pi’s GPIO, we hooked up a PIR sensor to trigger a webcam capture event and publish the image to Tumblr.
Challenges
By far the most challenging part of this project was working with the API. Since it’s a lot easier to find examples of raspi projects written in python than in c++, we decided to use python. For example, the Tumblr API page has example code for python but not c++, adafruit has a great python tutorial for hooking up a PIR sensor to a Pi’s GPIO.
pytumblr is Tumblr’s official API client for python, but the instructions are unclear.
Python-to-tumblr Tutorial
epicjefferson.wordpress.com/2014/09/28/python-to-tumblr/
Source Code
github.com/epicjefferson/webcamToTumblr