Category Archives: Python

Raspberry Pi LogoOperation 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 , , , | 3 Comments

Raspberry Pi LogoBuilding 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

Raspberry Pi LogoHow 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 , , | 4 Comments

Raspberry Pi LogoUsing 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 , , | 1 Comment

Raspberry Pi LogoBerry 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

Raspberry Pi LogoAnalogue 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

Raspberry Pi LogoHow 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 , , | 16 Comments

Raspberry Pi LogoHow 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 , , , | 23 Comments

Raspberry Pi LogoHow 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

Raspberry Pi LogoHow 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 , , , | 16 Comments