Make an Animated GIF Photo Frame with a Raspberry Pi

November 17, 2014 - photo frame

Make an Animated GIF Photo Frame with a Raspberry Pi

The Raspberry Pi is good for all kinds of engaging and formidable projects. It’s also good for foolish projects, like this charcterised GIF print support we done this week. Here’s how to make one for yourself.

What You’ll Need

This plan doesn’t need too much, though you’ll need a bit some-more than only a Raspberry Pi to get it working

  • Raspberry Pi Model B or B+ (The 256MB in a A only doesn’t cut it)
  • PiTFT display (any arrangement will work, this one’s only inexpensive and small)
  • USB keyboard (temporarily, we went with a mini wireless keyboard so we can simply change a URL of a GIFs whenever we want)
  • SD Card
  • Wi-Fi adapter
  • Power adapter (you could also get a battery container if we don’t wish an nauseous cord unresolved off on your wall)
  • Picture unresolved strips (if we wish to mountain it to a wall)
  • Frame-Black/dp/B006020N9K/ref=sr_1_14?ie=UTF8qid=1415927518sr=8-14keywords=2x3+photo+framestag=lifehackeramzn-20ascsubtag=[type|link[postId|1658839211[asin|B006020N9K[authorId|5716493564230329059" target="_blank">A inexpensive print frame

What You’ll Get

Once we finish with this project, you’ll have a Raspberry Pi mounted to your wall with a print support around it that displays a new pointless GIF each few seconds. It’s impossibly goofy, though surprisingly overwhelming during a same time.

Step 1: Install Raspbian

First things first, you’ll need to implement and set adult Raspbian. If you’re regulating a PiTFT arrangement we did, it’s a heck of lot easier to set adult with their custom
Raspbian image. You’ll implement it on your SD label a same approach as common with Raspbian, though a handling complement will already be configured for a display. You can follow a beam here. Make certain we also set adult a Wi-Fi label while you’re during it.

During initial boot, we competence also wish to
overclocking your Pi to during slightest 900MHz. Some of these GIFs are outrageous and need a small additional energy to bucket adult properly. While you’re in a Raspi-Config menu, go forward and make certain Boot to Desktop is enabled as well.

Step 2: Hook Up Your Display

Make an Animated GIF Photo Frame with a Raspberry Pi

I went a intensely idle track and bought a PiTFT that’s already soldered and prepared to go. So, all we need to do here is click a arrangement into a GPIO on your Raspberry Pi.

When it’s bending up, go forward and foot adult Raspbian. You’ll be asked to regulate a hold screen. Follow a on-screen directions and you’re all set.

Step 3: Install Chromium

Make an Animated GIF Photo Frame with a Raspberry Pi

In sequence for this to work, you’ll need a web browser that has a full-screen mode. Chromium’s
kiosk mode works ideally for this. Load adult LXTerminal to get into a authority line in Raspbian. Then form this in:

sudo apt-get implement chromium

Once it’s finished downloading we can take your GIF appurtenance for a exam spin. I’m using
Giphy TV to supply a GIFs. Type in:

chromium --kiosk

Chromium should now launch with some full-screen GIFs. You can change a /giphytrending partial of a URL to whatever hunt fibre Giphy supports, like /science, /adhd, or /cat

When you’ve accurate it works, daub Ctrl+F4 to exit kiosk mode and conduct behind to a authority line.

Step 4: Stop a Screensaver and Power Saving Features

Make an Animated GIF Photo Frame with a Raspberry Pi

Your honeyed small GIF print support is adult and running, though unfortunately after about 10 mins a shade will low and we won’t see those fanciful GIFs. Next up, we need to invalidate any energy saving facilities on your Raspberry Pi. From a authority line, form in:

sudo nano /etc/xdg/lxsession/LXDE/autostart

This loads adult a content editor. You’ll do a integrate things in here. First, criticism out a @screensaver -no-splash line by adding a # before it so it looks like this:

# @xscreensaver -no-splash

Then, supplement these lines next that:

@xset s off
@xset -dpms
@xset s noblank

While you’re in there, we competence as good get Chromium to launch on foot in box we incidentally unplug your Raspberry Pi. Add in this line, inserting whatever Giphy URL we want:

@chromium --noerrdialogs --kiosk

With that, your Pi will foot right adult into GIF mode.

Step 5 (Optional): Mount it to a Wall

Finally, you’ll only need to mountain your Raspberry Pi to a wall and hang a support around it. we used a couple
command design unresolved strips like this so we can simply mislay a Pi from a wall when we need to. Then, we went and grabbed a inexpensive wallet-photo sized print support from Walgreens, cut out some spaces for a Pi’s tools to hang out of, and taped it all together with electrical tape. we like that a wiring are still visible, though we can cover them adult with a pad if we prefer.

small.wp_rp_excerpt { line-height:115%; font-style:normal; } .related_post_title { } ul.related_post { line-height:120%; } ul.related_post li { list-style-type:none; clear:both; margin:0 0 0 3px; } ul.related_post li a { font-weight: bold; display:block; margin:0 0 5px 0; } ul.related_post li a:hover { text-decoration:underline; } ul.related_post li A img { width:130px; height:auto; }

More frame ...

› tags: photo frame /