Skip to content

WebmasterTD/ReklamDisplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

Image slideshow on Raspberry Pi Zero

1. Burn Raspbian lite to SD card & configure

  • Create wpa_supplicant.conf and ssh file in /boot if setting up without keyboard / headless.

sudo raspi-config

  • Change User Password

  • Network Options:

    • Hostname
    • Wi-fi
  • Boot Options

    • Desktop / CLI
      • Console Autologin
  • Interfacing Options

    • SSH
  • Advanced Options

    • Overscan - disable
  • Update

    sudo apt-get update
    sudo apt-get upgarde

2. Install Samba

sudo apt-get install samba

sudo smbpasswd -a pi

mkdir /home/pi/Reklama

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.old
sudo nano /etc/samba/smb.conf

Add this to the very end of the file:

[Reklama]
Comment = Reklama Delfin
Path = /home/pi/Reklama
valid users = pi
read only = no
Guest ok = no
Writeable = Yes
Browseable = yes
Public = yes

3. Install fbi

sudo apt-get install fbi inotify-tools
touch dirwatch.sh
chmod 777 dirwatch.sh
nano dirwatch.sh
sudo nano /etc/profile

Add this to the very end of the file: . /home/pi/dirwatch.sh

Copy contents of dirwatch.sh to RPi

4. Set up safe shutdown

Copy shutdown.py to /home directory

Add: python /home/pi/shutdown.sh & to /etc/rc.local

Make this circuit: Soft Shutdown circuit

Connect the signal wire to Raspberry GPIO14 pin.

Accessing samba share from Windows:

  • Must be in the same network:

This PC > Add a network location > \\[HOSTNAME].local\Reklama

in my case: \\REKLAMA.local\Reklama

About

Raspberry Pi based image slideshow viewer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published