Introduction

For this project, we will use a GUI (Graphical User Interface) to display all of the features of the TINKERplate in a single window on your Raspberry Pi. To keep it simple, we will use a GUI framework called guizero which is documented here. When we're done, you should have a nice compact dashboard that shows the status of each of the I/O lines on your TINKERplate as well as a visual reference to the pinout of each connector:

What You'll Need

  1. A connection to your Raspberry Pi - either through a monitor and keyboard or remotely with VNC
  2. A TINKERplate connected to a programmed Raspberry Pi

Steps

Install guizero

Installing guizero is very simple:

  1. Open a terminal by clicking on the Terminal
  2. Enter sudo pip install guizero at the command prompt and hit <ENTER>

Enter the Python3 code

This is a lengthy program so we recommend that you download it from github then run it using the following commands:

  1. git clone https://github.com/pi-plates/TINKERplate-Projects.git
  2. cd TINKERplate-Projects
  3. python3 TINKdash.py

Look at the comments below as well as the documentation the guizero page to understand the structure of the program and the features of each widget. Feel free to modify this code to provide a GUI for your own projects.

Series Navigation<< Motion Sensing Lamp with Alarm