Raspberry PI Qt Information Kiosk

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

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

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!

 

Raspberry PI Touchscreen Kiosk

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

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

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 →

Stiff Breadboard Problem

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

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 Atmel Xplained Boards

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

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.