Nov 182015
7 segment display Python Raspberry Pi - countdown ticker

Continuing with our theme of 7-segment displays driven directly from the Raspberry Pi’s GPIO using Python, I was asked for an explanation of the code from the previous post. In order to explain something, you first have to fully understand it, so I took some time to have a good look at the ‘business end’ of Bertwert’s code and figured out exactly how it works. I’ve now put a full code walkthrough of that script in the comments section of the previous post. Having done that, and having had a tweet from David Meiklejohn saying […more…]

Nov 162015
How to drive a 7 segment display directly on Raspberry Pi in Python

Last week I bought some 4-digit, 7-segment displays to experiment with. Strangely enough it was something I’d never tried before, so I was interested to see how they work. I googled around looking to see if someone else had done this before. It seems there are several different sorts of 7-segment displays, so you have to find a good match for the one you’ve bought. You can get them in various guises including: i2c backpack; 12 pins; 16 pins; resistors built-in; common anode; common cathode etc. The ones I bought are 12 pin, bare, no […more…]

Oct 292015
RasPiO Duino Videos Complete

Last Thursday I decided I needed to do the “Analog Inputs Video” for RasPiO® Duino. All the other basic functionality was well covered in the previous assembly/setup/tutorial videos. There’s also the 47 page user guide (FREE Download – good intro to Arduino programming) and a GitHub repository with the example sketches in. But I wanted to complete the basic set of videos, so at midday I started planning. I filmed in the afternoon and cut the video in the evening. At about 2230 I was done, so I started uploading it to YouTube (~2.4 Gigabytes […more…]

Oct 222015
RasPiO GPIO Ruler goes on general sale

You may remember I ran a KickStarter campaign in August for the RasPiO® GPIO Ruler. The KickStarter rewards were all sent out in the first week of October. (We finished shipping 3 weeks early.) So now it’s time to launch the product officially and make it available to all on general sale. If you missed out on the KickStarter, now you can buy one. In case you haven’t seen it before, this is what it looks like… What Is The RasPiO® GPIO Ruler? It’s a coding crib-sheet for RPi.GPIO, a port ID guide, a multi-scale […more…]

Jul 142015
RasPiO GPIO Ruler

For some time now I’ve been using the wonderful RPi.GPIO Python library by Ben Croston. It’s great for using the General Purpose Input Output (GPIO) ports on the Raspberry Pi to control things and read inputs. I’ve written at least 14 tutorials on it (listed here) over the last couple of years. But I still find myself needing to look up the exact commands to use. I’ve made a crib-sheet which is really useful, but pieces of paper get lost. What I really want is the most used commands in a portable, accessible form that […more…]

Sep 012014
RPi.GPIO - port function checker

A few weeks ago I blogged about RPi.GPIO updates for the model B and updated my RPi.GPIO documentation and quick reference sheets. But there was one feature I held back on because I needed a bit more time to mess about with it. (And then got busy with other things.) So What Was It? gpio_function() Another RPi.GPIO feature that sneaked in while I wasn’t looking is gpio_function() This is a feature that’s been inserted in RPi.GPIO to enable you to query the setup status of a port to see how it’s configured. import RPi.GPIO as […more…]

Aug 132014
New Port ID Board for the Raspberry Pi B+ - RasPiO Portsplus 2

Today I’m launching the RasPiO Portsplus 2. It’s a simple port ID board for the Raspberry Pi model B+. It’s available over at but full information below… RasPiO® Portsplus 2 The RasPiO® Portsplus 2 board is designed for the new Raspberry Pi B+. It labels the ports clearly for you so that you don’t need to count pins. This will help you avoid wiring errors and damage… You can slip it over the B+ GPIO header if you want, or hold it next to the header (many people tell me they do this – and this […more…]

Jan 262014
Top Ten Android Apps for use with Raspberry Pi

I regularly use my Nexus 7 or my Android smartphone (was Galaxy S2, now Nexus 5) to help me with my Raspberry Pi activities. Here is a ‘top ten’ roundup of my favourite Android apps that I use with Pi. Sorry iPhone users. I don’t have an iPhone, but I expect many/most of these apps are available for iPhone too. These apps are used for a whole range of activities, so I’ll try to put them in a reasonably logical order. Each app has an icon by its title. Clicking it, takes you to the […more…]

Jan 162014
Texys 2.8 inch touchscreen with RasPiCamcorder - step 1

At the end of August, I bought one of Texy’s 2.8 inch 320×240 touch-screens to have a play with. I thought it’d be great if I could somehow get it working with my RasPiCamcorder. Although, at the time, you had to jump through quite a few hoops to get the drivers working, and nobody had yet done the necessary work to enable camera output to be displayed on it. Then I got busy with KickStarter and HDMIPi and it lay untouched until December. I periodically looked in on the camera section of the Raspberry Pi […more…]

Sep 252013
Cambridge Raspberry Jam 21 September 2013

I had a very busy time at the Cambridge Raspberry Jam last Saturday. I was speaking and demonstrating the prototype RasPiO® baseboard that I designed. More on that in a bit. Because I was speaking, I decided not to do a show and tell as well. I was glad about that, as I tend to get stuck next to my show and tells, which stops me from going around and seeing what other people are doing. Since Mike “Recantha” Horne had asked me to judge the show and tells competition, I had to have a […more…]