Graphical Interface for Raspberry Pi GPIO

Hi! This is going to be a short post. I have recently coded a simple interface using Python3 and Qt to use the GPIO pints of any raspberry pi.

The code can be found here https://github.com/Bardo91/rpi_gpio_gui

To use it, just clone it or download it, enter into the folder and then run it with python.

python3 rpi_gpio_gui.py

It cannot be simpler!

You should see something like this:

In this interface you can switch the pins between “input” and “output” mode. These are exclusive, when a pin is configured as input, you can configure it to use the pull-up or pull-down resistors and when it is in output mode you can toggle between HIGH and LOW voltage.

My plan is to enable other modes, such as PWM… or even enabling a Serial port widget to read and write data…. I will update this post in the future with the updates!

Cheers!