We can use raspberry Pi to develop kiosk. We will use bluetooth to transfer content from mobile phone to raspberry Pi. The idea is very simple we will run a python webserver on raspberry Pi. The servers can receive messages from serial port. We will run chromium in full screen mode and display the our webpage on Pi startup. We can update the content displayed at any time by simply transmitting the message over serial port. In this example I will use HC05 and android mobile to transfer the content.
First we need install chromium on raspberry pi
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install chromium x11-xserver-utils unclutter
chromium has a kiosk mode, we need to enable it
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
add the following content to autostart file (you need comment out the @xscreensaver -no-splash)
@xset s off
@xset s noblank
@sed -i 's/"exited_cleanly": false/"exited_cleanly": true/' ~/.config/chromium/Default/Preferences
@chromium --noerrdialogs --kiosk http://localhost --incognito
Actually you can load any website of your choice,just replace the http://localhost with web page you are interested in.
we will be displaying our message in a web page, so we need to setup the webserver first. you can setup a web server by following this blog.