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:
Jun 152015
Flappy Brain EEG controlled game by Albert Hickey @winkleink

At Last week-end’s Cambridge Jam I met Albert Hickey @winkleink, who showed me this extremely cool brain-wave controlled version of Flappy Bird. This is a video post, so I’ll let the video do the talking… Albert runs the Egham Raspberry Jam and his blog can be found here. He’s written the project up and shared the code there. @RasPiTV Thank you for doing this. Will have all set up to play at @EghamJam on the 12th of July. http://t.co/t99JvPNT8d — Winkleink (@winkleink) June 15, 2015

Jun 102015
CamJam June 2015

There’s something special about the Cambridge Raspberry Jam. Firstly it’s in Cambridge, the birthplace of Raspberry Pi. Secondly it’s run by two of my good friends Mike @recantha and Tim @Geeky_Tim. Thirdly it’s held at the Institute of Astronomy, which is a brilliant venue for such an event. Fourthly, there’s always a lot of prominent Pi people there. It’s great to meet people from the community and find out what they’re up to. The June 6th Jam was a “normal” jam. There was no specific theme, but there was a full programme of talks in […more…]