So you have an unused Raspberry Pi -- or five -- lying around and you don't know what to do with it. You're not alone, even if there are hundreds of projects at the ready.
You can turn it into a RSS feed., a , an and many other things. But one of the coolest (and most simple) things you can do with your Raspberry Pi is turn it into a wall display that shows the weather, time and date, your calendar and the most recent entries from your favorite
Here is how to turn a Raspberry Pi into a wall display.
What you will need
Which Raspberry Pi model you use doesn't matter too much, but certain models will make your life easier.
For instance, a Raspberry Pi 3 Model B has a higher power requirement (2.5A) and, thus, necessitates a specific power brick. It will definitely still work, but a Raspberry Pi 2 Model B only requires 1.8A, and the Raspberry Pi Zero W requires 1.2A. These two models will work with modern, slim USB chargers, which often supply up to 2.4A. However, if you opt for the Raspberry Pi 2, you will also need to run an ethernet cable to the board or opt for a WAN adapter.
The most ideal board for the job is the Raspberry Pi Zero W, both because it is extremely small and lightweight, and it has Wi-Fi built in. Best of all, it's an affordable $10 (converted, £7.70 or AU$13) for the board. To set up and connect the Raspberry Pi, you will need a short HDMI cable and a microSD card of at least 8GB.
Aside from the Raspberry Pi, you will only need a few other things to have this up and running in minutes.
The most important thing you need is an old monitor -- preferably a slim model with HDMI. Some computer monitors will work better than others. Specifically, those that have the connection ports facing downward instead of straight out from the back work much better.
You will also need an extension cable with at least two plugs at the end. Take note of whether your monitor's power supply needs a two- or three-pronged plug and buy the appropriate extension cord.
Finally, you will need supplies to mount the Raspberry Pi, the monitor's power supply, all the cables and the female end of the extension cord to the back of the monitor. I used two-sided mounting tape. And I used duct tape to keep the excess cord as tight to the back of the monitor as possible.
The easiest way to hang the monitor with everything attached to the back is picture hanging wire.
Connect all the hardware
Start by removing the back cover and the stand from the monitor.
Typically, there isn't enough room to install a Raspberry Pi inside the original backplate -- unless you're using a Pi Zero W. Even then, the excess cords and the power supply for the monitor won't fit. The monitor will sit closer to the wall without the back cover, so it's best to discard it.
Connect the Raspberry Pi to the HDMI port on the monitor and -- without plugging in the extension cord -- connect the power cables to both the Raspberry Pi and monitor. Use this to figure out the best layout of all the parts to keep everything as slim as possible.
Once you have a chosen layout, begin fastening the parts to the rear of the monitor.
As for the picture-hanging wire, there were no decent places to connect on the Dell monitor I used, so I drilled one hole on either side of the rear bezel that held the back cover on. This is where you might have to get creative, since no two monitors are the same.
Install Raspbian on the Raspberry Pi
Surprisingly, this project doesn't require any special code for the Raspberry Pi. In fact, it will be running on Raspbian OS, a Linux distribution specifically for the Raspberry Pi.
After you have installed Raspbian OS, boot the Raspberry Pi and connect it to your wireless network.
Sign up for DAKboard
DAKboard is the web interface used to display all the information on the monitor. It can be set up from the Raspberry Pi or from a computer, phone or tablet.
Just go to dakboard.com and create an account. Then begin configuring the layout to your liking. There are four different screen configurations to choose from: Top/Bottom, Left/Right,Mobile/Tablet or Big Calendar.
Next, set your timezone and choose between an analog or digital clock, and select a date-and-time format. After that, you can connect any ICAL calendar, select the source of the background photos displayed and how frequent they refresh, choose your weather source and location, add an RSS feed and connect your to-do list.
Save your changes when you're satisfied with the DAKboard layout.
Set up the Raspberry Pi to boot to DAKboard
The idea is that, when powered on, the Raspberry Pi will automatically boot to your DAKboard. If you want to hang the monitor vertically instead of horizontally, you will also need to rotate the display.
First, power on the Raspberry Pi, open Terminal and type in sudo rapsi-config. Once in the configuration tool:
- Go to Boot Options > Desktop Autologin Desktop GUI and press enter.
- Go to Interfacing Options > SSH > Yes and press enter.
- Go to Localisation Options and set your correct timezone and keyboard layout.
When asked if you want to reboot the Raspberry Pi, select No.
While still in Terminal, type sudo apt-get install unclutter and press enter. This will hide the cursor when not in use.
Next, you will want to edit the config.txt file to rotate the screen 90 degrees. In Terminal, type sudo nano /boot/config.txt and press enter. This opens the config file in the nano text editor. Add these lines to the end of the file (without the bullet points):
- # Display orientation. Landscape = 0, Portrait = 1
- #Use 24 bit colors
To save the changes, press Ctrl + O, then press enter. To exit nano, press Ctrl + X.
Finally, to force the screen to stay on and automatically boot with dakboard.com loaded in Chromium, type sudo nano ~/.config/lxsession/LXDE-pi/autostart and press enter. Inside nano, add these four lines (without the bullet points):
- @xset s off
- @xset -dpms
- @xest s noblank
- @chromium-browser --noerrdialogs --incognito --kiosk http://dakboard.com/app
Press Ctrl + O and enter to save the changes, and press Ctrl + X to exit nano. Type sudo reboot and press enter to restart the Raspberry Pi.
Once the Raspberry Pi has fully rebooted, use a connected mouse and keyboard to login to DAKboard. Click Login and enter your credentials. Your DAKboard should load with your previously configured settings. If you want to change anything, click the settings cog in the upper-right corner of the display (move the cursor to make it appear).
Hang the monitor on the wall and you'll have yourself a digital clock and calendar, the week's forecast, important headlines and beautiful pictures on display all day.