Build a Python-based reaction game
Linux Format|June 2022
Les Pounder goes back to the early days of the Raspberry Pi to look at a board that made a big difference to his career.
Les Pounder
Build a Python-based reaction game

Pibrella will work with newer models of Pi. Just remember to place it on the first 26 pins of the GPIO.

YOU NEED

> Any Pi Raspberry Pi OS

> Pibrella breadboard

> Button

> Two M-toM jumper wires

> Code: https:// github.com/ lesp/LXFPibrella/ archive/ refs/heads/ main.zip

Pibrella is an awesome little board. We first came across it in 2014 while delivering a training course and since then we've used it with hundreds of learners. This £10 board may be eight years old, but it's still a great way to get to grips with electronics on the Raspberry Pi. In this tutorial we'll learn a little about this board, and create a reaction game to prove who's the fastest of them all!

Because Pibrella was designed for the original 26-pin GPIO Raspberry Pi it has to connect to the first 26 GPIO pins of any Pi. The first 26 pins are from the micro SD card. With the Raspberry Pi powered off, connect Pibrella so that it fits directly on top of the Pi. No part of Pibrella should "stick out" from the footprint of the Pi. The included rubber foot will need to be positioned so that Pibrella doesn't touch the Raspberry Pi. See the guide at https://bit.ly/1xf289pibrella for details.

For the project you'll need to place a push button into a breadboard, then connect the legs of one side to Input A of the Pibrella. It doesn't matter which leg goes to which part of Input A, as long as you only use one side of legs from the button.

When done, connect your keyboard, mouse, HDMI, Ethernet and lastly power which goes directly to Pibrella via the micro USB. Once everything's connected, boot to the Raspberry Pi OS desktop.

This story is from the June 2022 edition of Linux Format.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 8,500+ magazines and newspapers.

This story is from the June 2022 edition of Linux Format.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 8,500+ magazines and newspapers.

MORE STORIES FROM LINUX FORMATView All
Create your first WebSocket service
Linux Format

Create your first WebSocket service

Mihalis Tsoukalos explains how to use the Go programming language to work with the WebSocket protocol.

time-read
9 mins  |
April 2023
Fantastic Mr Firefox
Linux Format

Fantastic Mr Firefox

Nick Peers takes a trip down memory lane to reveal the story behind the rise - and slight fall - of Mozilla's popular web browser.

time-read
9 mins  |
April 2023
Set up your terminal and email like it's 1983
Linux Format

Set up your terminal and email like it's 1983

Jump in the hot terminal time machine with Mats Tage Axelsson who emails from the command line using the latest technology.

time-read
8 mins  |
April 2023
Universal layer text effects with GIMP
Linux Format

Universal layer text effects with GIMP

Posters use them, films and presentations are hard to imagine without them: text effects. Attract attention with Karsten Günther and GIMP.

time-read
8 mins  |
April 2023
Jump to a federated social network
Linux Format

Jump to a federated social network

Nick Peers reveals how you can get up and running with this free, decentralised and non-profit alternative to Twitter.

time-read
9 mins  |
April 2023
Free our SOFTWARE!
Linux Format

Free our SOFTWARE!

Taking anything for granted is dangerous, so Jonni Bidwell and Mike Saunders revisit how the free software movement got started to help free us from proprietary tyranny!

time-read
4 mins  |
April 2023
Master RPI.GPIO
Linux Format

Master RPI.GPIO

Les Pounder goes back to the early days of the Raspberry Pi - and his career with this classic library! -

time-read
5 mins  |
April 2023
Waveshare Zero to Pi3
Linux Format

Waveshare Zero to Pi3

Transform your Pi Zero into a Pi 3, they promised Les Pounder, but it's more like adding on go-faster stripes.

time-read
2 mins  |
April 2023
The Best OPEN SOURCE Software Ever!
Linux Format

The Best OPEN SOURCE Software Ever!

In an attempt to trigger controversy, Michael Reed and Neil Mohr unequivocally state these are the greatest free software apps ever. Probably. We’re just trying to be helpful.

time-read
10+ mins  |
April 2023
Linux-Mandrake 7
Linux Format

Linux-Mandrake 7

Simplicity and a wide range of applications make this a great distribution for all Linux users.

time-read
2 mins  |
April 2023