/kiosk_system_rpi3

Nerves QtWebEngine Kiosk system for Raspberry Pi 3

Primary LanguageElixirApache License 2.0Apache-2.0

Raspberry Pi 3 Kiosk

Implements qt-webengine-kiosk for rendering QtWebEngine.

This is the base Nerves System configuration for the Raspberry Pi 3 Model B.

Fritzing Raspberry Pi 3 image
Image credit

Feature Description
CPU 1.2 GHz quad-core ARMv8
Memory 1 GB DRAM
Storage MicroSD
Linux kernel 4.9 w/ Raspberry Pi patches
IEx terminal ttyS0
GPIO, I2C, SPI Yes - Elixir ALE
ADC No
PWM Yes, but no Elixir support
UART 1 available - ttyS0
Camera Yes - via rpi-userland
Ethernet Yes
WiFi Yes - Nerves.InterimWiFi
Bluetooth Not yet

Using

The most common way of using this Nerves System is create a project with mix nerves.new and to export MIX_TARGET=rpi3.

Then, change the rpi3 system dependency to {:kiosk_system_rpi3, "~> 1.0"}

See the Getting started guide for more information.

If you need custom modifications to this system for your device, clone this repository and update as described in Making custom systems

See the example project for more info

Building

Building this image require running under docker. If you are compiling locally, your instance of docker will need to have at least 8gb of ram assigned to it.

Built-in WiFi Firmware

WiFi modules almost always require proprietary firmware to be loaded for them to work. The Linux kernel handles this and firmware blobs are maintained in the linux-firmware project. The firmware for the built-in WiFi module on the RPi3 hasn't made it to the linux-firmware project nor Buildroot, so it is included here in a rootfs-additions overlay directory. The original firmware files came from https://github.com/RPi-Distro/firmware-nonfree/blob/master/brcm80211/brcm.

Image credit: This image is from the Fritzing parts library.