Jan 072016
Always Test Everything - Twitter App Update

I’m a firm believer that you should always test things in advance. It helps avoid unexpected last-minute panics when things don’t work as you expected them to. On Friday I’m going to pick a winner from my twitter followers using the twitter app script I wrote back in October 2013. My Joey from @gooligumelec just arrived. :) I have a spare I will give to a randomly selected follower on Friday. pic.twitter.com/yGtwATYXng — RasPi.TV (@RasPiTV) January 5, 2016 It Still Works, But… Since I had no idea where the SD card with that old Raspbian […more…]

Nov 302015
Raspberry Pi Zero - Updated Pi Family Photo

With each new release of Raspberry Pi, I usually do a new family photo. It’s getting harder and harder to fit them all ‘on the sofa’ and get them all smiling. The way I’ve always done it is “all in one shot”. I may change this for future versions in order to get more definition. We’ll see. (As usual, more ideas than implementation time.) I am very happy for people to use this photo if they wish to do so provided the RasPi.TV credit stays intact. I make it available at 1500px resolution as CC-BY-SA. […more…]

Nov 272015
Raspberry Pi Zero - Power Measurements

Since the Pi Zero is small and eminently wearable, I thought I’d take some power measurements as this will be useful information for people to plan their projects. So I ran my usual series of tests and updated the table and chart showing all consumer models of Raspberry Pi. In my standard tests, I measure the current consumption, using the calibrated shunt on my Emeter, while the Pi is: Idling; Loading LXDE; Watching HD video and Shooting HD video. Since the Zero has no camera port, shooting video is not applicable, but all the other […more…]

Oct 152015
GPIO Zero Test Drive - Making Light of Security

Giving GPIO Zero (Beta version) a test drive might make you feel a little insecure, but I’m aiming to throw some light on the situation. I decided to try out some of the built-in features of GPIO Zero by working up a little hardware project. I looked at the current feature set and decided to try and combine MotionSensor, LED and LightSensor all at once. What sort of project uses that kind of technology? Why a PIR-controlled security light of course – if you swap the LED for a relay and 12V lamp! The video […more…]

Oct 122015
GPIO Zero - Introduction

If you’re a RasPi.TV regular, you’ll know that one of my very favourite things is hacking around with the GPIO ports on the Raspberry Pi and sharing my findings with the world. Sometimes this involves documenting a new feature, sometimes it involves making a new project, using a new chip or just getting something working that I haven’t tried before. But it nearly always involves Python programming and the brilliant RPi.GPIO Python library by Ben Croston. I’ve written all sorts of tutorials (~16) on RPi.GPIO because it is one of my favourite things. You may […more…]

Sep 082015
New Official Raspberry Pi DSI screen launches

The official 7 inch DSI Raspberry Pi screen is now launched and available for purchase. It’s been a long time in the making, but the B+, the A+ and Pi2B have all been responsible for pushing this display to the back-burner. When there finally was some ‘engineering time’ to get on with it, hurdles were faced with EMC compliance and chip availability. But those hurdles are now overcome and the screen is now launched. And it looks great (click any photo for higher resolution). Video Overview Here’s a video overview. There’s more detail in the […more…]

Aug 122015
RPi. GPIO GPIO.getmode() function

Another new RPi.GPIO feature that I discovered last week is GPIO.getmode(). This appeared in RPi.GPIO 0.5.11 and allows you to query RPi.GPIO to see whether GPIO.setmode() has been set up as BCM, BOARD, or UNSET mode. This could be useful if you are running a suite of scripts or modules which work together. GPIO.getmode() returns… -1 if GPIO.setmode() is not set 11 if GPIO.setmode(GPIO.BCM) is active 10 if GPIO.setmode(GPIO.BOARD) is active Below you can see a live python session showing what you get when you use GPIO.getmode() with different modes set… Why Did You Bother […more…]

Aug 102015

In RPi.GPIO 0.5.10 (we’re now on 0.5.11) Ben Croston ‘deprecated’ GPIO.RPI_REVISION, which used to be the preferred way to find out what kind of Raspberry Pi board a program was running on. This was a useful feature to make it possible to write software that will work on any Pi, regardless of how its GPIO pins are arranged. To date, we’ve had three different GPIO pin header layouts for the standard Raspberry Pis (four if you count the compute module). But GPIO.RPI_REVISION has been deprecated (fallen out of favour) because there is now something better. […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…]

Jul 062015
RasPi.TV Mailbag - July 2015

Today we’re getting a bit interactive. I decided to do a mailbag video, showcasing six of the things people have given me or sent in over the last few months. The items in question are… PiUPS Traffic Hat Official Raspberry Pi wifi dongle Shortcrust Plus Pi 2 (& B+) case Unicorn Hat Witty Pi You Tell Me Which One You Want Reviewed In More Depth I’m off abroad soon. I haven’t got room in the case to take all of these items. Let me know which is the most interesting to you and I’ll take […more…]

 Posted by at 8:48 am  Tagged with: