create account

A smarter digital photo frame with a Raspberry Pi by steevc

View this thread on: hive.blogpeakd.comecency.com
· @steevc ·
$3.68
A smarter digital photo frame with a Raspberry Pi
I have a number of Raspberry Pi computers of various types and have been looking for applications for them. One I thought of was as a digital photo frame so we can see some of our pictures more often. We were given a basic one years ago, but it could sometimes lock up and you needed to keep adding pictures to the SD card to keep it fresh. A Pi should have more than enough power to do better than that.

I had a Pi 3 that seemed ideal. I have a couple of Model B and some Pi Zero, but those are much more limited. I found [this site](https://www.thedigitalpictureframe.com/) that has lots of articles on how to implement your perfect frame and much of it uses a Pi. A Pi 4 would be ideal, but this had to be zero cost project using what I have. For a screen I have an 19" HP model that was not being used. I needed an adaptor to plug the HDMI cable into the DVI socket on the monitor. I knew I had one around, but it took me a while to find it as it was in the back of another monitor.

![Pi](https://files.peakd.com/file/peakd-hive/steevc/Fyb2Opjj-image.png)

This is the set-up for testing. In real use it will not have a keyboard and mouse. The first step was to create a boot image on the Micro SD card (32GB). I used the [Raspberry Pi](https://www.raspberrypi.org/downloads/) Imager software that is available on Windows, Apple or Linux. I have a PC running Ubuntu. This app downloads the image you select.

Once the Pi was booting I needed to configure a few things such as a password and to get it connected to my wifi. The latter proved to be challenging as it has been before. You can set it up in the graphical interface, but I needed the Pi to boot to a command line. I had to resort to the method of creating a wpa_supplicant file which contains some slightly cryptic lines. You can get the details [online](https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md). I also needed to enable ssh (secure shell) access as it is much easier to copy over commands and configuration on my PC and it would allow me to access the Pi later on. I installed [Samba](https://www.samba.org/samba/what_is_samba.html) which lets you access the storage on the Pi remotely so I could copy over files, including photos.

The site recommended [Pi3D](https://pypi.org/project/pi3d/2.17/) as the photo viewing software as it allows for nice transitions. It is actually a whole library of graphical functions, but one of the demo applications is a photo viewer. Somewhere along the line I ended up turning off the power for the Pi and this may have corrupted the storage. Luckily I was able to recover it by using the [fsck command](https://linuxize.com/post/fsck-command-in-linux/) (file system check) on my PC. I could have created the image again, but it takes a while to get everything set up again.

I was able to start the software from my PC over ssh and tried some of the 3D graphics demos. I think it was during the above corruption issues that it somehow lost an important file (called six_mod.py). I was able to download this from the [project](https://github.com/tipam/pi3d/blob/master/six_mod.py). I was not sure where to put it, but it is working fine in the folder where the various demos are stored. I copied some photos over and they appeared in random sequence when I ran the software.

There was a further configuration step to create a service which would run when the Pi starts. I am not sure how, but the file ended up with the wrong text in it, so that did not work at first, but now it does since I fixed it. So I am at least part of the way to where I want to be. There is an issue with the Pi not connecting to the wifi sometimes, but restarting it seems to fix that and Samba is not always running. I need to check on how to ensure that always runs.

To easily add photos to display you can [synchronise from Google Photos](https://www.thedigitalpictureframe.com/how-to-synchronize-your-digital-picture-frame-with-your-google-photos-albums-using-rclone/). This uses [rclone](https://rclone.org/) which can work with various cloud storage. That can be Dropbox, Nextcloud or even an FTP server. Google makes it easy as all my photos are there anyway and I just need to add them to the appropriate album.

Now I need to see if this setup is rated as 'family friendly' so it can go somewhere we will see it. The site has [some examples](https://www.thedigitalpictureframe.com/the-digital-picture-frame-user-gallery-with-great-examples-and-inspiration-for-your-raspberry-pi-projects/) of what people have created. Some have mounted their screens in actual picture frames and hidden the cables from view. I will look into that.

This is all a fairly technical process to get running, but the instructions given are pretty clear. It should be possible to create a Pi image that has everything set up already, but there will be different user requirements and it is just a matter of getting the right combination of software. For the hardware you will need a Raspberry Pi, which will cost from about £50 once you factor in power supply, memory card, case and cables. It should be possible to find a second hand monitor fairly cheaply.

Hive five!
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 43 others
properties (23)
authorsteevc
permlinka-smarter-digital-photo-frame-with-a-raspberry-pi
categoryhive-142614
json_metadata"{"app":"peakd/2020.09.4","format":"markdown","description":"Get your photos seen at home","tags":["raspberrypi","stem","photography","linux","hacking","geek","palnet"],"links":["https://www.thedigitalpictureframe.com/","https://www.raspberrypi.org/downloads/","https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md","https://www.samba.org/samba/what_is_samba.html","https://pypi.org/project/pi3d/2.17/","https://linuxize.com/post/fsck-command-in-linux/","https://github.com/tipam/pi3d/blob/master/six_mod.py","https://www.thedigitalpictureframe.com/how-to-synchronize-your-digital-picture-frame-with-your-google-photos-albums-using-rclone/","https://rclone.org/","https://www.thedigitalpictureframe.com/the-digital-picture-frame-user-gallery-with-great-examples-and-inspiration-for-your-raspberry-pi-projects/"],"image":["https://files.peakd.com/file/peakd-hive/steevc/Fyb2Opjj-image.png"]}"
created2020-09-17 14:28:03
last_update2020-09-17 14:28:03
depth0
children13
last_payout2020-09-24 14:28:03
cashout_time1969-12-31 23:59:59
total_payout_value1.879 HBD
curator_payout_value1.801 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5,183
author_reputation1,383,049,367,926,364
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries
0.
accountpeakd
weight500
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id99,676,408
net_rshares15,404,302,244,241
author_curate_reward""
vote details (107)
@bigtom13 ·
$0.07
Now you've got me thinking...

I have a 32" Flat Screen that was given to me as 'non working'.  I went to diagnose it and it worked just fine.  I hardly ever watch TV, and I have a bigger screen for that, but maybe a dedicated photo source.....

Thanks man.  I appreciate the idea.
👍  , , , , , , , , , ,
properties (23)
authorbigtom13
permlinkre-steevc-qgtlfm
categoryhive-142614
json_metadata{"tags":["hive-142614"],"app":"peakd/2020.09.4"}
created2020-09-17 20:40:39
last_update2020-09-17 20:40:39
depth1
children2
last_payout2020-09-24 20:40:39
cashout_time1969-12-31 23:59:59
total_payout_value0.034 HBD
curator_payout_value0.033 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length281
author_reputation80,689,630,475,233
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,683,110
net_rshares434,131,190,535
author_curate_reward""
vote details (11)
@misterengagement ·
<center>  Thank you for your engagement on this post, you have recieved <code>ENGAGE</code> tokens.</center>
properties (22)
authormisterengagement
permlinkre-re-steevc-qgtlfm-20200917t204617z
categoryhive-142614
json_metadata"{"app": "beem/0.24.9"}"
created2020-09-17 20:46:18
last_update2020-09-17 20:46:18
depth2
children0
last_payout2020-09-24 20:46:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length108
author_reputation4,086,989,259,756
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,683,170
net_rshares0
@steevc ·
That could look great showing off your photos. I'm happy to inspire some tinkering.

!ENGAGE 20
properties (22)
authorsteevc
permlinkre-bigtom13-qgtloq
categoryhive-142614
json_metadata{"tags":["hive-142614"],"app":"peakd/2020.09.4"}
created2020-09-17 20:46:03
last_update2020-09-17 20:46:03
depth2
children0
last_payout2020-09-24 20:46:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length95
author_reputation1,383,049,367,926,364
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,683,167
net_rshares0
@bozz ·
$0.03
That is pretty awesome!  I am in the market right now for a bare bones flat panel I can use for projects like this.  Something I could create a custom frame around and hide the connectors easily.  I am going to have to keep this in mind if I ever get around to ordering one.
👍  
properties (23)
authorbozz
permlinkre-steevc-qgtatp
categoryhive-142614
json_metadata{"tags":["hive-142614"],"app":"peakd/2020.09.4"}
created2020-09-17 16:51:45
last_update2020-09-17 16:51:45
depth1
children1
last_payout2020-09-24 16:51:45
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.013 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length274
author_reputation2,262,618,017,116,929
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,679,751
net_rshares172,251,848,740
author_curate_reward""
vote details (1)
@steevc ·
There are lots of ways to customise this. I am happy with how it's working so far.
properties (22)
authorsteevc
permlinkre-bozz-qgthq9
categoryhive-142614
json_metadata{"tags":["hive-142614"],"app":"peakd/2020.09.4"}
created2020-09-17 19:20:33
last_update2020-09-17 19:20:33
depth2
children0
last_payout2020-09-24 19:20:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length82
author_reputation1,383,049,367,926,364
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,681,945
net_rshares0
@lordvdr ·
$0.03
I used to have a digital picture frame, but making one using a Pi is pretty cool.
👍  
properties (23)
authorlordvdr
permlinkre-steevc-qgvljm
categoryhive-142614
json_metadata{"tags":["hive-142614"],"app":"peakd/2020.09.4"}
created2020-09-18 22:38:09
last_update2020-09-18 22:38:09
depth1
children1
last_payout2020-09-25 22:38:09
cashout_time1969-12-31 23:59:59
total_payout_value0.015 HBD
curator_payout_value0.015 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length81
author_reputation12,670,791,127,409
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,701,733
net_rshares213,618,358,104
author_curate_reward""
vote details (1)
@steevc ·
It can be a fairly simple project and not too expensive if you can find an old monitor to use.
properties (22)
authorsteevc
permlinkre-lordvdr-qgx5t5
categoryhive-142614
json_metadata{"tags":["hive-142614"],"app":"peakd/2020.09.4"}
created2020-09-19 18:53:30
last_update2020-09-19 18:53:30
depth2
children0
last_payout2020-09-26 18:53:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length94
author_reputation1,383,049,367,926,364
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,714,516
net_rshares0
@poshbot ·
https://twitter.com/steevc/status/1306602355727757312
properties (22)
authorposhbot
permlinkre-a-smarter-digital-photo-frame-with-a-raspberry-pi-20200917t143418z
categoryhive-142614
json_metadata"{"app": "beem/0.24.8"}"
created2020-09-17 14:34:18
last_update2020-09-17 14:34:18
depth1
children0
last_payout2020-09-24 14:34:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length53
author_reputation5,554,335,374,496
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,676,527
net_rshares0
@sanjeevm ·
$0.07
> zero cost project

You utilized everything available in a perfect way. I had a spare monitor, but I gave it to someone, who needed it. 
👍  ,
properties (23)
authorsanjeevm
permlinkre-steevc-qgt532
categoryhive-142614
json_metadata{"tags":["hive-142614"],"app":"peakd/2020.09.4"}
created2020-09-17 14:47:30
last_update2020-09-17 14:47:30
depth1
children1
last_payout2020-09-24 14:47:30
cashout_time1969-12-31 23:59:59
total_payout_value0.040 HBD
curator_payout_value0.030 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length137
author_reputation702,086,771,985,133
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,676,983
net_rshares502,170,393,377
author_curate_reward""
vote details (2)
@steevc ·
$0.04
This was one from an office clear-out. People want the widescreens now. I expect a lot just get thrown away.
👍  
properties (23)
authorsteevc
permlinkre-sanjeevm-qgt584
categoryhive-142614
json_metadata{"tags":["hive-142614"],"app":"peakd/2020.09.4"}
created2020-09-17 14:50:30
last_update2020-09-17 14:50:30
depth2
children0
last_payout2020-09-24 14:50:30
cashout_time1969-12-31 23:59:59
total_payout_value0.020 HBD
curator_payout_value0.021 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length108
author_reputation1,383,049,367,926,364
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,677,071
net_rshares264,627,848,119
author_curate_reward""
vote details (1)
@town-crier ·
$0.06
One of our technicians is having so much fun creating things out of raspberry Pi machines.  He created a spam blocker where it blocks outgoing requests from services and web pages so that it frees up piles of bandwidth.  He also built a PLEX server on one of them and we watch that like netflix!

So many cool things you can do and a digital picture frame is a nice one.
👍  , , , , , , , , , ,
properties (23)
authortown-crier
permlinkqgtjbc
categoryhive-142614
json_metadata{"app":"hiveblog/0.1"}
created2020-09-17 19:54:57
last_update2020-09-17 19:54:57
depth1
children2
last_payout2020-09-24 19:54:57
cashout_time1969-12-31 23:59:59
total_payout_value0.032 HBD
curator_payout_value0.032 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length370
author_reputation5,681,977,233,523
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,682,573
net_rshares417,278,293,859
author_curate_reward""
vote details (11)
@misterengagement ·
<center>  Thank you for your engagement on this post, you have recieved <code>ENGAGE</code> tokens.</center>
properties (22)
authormisterengagement
permlinkre-qgtjbc-20200917t200547z
categoryhive-142614
json_metadata"{"app": "beem/0.24.9"}"
created2020-09-17 20:05:48
last_update2020-09-17 20:05:48
depth2
children0
last_payout2020-09-24 20:05:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length108
author_reputation4,086,989,259,756
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,682,723
net_rshares0
@steevc ·
I did Pi Hole to block ads on one for a while. The rest of mine are lower power, so I need to find simple things they can do.

!ENGAGE 10
properties (22)
authorsteevc
permlinkre-town-crier-qgtjta
categoryhive-142614
json_metadata{"tags":["hive-142614"],"app":"peakd/2020.09.4"}
created2020-09-17 20:05:36
last_update2020-09-17 20:05:36
depth2
children0
last_payout2020-09-24 20:05:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length137
author_reputation1,383,049,367,926,364
root_title"A smarter digital photo frame with a Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,682,720
net_rshares0