Introduction: Set Up Raspberry Pi 3 Kiosk With Mac
The Raspberry Pi is an incredibly versatile machine. This particular use allows the user to connect the Pi to any monitor and have in constantly display any page at all times. This is extremely useful at office receptions, stores, and any place that needs a constant display. The Pi stays hidden and functional instead of using a computer for a display function.
This tutorial will help you set up a Raspberry Pi Kiosk from start to finish using a Mac Computer and an unused Raspberry Pi. After this tutorial, your Raspberry Pi will open a webpage in full screen upon reboot and continue running that screen until it is powered off. This is a powerful tool for metrics and updates, and can also be used as a display.
- Raspberry Pi 3
- Micro SD card
- Micro SD Adapter
- HDMI Cable
- Micro-USB charger
- Mac Computer with MicroSD Adapter reader
Step 1: Download Raspberry Pi OS Jessie
Step 2: Save the .img File Onto Your Desktop
1. Once the Zip Downloads, click the zip file and let it expand
2. The .img should be in Downloads, drag it to Desktop by either placing it on the Desktop directly or on the desktop selector on the side of the finder (should look like the Desktop Image)
Step 3: Putting the .img File Onto the Micro SD Card
- Put MicroSD card in the adapter, then into your Mac computer
- Go to the 'Go' tab at the top of the page, then click on disk Utilities
- Click on the SD card and then Erase the disk using the options at the top, be careful not to erase the wrong Disk
- Right click on the SD card Icon on the desktop and Eject the disk
- Open the terminal from the Utilities page
- Remove the Micro SD
- Run "df -h"
- Reinsert the Micro SD
- Run "df -h"
- The new disk that shows up your Micro SD disk
- Determine which disk is your Micro SD disk, mine for example was disk
- Look for the Size of the disk if you are unsure which is the SD card, I used an 8GB
- Note down the number of the disk, it the number directly following /dev/disk
- Keep that number in mind that is your disk number use that throughout the next few steps
- REPLACE '#' with your disk number!
- Mine was 1 so I ran "diskutil unmount /dev/disk1s1"
- REMEMBER AFTER THE '~' should be your path to the file, click tab to autocomplete if you are unsure you can type it correctly
- replace '#' with YOUR disk number mine was 1
Step 4: Set Up Raspberry Pi and Chromium
- Take the MicroSD card out of the Mac and place it in the Raspberry Pi
- Connect the Raspberry Pi to a monitor with the HDMI
- Connect a keyboard and a mouse to the Pi
- Use the Micro USB to power the Pi on
- Let the Pi boot on, then connect to the internet
- Use the icons in the top right to connect to the internet
- After connecting to the internet open the Terminal by pressing Menu->Accesories->Terminal
- Run sudo apt-get update && sudo apt-get upgrade -y
- Download Chromium by running these commands(copy and paste the whole block and press enter)
wget -qO - http://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
echo "deb http://dl.bintray.com/kusti8/chromium-rpi jessie main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install chromium-browser rpi-youtube -y
- Open Chromium(Should open upon completion)
- Go to Settings from the upper-righ hand side menu scroll down and expand Advanced Settings
- Click Reset Settings, then Click the box "Continue running background apps when Chrome is closed"
- Close Chromium
Step 5: Set Up the Kiosk
- Run sudo raspi-config
- A window should open, go to the third option 'Boot Options'
- Go to B4 and press Enter
- Click Finish moving right and press Enter to go back to terminal
- Put a '#' in front of the line @xscreensaver -no-splash
- Add these lines after the screensaver line
- @xset s off
- @xset -dpms
- @xset s noblank
- @chromium-browswer --noerrdialogs --incognito --kiosk http://www.page-to.display
- CHANGE THE URL TO WHATEVER WEBSITE/APPLICATION YOU WANT UPON REBOOT
- Follow the example above if you are unsure