PDA

View Full Version : Controlling a Raspberry Pi with real life redstone



wraggster
January 30th, 2013, 22:32
http://hackadaycom.files.wordpress.com/2013/01/minepi.png?w=580&h=274
We’ve seen computers built in Minecraft out of redstone, the game’s version of electricity, circuits, and digital logic. We’ve even seen a few redstone contraptions controlling real-world devices. [Angus]‘ build, though, takes things to a whole new level. He’s created a bridge between Minecraft circuits and their real life counterparts (http://electrictea.co.uk/pimc) using a Raspberry Pi.
[Angus]‘ build relies on a mod for Minecraft servers running as a Bukkit plugin. Blocks powered by redstone are labeled with an in-game sign, and messages regarding the state of a block are passed over the network using the MQTT protocol (http://mqtt.org/).
The hardware side of the build is a Raspberry Pi with a PiFace expansion board. With this setup, [Angus] can control LEDs on the PiFace by toggling Minecraft levers, or light up redstone lamps using the PiFace’s buttons.
If you’d like to try this out for yourself, you can grab the Bukkit plugin over on [Angus]‘s git (https://github.com/ajtag/ReallifeRedstone). Check out the video of the real life redstone in action after the break.

http://hackaday.com/2013/01/30/controlling-minecraft-with-a-raspberry-pi/