Qt information kiosk using a Raspberry PI and official touch display. This application demonstrates how to write a full screen Qt Creator C++ application for the Raspberry PI. A simple shopping mall touchscreen information kiosk is built in Qt Creator for this example project.
The image below shows the Raspberry PI Qt information kiosk application running on a touch display.
Qt Information Kiosk
When one of the information buttons is touched, the corresponding information screen is displayed with a back button for returning to the main screen. An example of one of the information screens is shown below.
Raspberry PI Kiosk Screen
Although the 7 inch touch display is rather small for a shopping mall kiosk, the application is a starting point for similar projects. It also serves as a nice demonstration that is not too bulky to carry around.
Raspberry PI Qt Application Development
The application was developed on a Raspberry PI 3 using a normal computer LCD screen. Using a big screen makes layout of the application windows in Qt Creator easier. The application was then tested on a Raspberry PI 2 connected to an official Raspberry PI touch display.
All the necessary software development tools are available for installation on Raspbian Linux. A C++ compiler, Qt Creator and Qt libraries must be installed in order to start Qt development.
Creating the Raspberry PI Qt Information Kiosk Application
All the steps needed to create this project are explained on the Raspberry PI Qt Information Kiosk project page on the Starting Electronics website. Here you will be able to download all the source code for the project and see how to create the project from scratch.
Although this project is just a demo of how to write a full screen touch application for the Raspberry PI, it can be used as a starting point for many other applications. Use the source code and project instructions to build your own Qt C++ applications – enjoy!
A Raspberry PI touchscreen kiosk project GUI application using GTK+ 3 and Glade. A full-screen information kiosk application written in C for the Raspberry PI.
Raspberry PI Touchscreen Kiosk
Raspberry PI Touchscreen Kiosk Details
This Raspberry PI touchscreen kiosk project is a demo application that shows a simple mall with four shops. An official Raspberry PI touchscreen is used as an information kiosk. When any button on the screen is touched, information for the corresponding page is displayed.
An example of one of the information screens for a shop is shown in the image below.
Raspberry Pi Kiosk Info Screen
GTK+ 3 and Glade 3 Raspberry Pi Project
GTK is a toolkit that is used to create windows and widgets such as buttons, images and text boxes. Glade is a user interface design application that allows windows to be designed and laid out graphically. It is used to design the GUI of the application.
The Application is written in the C programming language. GTK functions are called in the C code to draw the windows and widgets designed in Glade and to attach callback functions to window events such as button presses.
Application Details and Code
The project is built from a set of GTK template files that make it easy to start a new GTK / Glade GUI application. Full code and project details can be found in the Raspberry PI Information Kiosk project on the Starting Electronics website.
The code and example project can help you to start your own Raspberry PI GUI application development if you are building an information kiosk or similar application.
Go to the Raspberry PI Kiosk Page →
In older versions of the Raspberry PI Raspbian operating system such as Raspbian Wheezy, the inittab file in /etc/ could be edited to make the OS perform an automatic login at power up. In new versions of Raspbian such as Raspbian Jessie, the inittab file no longer exists. Here is how to automatically log in to the command line interface in Raspbian Jessie.
Automatic Login to the Command Line
In Raspbian Jessie it is now even easier to set up the operating system to automatically log in to the command line. By default Raspbian Jessie automatically logs in to the desktop. Settings can now be changed from an application on the desktop.
Options that can be changed in the Raspberry PI Configuration application are:
- Boot Raspbian to the desktop without login required (default in Jessie)
- Boot Raspbian to the command line interface (CLI) without login required
- Boot Raspbian to the desktop with login required (user name and password must be entered)
- Boot Raspbian to the command line interface with login required
See the full details on how to automatically log in to the command line in Raspbian Jessie.
Use the Raspberry PI Configuration Dialog Box to Change Boot Settings – Click the Image for the Full Article
Often a new electronic breadboard will be too stiff to insert components or jumper wires. When attempting to insert a wire or lead of a component into a tight breadboard, the wire or lead just bends.
Too Tight Breadboard
How to Insert Components into a Stiff Breadboard
Use a pair of pliers to hold the wire or component lead before inserting it into the breadboard. Take the lead or wire as low down as possible and use the pliers to push the lead into the tight breadboard hole or tie point.
See the article on how to insert a component into a stiff breadboard, which contains more details. The article also has photos and a video which shows exactly what to do.
Breadboard prototyping with an Atmel Xplained board is not as easy as using a board such as an Arduino which allows jumper wires to be connected directly from the board’s headers to the breadboard.
Easily Connecting to an Atmel Xplained Board for Breadboard Prototyping
One solution to easily connect to an Atmel Xplained board from a breadboard is to make up a ribbon cable with two female IDC connectors. This allows jumper wires to be inserted into the IDC connector which can then be connected to a breadboard or breadboard circuit. The image below shows how this is done.
Breadboard Prototyping with an Atmel Xplained Pro Board
The above arrangement of breadboard prototyping is used in the ASF ARM tutorial series that teaches how to use the Atmel Software Framework on ARM Cortex microcontrollers.
The board in the above image is a SAM4N Xplained Pro board.