Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to make WiFi photo frame with raspberry pie

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to use raspberry pie to make WiFi photo frames. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Materials to be used

The LCD display screen of the old TFT

HDMI to DVI transfer line (because the TFT screen supports DVI)

Raspberry pie 3

Micro SD card

The power supply of raspberry pie

Keyboard

Mouse (optional)

Use a cable to connect the raspberry pie to the monitor and connect it to the power supply.

Install Raspbian

Follow the instructions below to download and burn the Raspbian to your Micro SD card. Insert the Micro SD card into the raspberry pie, start it, and configure your WiFi. After installing Raspbian, my first action is usually to run sudo raspi-config. There, I changed the hostname in the network options (for example, to picframe) and enabled SSH in the interface options to connect remotely to the raspberry pie. Use (for example) ssh pi@picframe to connect to raspberry pie.

Establish and install a cloud client

I use Nextcloud to synchronize my images, but you can upload pictures to the frame using NFS, Dropbox, or other ways that suit your needs.

If you are using Nextcloud, follow the instructions below to install the client on Raspbian. This makes it easy to put pictures into your photo frame, and you may be familiar with the client application installed on your desktop. When connecting the client to the Nextcloud server, be sure to select only the folder that stores the images you want to display on the frame.

Set up a slide show

I found that the easiest way to set up a slide show is to use a lightweight slide project built specifically for this purpose. There are other alternatives, such as configuring a screensaver, which seems to be the easiest way to set up a slide show.

Download the latest binary on your raspberry pie, unpack it and move it to an executable folder:

Wget https://github.com/NautiluX/slide/releases/download/v0.9.0/slide_pi_stretch_0.9.0.tar.gztar xf slide_pi_stretch_0.9.0.tar.gzmv slide_0.9.0/slide / usr/local/bin/

Install dependencies:

Sudo apt install libexif12 qt5-default

Play the slide by executing the following command (don't forget to change the path of the picture). If you access your raspberry pie via SSH, set the DISPLAY variable to start the slide show on the screen connected to the raspberry pie.

DISPLAY=:0.0 slide-p / home/pi/nextcloud/picframe automatically play slides

To automatically play slides on Raspbian Stretch, create the following folder and add an autostart file to it:

Mkdir-p / home/pi/.config/lxsession/LXDE/vi / home/pi/.config/lxsession/LXDE/autostart

Enter the following command in the file to automatically open the slide. The slide command can be adjusted to where you need it:

@ xset s noblank@xset s off@xset-dpms@slide-p-t 60-o 200-p / home/pi/nextcloud/picframe

The screen is not allowed to go blank, as raspberry pie usually does after 10 minutes, by editing the following file:

Vi / etc/lightdm/lightdm.conf

Add these two lines to the end of the file:

[SeatDefaults] xserver-command=X-s 0-dpms configuration power-up time

You can schedule your frame when to open and close by using two simple scheduled tasks. For example, you want to turn it on automatically at 7 a.m. and close automatically at 11:00 in the evening. Run crontab-e and enter the following two lines:

0 23 * / opt/vc/bin/tvservice-o 07 * / opt/vc/bin/tvservice-p & & sudo systemctl restart display-manager

Note that this will not power on or off the raspberry pie; it will just turn off HDMI, which will turn off the screen. The first command shuts down HDMI at 11:00 in the evening. The second line opens the display at 7 a.m. And restarts the display manager.

This is the end of the article on "how to make a WiFi photo frame with raspberry pie". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report