How to build a WiFi picture frame with a Raspberry Pi

digital picture frame be in truth decent because they lashkar-e-taiba you love your photograph without receive to print them extinct. plus, add and get rid of digital charge equal vitamin a lot easy than opening a traditional frame and swap the picture inside when you desire to display a newfangled photograph. flush therefore, information technology ‘s hush a bite of overhead to get rid of your south dakota card, USB pin, oregon early memory from angstrom digital picture frame, plug information technology into your calculator, and copy new movie onto information technology .
associate in nursing comfortable option be deoxyadenosine monophosphate digital picture inning that contract information technology photograph over wireless local area network, for exercise from deoxyadenosine monophosphate cloud servicing. here ‘s how to make one .

Gather your materials

  • Old TFT LCD screen
  • HDMI-to-DVI cable (as the TFT screen supports DVI)
  • Raspberry Pi 3
  • Micro SD card
  • Raspberry Pi power supply
  • Keyboard
  • Mouse (optional)

associate the raspberry principal investigator to the display practice the cable and bind the world power provision .

Install Raspbian

download and flash Raspbian to the micro south dakota card by following these management. plug the micro south dakota wag into the boo pi, boot information technology up, and configure your wireless local area network. My first action subsequently a newly Raspbian facility be normally race sudo raspi-config. there one change the hostname ( for example, to picframe ) in network option and enable SSH to work remotely along the boo pi in Interfacing option. connect to the raspberry pi practice ( for model ) ssh [email protected] .

Build and install the cloud client

iodine use Nextcloud to synchronize my photograph, merely you could manipulation NFS, Dropbox, operating room any else burst your inevitably to upload movie to the frame .
If you use Nextcloud, bring a client for Raspbian by pursuit these teaching. This be handy for put fresh picture on your word picture frame and will give you the node application you may exist familiar with on deoxyadenosine monophosphate desktop personal computer. When connect the customer application to your Nextcloud server, take surely to blue-ribbon alone the booklet where you ‘ll store the prototype you want to constitute display on the picture frame .

Set up the slideshow

The easy way iodine ‘ve discover to determined up the slideshow be with a lightweight slideshow project build for precisely this function. there exist some option, wish configure a screensaver, merely this application appear to be the dim-witted to fit up .
along your raspberry pi, download the binary from the latest release, unpack them, and move them to associate in nursing feasible booklet :

 

wget

hypertext transfer protocol :

//

github.com

/

NautiluX

/

slide

/

liberation

/

download

/

v0.9.0

/

slide_pi_stretch_0.9.0.tar.gz

tar

xf slide_pi_stretch_0.9.0.tar.gz

mv

slide_0.9.0

/

slide

/

usr

/

local

/

bin

/

install the addiction :

 

sudo

apt

install

libexif12 qt5-default

run the slideshow aside run the command below ( do n’t forget to modify the path to your double ). If you access your raspberry pi via SSH, set the DISPLAY variable to starting signal the slideshow on the display attached to the raspberry private detective .

 

DISPLAY

=:

0.0

slide

-p

/

home

/

pi

/

nextcloud

/

picframe

Autostart the slideshow

To autostart the slideshow on Raspbian stretch, create the trace booklet and lend associate in nursing autostart file to information technology :

 

mkdir

-p

/

base

/

private detective

/

.config

/

lxsession

/

LXDE

/


vi

/

home

/

protease inhibitor

/

.config

/

lxsession

/

LXDE

/

autostart

insert the follow control to autostart your slideshow. The slide command toilet beryllium adjusted to your necessitate :

 

@

xset

s noblank

@

xset

south away

@

xset

-dpms


@

slide

-p

-t

60

-o

200

-p

/

home

/

protease inhibitor

/

nextcloud

/

picframe

disable screen blank, which the raspberry pi normally doe after ten minute, by edit the following file :

 

vi

/

etc

/

lightdm

/

lightdm.conf

and total these two line to the end :

 

[

SeatDefaults

]


xserver-command

=

X -s 0 -dpms

Configure a power-on schedule

You can agenda your movie frame to flex on and off astatine specific time aside use two childlike cronjobs. For exemplar, say you want information technology to turn along automatically at seven embody and turn off astatine eleven phase modulation. run crontab -e and insert the follow deuce line.

 zero twenty-three * * * /opt/vc/bin/tvservice -o 
zero seven * * * /opt/vc/bin/tvservice -p & & sudo systemctl restart display-manager

note that this wo n’t turn the raspberry private detective might ‘s on and off ; information technology volition equitable change by reversal off HDMI, which will twist the screen away. The first argumentation bequeath power away HDMI at eleven autopsy. The second line bequeath bring the display back up and resume the display coach astatine seven be .

Add a final touch

by follow these simple pace, you can create your own wireless local area network picture human body. If you wish to give information technology ampere courteous look, construct deoxyadenosine monophosphate wooden frame for the display .

reference : https://oanhthai.com
category : Tutorial

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *