Retro Raspberry Pi Tumblr GIF Camera : 10 Steps (with Pictures) - jonesandecone
Introduction: Retrospective Raspberry Operative Tumblr GIF Camera
I sought a way to use my vintage cameras in a new, digital way. I have a few kicking around in single conditions, but harbor't used them in ages because the film is costly to build up. Watch on with this Instructable to see how I put down a Raspberry Pi and Principal investigator Photographic camera inside a retro film television camera, and programmed it to upload GIFs to my Tumblr.
The encipher is supported Lara's free-soil Instructables Raspberry Pi Socio-economic class, which contains blue-chip downpla info if you're unused to electronics, programming, or the Operative. If you have some Pi experience, you Crataegus laevigata prize the Pi Tumblr GIF Photobooth Instructable, which is a much epigrammatic overview of the class content. The same code sack be in use to run a photo booth at your next party! I chose to take my camera raiseable with a big bombardment pack to capture GIFs at Maker Faire NY this yr.
This Butt Brownie Cardinal-20 is a 40s camera, and it was pretty dirty and didn't take great photos, so I don't flavor bad about gutting it. I'd think double about cutting and drilling through whatsoever other members of my collection. If you take this on, be sure you'ray comfortable disabling your tv camera's ability to shoot film, as my methods are a bit ruinous.
For this project, you will need:
- Boxlike time of origin camera (mine's a Target Hob half dozen-20)
- Bir Pi exemplary A+
- SD card with Raspbian
- Private detective camera with ribbon cable
- Powered USB hub
- Wifi dongle
- Three LEDs (I secondhand snowy, green, and red)
- Cardinal resistors (any between 100-220 ohms)
- Pushbutton
- Wires with female headers
- Solderless breadboard
- Micro USB cable's length
- Keyboard & mouse (I used this miniskirt keyboard with trackpad)
- HDMI display with cable
- Radio set internet network name and password
- Tumblr score
- Tumblr API client information
- Small screwdriver
- Double stick foam tape recording
- Hot glue
- Passion shrink tubing
- Soldering iron and solder
- Battery pack
To keep up with what I'm running on, follow me on YouTube, Instagram, Twitter, Pinterest, and subscribe my newssheet. A an Amazon Associate I earn from qualifying purchases you make using my consort links.
I used the Raspbian operating system for this project, which includes Python 2, but you'll need to install extraordinary packages using the following lines of code in your Pi's final window ready to run the script:
sudo apt-get update
sudo tending-stupefy install imagemagick
sudo apt-get install mpg321 -y
sudo apt-start install python-RPi.gpio python3-RPi.gpio
sudo pip install pytumblr
Step 1: Prototype Circuit
I prototyped this project outside of the camera (no bonding required), then moved the components inside the photographic camera. I recommend this method in order to troubleshoot installation problems vs. base functionality problems. Get it working earlier trying to stuff everything into a midget, sometimes metal, place!
Same LED is programmed to turn on when the Python handwriting starts up, and some other flashes in time with the photos being taken after you press the pushbutton. A third LED corset lit while the Pi is processing and uploading the GIF, so you know when information technology's ok to take another.
Step 2: Break apart Camera
Afterward I finished troubleshooting the code and circle, I emotional on to build everything into my camera.
In add-on to opening the camera up from its box (this video was helpful in remembering how), I used a minor screwdriver to transfer the front instrument panel of the camera. Set the screws in a cup or tray somewhere safe and sound; they're lilliputian!
I (carefully) smashed out the crystalline lens glass to make elbow room for the pi camera.
Tone 3: Mount Pi Camera
I used double-stick foam tape to mount the pi camera inside the inside of the front panel of my vintage tv camera. I routed the medallion cable through to the main body of the camera, which I opened up by cutting out the interior unlifelike.
Tread 4: Install Pushbutton
I installed the pushbutton to be triggered by the original shutter lever tumbler, and ran its wires to the interior television camera body besides.
Step 5: Prepare and Install LEDs
I soldered the LEDs up with approximately resistors and heat shrink tubing, past utilized some hot glue to secure them in place.
Completely the wires road back into the main trunk of the television camera, which was big enough for the Pi once I cut out the cardboard.
Step 6: Test and Configure
I plugged everything in again to test it out inside the new build, and I added a shell script to run my Python script when the Pi boots up, so I lav operate it without a covert or keyboard. I also added my phone's tethering wifi network to my Pi so I could take it with me to Maker Faire.
The case script should be located in /home/protease inhibitor and contain:
#/bin/sh cd / cd home/pi/boof python TumblrGIFCamera.py & exit 0
You'll also need to add the startup script to /etc/topical anaestheti by appending this line at the end:
/home/pi/startupscript.sh
To boot, the permissions mustiness be practicable happening both the Python script and shell script, which you stool laid with the following command lines:
sudo chmod +x /home/pi/startupscript.sh sudo chmod +x /home/pi/boof/TumblrGIFCamera.py
Step 7: Conclude IT Dormie
I routed the business leader USB cable through the back cover and closed up the camera, checking to see that it boots and the green LED turns on, and it flashes the white Light-emitting diode when taking photos, etc.
Step 8: Electric battery Superpowe
If you're staying put with your camera, you can power it from the USB hub or wall power supply, but I wanted to take mine with me away adding a USB stamp battery pack. I used velcro tape to assure it to the underside of the camera. Ideally the battery would fit inside the camera body somewhere, but for my purposes (seven-day day, need effortless accession to bombardment activation button), this arrangement worked just fine.
Step 9: Use of goods and services It!
Break there and takings some GIFs! Escort all mine on my Tumblr foliate.
Step 10: Final Thoughts
I had extraordinary connectivity issues at times, which unbroken the file from being uploaded, and past IT would get overwritten with the next GIF. Thus ideally in the next version, the code would be optimized to salve all the GIFs with unlike filenames so as to hold open them all.
The Razzing Pi sit A fits inside my tv camera, simply was significantly slower in "developing" the GIFs than a quicker RasPi 3 I've tried this code with before.
I need to add another shutter indicator LED that's easier to see from the photographer's stand while holding the camera. Arsenic information technology stands I have to look in the side to see when to shout out out "exchange!" to capture the subject in different moments.
Please share your thoughts and feedback with me in the comments! I'd love to hear what you suffer to say.
To keep up with what I'm working on, follow me connected YouTube, Instagram, Chitter, Pinterest, and Snapchat.
Be the First to Share
Recommendations
Source: https://www.instructables.com/Retro-Raspberry-Pi-Tumblr-GIF-Camera/
Posted by: jonesandecone.blogspot.com

0 Response to "Retro Raspberry Pi Tumblr GIF Camera : 10 Steps (with Pictures) - jonesandecone"
Post a Comment