I Built a Smart Map Picture Frame – Raspberry Pi 5

I designed, built, and programmed a smart picture frame that goes along with a laser cut map, which allows displaying pictures based on locations you touch on the map. See the video and details below for more information.

Components/Materials & Key Tools needed for project

Components/Materials:

  • Raspberry Pi (I used the Raspberry Pi 5)
  • Small portable monitor / screen
  • Wood (see video)
  • Screws / brackets
  • Appropriate HDMI cable

Tools:

  • Something to cut wood members (I used a miter saw).
  • A laser cutter to cut the front frame cover with precision (I used an Atomstack Laser cutter/engraver).

How to build the frame:

Take a look at this video (I built the frame for a previous project and I am simply re-using it!).

Video: https://youtu.be/42SVtqFRijQ

How to program the Raspberry Pi

Creating and entering virtual environment

To create the virtual environment:
python3.11 -m venv –system-site-packages DIY_Eng

To enter the virtual environment:
source DIY_Eng/bin/activate

To deactivate the virtual environment:
deactivate

Relevant libraries

You will need the following installed within your virtual environment (along with any other dependencies): cv2, pygame, time, numpy, and RPi.GPIO. I showed exactly how to install these and many others in a past video –> Link to video: https://youtu.be/42SVtqFRijQ

Python Code

Affiliate Links

ComponentLink
Raspberry Pi 5https://amzn.to/3W2IAov
Raspberry Pi 5 Casehttps://amzn.to/4f3xmIV
18-inch x 24-inch x 1/8-inch (3mm) Basswood Sheetshttps://amzn.to/4crIzkN
12-inch x 12-inch x 1/8-inch (3mm) Basswood Sheetshttps://amzn.to/3ycM5km
TTP223B Touch Sensorhttps://amzn.to/4bWtlDp
Portable Monitor 15.6 Inchhttps://amzn.to/3SmVa0J
Bracketshttps://amzn.to/4cvUhuV
Dewalt Miter Saw Clampshttps://amzn.to/3W1EWLK
USB C 90 degree adapterhttps://amzn.to/46kvwiT
Mini HDMI to HDMI 90 degree adapterhttps://amzn.to/3Wfwgl2

Details on my laser cutter/engraver: