RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Project - Picture Frame Arcade

    Scheduled Pinned Locked Moved Projects and Themes
    pictureswall mountprojectpi 3
    7 Posts 4 Posters 3.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jebbettJ
      jebbett
      last edited by jebbett

      Hi All,

      I'm brand new to the forum so firstly hello! I thought I'd share my project with you..

      Many years ago I gave my mum my 17" laptop, this Christmas she got a new laptop, so I thought rather than throw the whole thing away, I'll strip out the screen and make a digital picture frame.. And this post is of my project and the things I have learnt and the things I still want to do..

      Parts list:

      • Dell 17" Screen (1440 x 900)
      • LCD Controller - Found easily on eBay by searching the number off the back of the screen..
      • 12V PSU
      • 12V to 5V USB Step down PSU
      • IR HDMI Switch
      • Raspberry Pi (Running RetroPie)
      • Chromecast
      • 2 inch Deep 3D Shadow Box Picture Frame
      • 8Bitdo N30 Pro Wireless Bluetooth Controller
      • JST-PH2.0 Stereo Enclosed Speakers @ 3 W
      • 64GB microSD card
      • A few cables and connectors

      Overview:

      So the picture frame itself helped greatly, it already had the depth to contain everything and was about the right size for the screen, I purchased some thick white card so I could cut to fit the screen, this was then layered to 3 layers thick, the first is the front layer, cut this to the size of the visible screen first, if you make a mistake you can then use it for one of the layers behind, the second layer was cut to fit the outside of the screen to hold it in place, the third layer was then extra padding so it would fit firmly between the front surround and the back box.

      Then I put in all of the parts and worked out where they fitted best.. and once placed cut holes in the frame for the screen controls, power switch for the Pi, ventilation, USB (to charge the controller and connect keyboard and mouse to the pi) and HDMI. I then used Velcro to hold each item in place, so I can remove if needed.

      What it can do:

      It loads in to the ChromeCast by default, this is set to play photos from a shared Google Photos album, so my partner can upload photos too.. Ass it's a chrome cast I can also cast photos and videos to it, even ask Google Home to cast to it..

      The Raspberry Pi is running RetroPie and has a power switch to turn it on, this isn't needed, but just means the Pi wont load every time the picture frame turns on and use power unnecessarily.

      I can switch between the 3 HDMI ports using the IR remote (Pi, ChromeCast, external socket), the remote is also stuck to the top of the frame with Velcro for safe keeping.

      Obviously you can forego some of the things I added, the HDMI switcher and USB power supply is not necessary if you don't plan to connect a ChomeCast or additional HDMI connector..

      I have also set the screen saver and boot screen to randomly pick photos from a folder.. so after it's been idle it goes back to a picture frame! I've also added a script to automatically trigger the screen saver after the boot in to emulation station, updated in the post below.

      What I Learnt and Things to Consider:

      • Some laptop monitors have poor angle of view, this will limit the height I can mount this.
      • ChromeCast is setup for 1080p and doesn't play nice with other resolutions, on my screen everything is stretched making everyone look thin
      • The Pi will not output to HDMI as default if no screen detected (if using a switch), you need to update config.txt to hdmi_force_hotplug=1 you will also need to set hdmi_drive & hdmi_mode depending on the screen you are connecting to. If you set the refresh rate too high but using the wrong mode, you will need to edit via SSH or put the card in to another computer to edit - yeah I learnt the hard way!
      • Enable SSH before doing anything! (For the above reason)

      What I would like to do

      The aspect ratio on the ChromeCast bugs me, I may replace the screen later for a 1080 screen.. however I'm tempted to forgo the benefits of the ChromeCast and just store the photos locally, not sure if anyone has any ideas?..

      • Anyone have any ideas how to integrate a Google photo album in to the screen saver, I think I may need to sort out a script to pull new photos in to the local folder, although I'd prefer to stream directly..
      • Graceful shutdown... I'd like to add a mini UPS, so when the power is turned off the Pi shuts down properly (Been ordered)
      • Put in buttons for the screen controls (just need to put a bolt through the hole)

      Pictures:

      0_1516574910850_IMG_4624.jpg
      0_1516574958311_IMG_4645.JPG
      0_1516574986032_IMG_4641.JPG
      0_1516575017992_IMG_4648.JPG
      0_1516575026097_IMG_4649.JPG
      0_1516575035569_IMG_4639.JPG

      1 Reply Last reply Reply Quote 5
      • N
        Newellj79
        last edited by

        Love this! I was just showing it to my wife. She is now questioning how many thing do I really need need to build a pi into...

        jebbettJ 1 Reply Last reply Reply Quote 0
        • jebbettJ
          jebbett @Newellj79
          last edited by

          @newellj79 said in Project - Picture Frame Arcade:

          Love this! I was just showing it to my wife. She is now questioning how many thing do I really need need to build a pi into...

          Haha, I'm sure my other half wonders the same thing.. here's my Christmas Tree!

          And I've already prepped an SD card, just need to sort out the 2 way mirror and screen to run this:

          https://magicmirror.builders/

          1 Reply Last reply Reply Quote 0
          • DorkVonWaterfallD
            DorkVonWaterfall
            last edited by

            @jebbett said in Project - Picture Frame Arcade:

            Graceful shutdown...

            i use one of these, works like a charm:

            https://www.ebay.com/itm/IR-Remote-Control-Switch-Module-Power-Button-Module-for-Raspberry-Pi-3-2-Model-B-/222412691189

            you could solder the IR eye of the PCB, solder wires on and put it somewhere more convenient

            01001110 01101111 01100010 01101111 01100100 01111001 00100000 01101011 01101110 01101111 01110111 01110011 00100000 01101001 01100000 01101101 00100000 01100001 00100000 01101100 01100101 01110011 01100010 01101001 01100001 01101110 00100001

            jebbettJ 1 Reply Last reply Reply Quote 0
            • jebbettJ
              jebbett @DorkVonWaterfall
              last edited by

              @dorkvonwaterfall

              Unfortunately not quite what I need.. basically I have my whole house automated, so when I walk in to the living room the lights come on along with this picture frame, after no activity for 5 minutes everything turns back off... (If I only cut the Pi then power would still be fed to the Chromecast and screen etc)

              So essentially I need a UPS to give it time to shutdown.. I'm thinking probably something like this:

              https://www.banggood.com/Geekworm-UPS-HAT-Board-2500mAh-Lithium-Battery-For-Raspberry-Pi-3-Model-B-Pi-2B-B-A-p-1105260.html

              By the way.. anyone else considering this.. just with the PI, you could just hook up a PIR like the below and leave the Pi Running, but send the screen to sleep..

              https://www.ebay.co.uk/itm/Infrared-PIR-Motion-Sensor-Module-3-x-GPIO-cables-for-Raspberry-Pi-2-Model-B/263202444167

              1 Reply Last reply Reply Quote 0
              • jebbettJ
                jebbett
                last edited by

                UPDATE: 27/01/18 - Script to trigger screen saver almost immediately after loading emulationstation

                1. Install Python uintput

                sudo pip install python-uinput

                2. Create a script called simkeypress.py to simulate screen saver button (Enter in my case)

                import uinput
                import time
                device = uinput.Device([
                uinput.KEY_ENTER,
                ])
                time.sleep(8)
                device.emit_click(uinput.KEY_ENTER)

                3. Update autostart.sh to trigger the above script in the background

                sudo python /opt/retropie/configs/all/simkeypress.py &
                emulationstation --no-splash #auto

                1 Reply Last reply Reply Quote -1
                • Z
                  Zeero
                  last edited by Zeero

                  You did a wonderful thing, an invention if I could say so. Your idea of reusing an old laptop would not have even crossed my mind. Now that I've seen this, I'm thinking about how many things I could have reused, and I'd like to try something similar. How many days did it take you to conceive and put everything together? By the way, I saw on the website https://www.frameshop.com.au/acrylic-prints some accessories that would help you, and some frames would fit well with your digital images. You can do a small business out of it.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                  Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.