Tag Archives: python

Berry Bookies – A Horse Racing Game For The BerryClip

Jim Flewker, a retired languages teacher, has written a horse racing game in Python for use with the BerryClip addon board. In the game you select one of six horses using the BerryClip button and then wait for the result of … Continue reading

Posted in BerryClip, Python, Software | Tagged , | Leave a comment

Analogue Sensors On The Raspberry Pi Using An MCP3008

The Raspberry Pi has no built in analogue inputs which means it is a bit of a pain to use many of the available sensors. I wanted to update my garage security system with the ability to use more sensors … Continue reading

Posted in Hardware, Python, Tutorials & Help | Tagged , , , , , | 35 Comments

Happy Halloween With A Raspberry Pi And Pi-Lite

It’s that time of year when mad inventors start creating Halloween themed electronics projects. I’ve never managed to be organised to do a seasonal project but this year I decided to give it a try. So this year I decided … Continue reading

Posted in Hardware, Pi-Lite, Python, Tutorials & Help | Tagged , , | 1 Comment

How To Setup Minecraft On The Raspberry Pi

Until recently I had never played Minecraft but it’s popularity meant it was something I felt I had to try. I installed the free pocket edition on my Nexus 7 to try it out and as a result decided to … Continue reading

Posted in Python, Software, Tutorials & Help | Tagged , , | 14 Comments

Pi-Lite LED Matrix Board Python ‘Hello World’ Example

If you’ve followed the previous Pi-Lite setup article you should have a working Pi-Lite. The example Python scripts are great but I wanted to show a simple example of my own demonstrating the basics of sending scrolling text to the … Continue reading

Posted in Pi-Lite, Python, Tutorials & Help | Tagged , , | 4 Comments

How To Setup The Pi-Lite LED Matrix Board

I recently purchased a Pi-Lite at the Cambridge Raspberry Pi Jam.This is a 14×9 matrix of red LEDs mounted on a PCB that can be attached to the Pi and controlled via the GPIO header. The 126 LEDs can be … Continue reading

Posted in Hardware, Pi-Lite, Python, Tutorials & Help | Tagged , | 14 Comments

How To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 3

In How To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 2 I explained how to use an MCP23017 16-bit port expander to provide additional outputs. In this article I’ll show a basic input example where … Continue reading

Posted in Hardware, Python | Tagged , , , | 21 Comments

How To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 2

In How To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 1 I explained how to configure your Pi to use I2C so you could connect an MCP23017 16-bit port expander to it. If you’ve followed that … Continue reading

Posted in Hardware, Python | Tagged , , , | 2 Comments

How To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 1

For all of my projects I have used the standard GPIO header pins as inputs and outputs. This gives you a total of 17 pins to play with but what if you need more? The easiest way of getting more … Continue reading

Posted in Hardware, Python | Tagged , , , | 13 Comments

Running A Python Script At Boot Using Cron

There maybe times when you want to run a Python script when your Raspberry Pi boots up. There are a number of different techniques to do this but I prefer the method that uses “cron”. Cron is a job scheduler … Continue reading

Posted in Python, Raspbian | Tagged , | 24 Comments