Controlling a Raspberry Pi with real life redstone


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 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.

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. Check out the video of the real life redstone in action after the break.

[Read more...]

Minecraft clock radio puts a creeper head next to your bed


This clock radio plays tunes from Minecraft and it’s decorated to look just like a creeper head. In the game mob heads are available as decoration and [Young_Maker] liked to spice up his virtual bedside table with a creeper head. But we think it looks just as good in its physical form.

The main part of the clock is an Arduino with a character LCD screen. A DS1307 real-time clock makes sure the device is accurate. We called this a clock radio in the title of the post, but it’s more of a clock MP3 player. The uMp3 board is used to play random music from the game. We would categorize the soundtrack as minimalism, which is a reasonable way to gently wake in the morning. But if time runs out the boom of an exploding creeper is played to make sure you’re not late for work.

We’ve embedded [Young_Maker's] demo video after the jump.

[Read more...]

Minecraft Coming to Raspberry Pi

The folks over at the Raspberry Pi Foundation often gets asked “does it run Minecraft?” Mojang, the team behind the block building game, has announced that they will be releasing Minecraft: Pi Edition. This port will be based off the Pocket Edition of the game, but with a revised set of features.

So what does this have to do with hacking? Mojang has announced that the Pi Edition will have “support for multiple programming languages.” There aren’t too many details about what this support will entail, but it looks to be aimed at teaching programming by using the world of Minecraft.

Hopefully, it will be possible to interface with the RPi’s expansion header to allow external devices to get data and create objects in the Minecraft world. There’s a lot of potential for hacking and learning programming skills.

The best part? It will be a completely free download. We’re looking forward to the launch.

AVR Minecraft server lets you toggle pins from the virtual world

Wanting to test his skills by building a webserver [Cnlohr] decided to also code a Minecraft server which allows him to toggle pins from inside the game. The rows of switches seen above give him direct access to the direction register and I/O pins of one port of the ATmega328.

The server hardware is shown in the image above. It’s hard to tell just from that image, but it’s actually a glass substrate which is [Cnlohr's] specialty. He uses an ENC424J600 to handle the networking side of things. This chip costs almost twice as much as the microcontroller next to it. But even in single quantities the BOM came in at under $20 for the entire build.

In the video after the break [Cnlohr] and a friend demonstrate the ability for multiple users to log into the Minecraft world. The simulation is fairly bare-bones, but the ability to affect hardware from the game world is more exciting than just pushing 1s and 0s through some twisted pairs.

[Read more...]

Building a 6502 in Minecraft

We’ll admit that we haven’t been following Minecraft like we used to; its been a while since we’ve seen something amazing in Minecraft, but [eloraam]‘s 6502 emulator (part of her RedPower Minecraft mod) takes the cake.

The RedPower mod adds a lot of industrial technology to Minecraft. Pumps, solar panels, and pneumatic tubes to move blocks around are the staple of this mod, but with the addition of a fully emulated 6502 computer, Minecraft moves from an anachronistic medieval-themed steampunk aesthetic to a full-on machine age, mainframes everywhere style.

The heart of the 6502 portion of the RedPower mod are three craftable blocks; a CPU, a monitor, and a disk drive. All these blocks are connected together with ribbon cables and can interact with other blocks in the Minecraft universe. The CPU is an emulated 6502, with a few instructions borrowed from the 65816 and the addition of MUL and DIV. It’s possible to program this computer in assembly, but [eloraam] a Forth interpreter with the OS to make programming a little easier.

It’s been almost two years since we first saw the beginnings of a CPU made in Minecraft, but this mod takes everything to the next level. In actuality, this isn’t very different from the game [notch] is currently working on; both feature an emulated 80’s era computer that can do all your in-game bidding. We can’t imagine anything better to get us hooked on Minecraft again, and we’ve got to commend [eloraam] for some seriously awesome work.

After the break is a 23-minute tutorial on the functions of the RedPower CPU, as demonstrated by Minecraft aficionado [direwolf20].

[Read more...]

Getting 12 year olds to learn assembly programming

[notch], the mastermind behind Minecraft, is working on a new game. It’s called 0x10c (pronounced ‘trillek’, we think) and promises to teach an entire new generation the joys of assembly programming on a 1980s-era computer.

The setup for the game is nerdy/awesome enough to make [Douglas Adams] blush; a ‘deep sleep core’ was invented in 1988 that attached to the 16-bit computers of the day. This core was big endian, where the DCPU-16 (the computer in the game) was little endian. What was supposed to be a one-year hibernation turned into a 281 Trillion year coma, the Universe is dying, and everyone from 1988 is just waking up.

The game features a fully functional 16-bit CPU that controls every aspect of your spaceship. The specs for the DCPU-16 have been released and there are several emulators available.

Already, a few communities have been set up around the web to discuss how to program the DCPU-16: the official forum of 0x10c, the 0x10c subreddit, and another dedicated to programming the in-game computer. Already there’s a C-like language that compiles executables for the DCPU and a Game of Life implementation.

We know this isn’t a usual Hackaday post. Despite this, we’re fairly certain a good percentage of our readership will be programming a DCPU-16 in the next year. It just might be time to crack the books and learn how to build a compiler and OS. The dragon book (Compilers Principles, Techniques, and Tools, Aho, Sethi, Ullman, 1985) is very good, and [Andy Tanenbaum]‘s Operating Systems Design and Implementation is how [Linus Torvalds] got his start.

One more thing: we’re going to be running a contest for the best physical implementation of the DCPU-16 in a few months. We’ll wait until the in-game hardware is nailed down, along with any peripherals [notch] plans to add. Right now the prizes are some HaD schwag, but that may change. Further info with updates pending, but you’re free to start working now.

Minestation – An external weather display for your Minecraft world


If you’re a big Minecraft fan, the folks at [radikaldesign] have something that might be of interest to you. (Translation) Inspired by some of their Minecraft-loving friends, they have developed Minestation – a weather station for your Minecraft game.

The concept is simple. Here in the real world we have the ability to look out the window and see what it is like outside, but many of us turn to digital weather stations, the Weather Channel, or the local news to get the real scoop. They decided that the world of Minecraft should be no different, so they constructed an Arduino shield that allows players to see weather conditions as they play.

The shield contains a Nokia 6100 LCD screen which displays all sorts of useful information. It features a clock and calendar that reflect in-game time, making it easy to know when night is going to fall. It also continually displays the player’s coordinates as well as what the weather looks like in that region. Having this information at hand when you’ve been slogging away in the mines (losing track of time and weather) seems like it could be pretty useful at times.

You can buy one of the devices at, but the design is completely open, so you can easily construct one of your own without too much hassle.

Continue reading to see a video of the Minestation in action.

[Via HackedGadgets]

[Read more...]