Category Archives: Python

Operation Counterstrike – A Minecraft Game For The Pi

After my “Building A Castle In Minecraft With Python” article I wanted to create a Minecraft game that was a bit more interactive. The “find a diamond” type game had already been done so I decided to do a slightly … Continue reading

Posted in Add-ons, Minecraft, Python | Tagged , , , | 2 Comments

Building A Castle In Minecraft With Python

Once I had Minecraft setup on my Pi and had figured out how to use the Python API I wanted a little project to try it out. So I decided to create a script that would automatically create a castle … Continue reading

Posted in Minecraft, Python, Tutorials & Help | Tagged , | 3 Comments

How to Setup the Minecraft Python API on a Raspberry Pi

The great thing about the Raspberry Pi Edition of Minecraft is that you can manipulate the game world using Python scripts. You can move the player as well as create and destroy blocks. This allows you to create structures in … Continue reading

Posted in Minecraft, Python, Tutorials & Help | Tagged , , | 2 Comments

Using A Joystick On The Raspberry Pi Using An MCP3008

While browsing eBay looking at electronics stuff I found a few interesting items to connect to the Pi. The first item was a small 2-axis analogue joystick. They are similar to the thumb-sticks you would find on a modern games console … Continue reading

Posted in Hardware, Python, Tutorials & Help | Tagged , , | Leave a comment

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 , , , , , | 39 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 Minecraft, Python, Tutorials & Help | Tagged , , | 13 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