The concept is simple, family members post photos to Twitter with a predefined hashtag and a digital picture frame updates on regular intervals to pull down new images. Using the Raspberry Pi, Wi-Pi and an inexpensive LCD display we built a prototype picture frame for a family member as a Christmas gift. While the first iteration of this project only works with Twitter, we intend to add additional support for Instagram and Facebook. The primary hurdle with adding additional social support, is finding a way to overcome duplication as many people automatically post to all 3 networks.
- Raspberry Pi
- AOC E2243FWK 21.5″ Wide LCD Glossy Black
- SanDisk Flash 16 GB SDHC Flash Memory Card SDSDB-016G
- Picture Frame
- Basic Easel
- Belkin USB Car Charger
- Importer520 New Gold Plated HDMI Female to DVI-D Male Video Adaptor
- RiteAV HDMI Cable 1080p (1.5 feet)
- Desktop Plastic Project Case Box 8.85″ x 6.5″ x 1.57″. I used a 6.88in x 4.88in x 1.40in from Serpac but it was hard to find and a little cramped.
- Project Box 3.97″ x 2.12″ x 1.72″ for the Car Charger
- Anytime Tools 48 pc HEAT SHRINK TUBING WRAP SLEEVES ASSORTED SIZES
- Lian Li Motherboard Screw and Bolt Kit Model: S-M01 (40pcs)
- 6″x23″ Particle Board. You can find this at your local hardware store. It just needs to be ridged enough to hold our display in the frame.
- 1/2″ wood screws for mounting the particle board to the back of the picture frame.
- Uncut Mat board
- Disassemble the display. This requires a bit of patience. If you have a nylon pry bar I would suggest using that rather than a screw driver. Start by prying the face plate off beginning at the logo on the bottom. Be careful not to destroy any cables or the controller board in the foot of the display.
- Splice the car charger into the power cable for the display between the power supply and the monitor. You will need to break open the car charger and solder the power to it. The center wire of the power cable will need to be soldered to the joint connected to the tip of the car charger. The outer wire of the power supply will need to be soldered to the joint that is connected to the outer part of the car charger. After this, you will need to reconnect the power supply’s plug. Use the heat shrink to reinforce the wire joints. Assemble everything in the smaller project box and plug in the USB wire that will power the Raspberry Pi.
Assemble the components in the larger project box using the screw and bolt kit. This includes the Raspberry Pi and display controller. If you have a 1st gen Raspberry Pi you will need to get a little creative as it does not have mount holes.
Framing the display will be a little difficult because the display itself is about 2cm too large for the frame. I used a small chisel to notch out enough space for the frame. You will need to cut the mat to fit the frame leaving enough of a border to cover the gap between the top of the display and the top of the frame.
- Wire up the power to the display controller and Raspberry Pi. Then run the HDMI from the DVI adapter to the Raspberry Pi. You will also need to rewire any display cables that were unplugged during disassembly.
Before completing the frame assembly, you will need to complete the software setup. Once everything is in the frame, some of the edges will no longer be visible. After you have completed the software setup, place the display and mat in the frame secure it with the strip of particle board. I secured the project boxes to the particle board using hot glue.
- Setup SD card
- Setup Raspbian
sudo apt-get update sudo apt-get install chromium-browser unclutter mkdir /home/pi/.config/lxsession/ mkdir /home/pi/.config/lxsession/LXDE/ sudo nano /home/pi/.config/lxsession/LXDE/autostart
@chromium-browser --kiosk -a http://www.domain.com/twitter-gallery @unclutter
sudo nano /etc/lightdm/lightdm.conf
[SeatDefaults] xserver-command=X -s 0 dpms
- Clone the gallery repo and upload to your web server.
- Reboot and cross your fingers