Raspberry Pi and DAKboard

You have a Raspberry Pi, and you don’t really have the money to buy hardware or just want something real simple you can do with it using items you most likely have around your house. This guide/how-to will help you do exactly that!

Things You’ll Need

    1. Monitor or Television with HDMI input.
    2. HDMI cable.
    3. Raspberry Pi 3
    4. 8GB+ Micro SD Card
    5. Micro USB charger (for Raspberry Pi)

DAKboard

You will need to go and create an account for free and configure DAKboard before you begin this project. After creating your account, click your username and then account so you can note the Private URL that will be needed later.

Raspbian OS

If you already have the Raspberry Pi up and running go ahead and skip to “Raspberry Pi”!

The easiest way and the way I’m going to show you to setup Raspbian is to use NOOBS, which is a simplified Raspbian OS installer.

https://www.raspberrypi.org/downloads/noobs/

Once downloaded, you will want to follow the setup guide to get the operating system onto your SD card and the Raspberry Pi up and running.

https://www.raspberrypi.org/help/noobs-setup/

Raspberry Pi

For this to work the way we want it to, we will need our Raspberry Pi to boot directly into a browser running DAKboard in full screen (Kiosk Mode) without having to use a keyboard or mouse.

If Headless:

You will want to SSH into your raspberry Pi

If Not Headless:

Instead of using SSH you’ll connect a mouse and keyboard to your Raspberry Pi and open up the terminal.

First you will want to run

raspi-config
  • Boot to desktop (autologin)
  • Enable SSH server (optional, if you want to connect from another computer)
  • Set the proper timezone.

Be sure that you choose to reboot later when you exit raspi-config.

 

Next up you will want to connect to your wifi if you aren’t using an ethernet cord

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Here you will change your SSID and PSK

network={
    ssid="YOUR_NETWORK_NAME"
    psk="YOUR_NETWORK_PASSWORD"
}

Be sure to press ctrl-x and y to save your changes. Now we will install the unclutter app to hide the mouse cursor after a few seconds of inactivity.

sudo apt-get install unclutter

Now onward to make a couple of system configuration changes:

sudo nano /boot/config.txt

and add

# Display orientation. Landscape = 0, Portrait = 1
display_rotate=1

# Use 24 bit colors
framebuffer_depth=24

You’ll need to make sure that disable_overscan=1 and no other overscan configs are uncommented.

Now you need to run the following

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install -y rpi-chromium-mods

The last thing we need to do is force the screen to stay on and load the Chromium browser running DAKboard on boot:

sudo nano ~/.config/lxsession/LXDE-pi/autostart
@xset s off
@xset -dpms
@xset s noblank
@chromium-browser --noerrdialog --incognito --kiosk http://dakboard.com/app/?p=YOUR_PRIVATE_URL

 

That’s it, now you can reboot your Raspberry Pi and enjoy your display.

Liked it? Take a second to support TheCryptek on Patreon!