Tag Archives: Raspberry

Raspberry Pi Slideshow .PPT .PPTX .ODP

The information below will help you to setup a Raspberry Pi with Raspbian OS that will play a slideshow/PowerPoint presentation using a PPT/PPTX or ODP file.

The system will be setup to automatically login to a desktop, load Libre Office Impress (PowerPoint alternative) and run a slide show presentation with custom slide show settings defined.

Why:

Instead of using a costly full blown MS Windows desktop PC we can use a Raspberry Pi that not only costs hundreds of pounds less to buy but also consumes a minor percentage of power that a full desktop uses as well as being small enough to attach to the rear of the display device.

Continue reading Raspberry Pi Slideshow .PPT .PPTX .ODP

Raspberry Pi Enable Cron

By default,  Cron is disabled meaning anything entered into  ‘crontab’ wont be run.

To enable this function, follow the steps below:

Once logged into the Pi use the below command to open up the ‘rsyslog.conf’ file in the Nano editor

cd/etc
sudo nano rsyslog.conf

Once the rsyslog is loaded into nano, navigate to the below section and un-comment the ‘cron’ option

#
# First some standard log files.  Log by facility.
#
auth,authpriv.*              /var/log/auth.log
*.*;auth,authpriv.none          -/var/log/syslog
cron.*                          /var/log/cron.log
daemon.*                        -/var/log/daemon.log
kern.*                          -/var/log/kern.log
lpr.*                           -/var/log/lpr.log
mail.*                          -/var/log/mail.log
user.*                          -/var/log/user.log

Save the document by pressing CTRL + O and then CTRL+X  close the editor.

Reboot the Raspberry Pi:

sudo reboot

Raspberry Pi GPIO Start-up Script

On powering/reset of the Raspberry Pi connected to a relay board, the state of the relays needs to be defined or they just sit in limbo.

Depending on your project it might not matter what state the relays are when the RPi is turned On but for the piTank it is critical! (battery backup to come… but still this solution is needed)

 

For my piTank project The ‘original‘ WebUI does have a script on loading the webpage to define the pin modes but if there is a power cut and the RPi is restarted, we need these values set and activated when the RPi boots in case nobody loads the piTank webpage directly after a reboot – thus critical components wont be turned on.

The fix to this issue is gpiobootscript.sh

GPIO Readall

Continue reading Raspberry Pi GPIO Start-up Script