Archive: 2017

Raspberry Pi Zero GPIO expander

The recent announcement of the latest release of the Raspberry Pi Desktop x86 image alongside Raspbian Stretch for Raspberry Pi included mention of a GPIO expander tool, which was followed up by another blog post explaining how it works and how to use it. Since it uses pigpio to control the GPIO...

Raspberry Pi talk at EuroPython

I have attended and spoken at the EuroPython conference for the last few years, and this time I focused on physical computing with Python and Raspberry Pi, including GPIO Zero, Picamera and the Sense HAT. The slides are on speakerdeck and you can watch the video here:

Postgres on Raspberry Pi

Databases are a great way to add data persistence to your project or application. You can write data in one session and it'll be there the next time you want to look. A well-designed database can be efficient at looking up data in large datasets, and you won't have to worry about how it looks,...

Making Twitter bots with Python

Twitter is a wonderful communication and social media platform. It has everything: breaking news, political opinion, humor, celebrities, entertainment, special interest chat, and, well, anything. Individuals, companies, departments, projects, and more—really anyone or anything—can have a...

What's new in GPIO Zero v1.4?

It's been a while since the last GPIO Zero release, so it's with great pleasure I announce v1.4 is here. Upgrade now on your Raspberry Pi: sudo apt update sudo apt install python-gpiozero python3-gpiozero Or on your PC: pip install gpiozero Why on your PC? Run Python code on your PC to remotely...

GitHub Driven Development

There's much more to managing a project with git beyond just committing code and working with branches. GitHub-Driven Development is a process that will help you organize and manage the progression of a project on GitHub, although much of this could be applied to other systems, such as GitLab, as...

Raspberry Pi at home

The Raspberry Pi computer can be used in all kinds of settings and for a variety of purposes. It obviously has a place in education for helping students with learning programming and maker skills in the classroom and the hackspace, and it has plenty of industrial applications in the workplace and...

Try Raspberry Pi's PIXEL OS on your PC

Over the last four years, the Raspberry Pi Foundation has put a great deal of effort into optimizing Raspbian, its port of Debian, for Pi hardware, including creating new educational software, programming tools, and a nicer looking desktop. In September, we released an update that introduced PIXEL...

Christmas Coding Challenge — Uno

During this Christmas break I decided to have a go at implementing the card game Uno in Python. It's a fun and simple game for all ages, and the rules are easy to pick up and follow – but there's quite a challenge in implementing the rules in a program! I spent a few hours over a few evenings...