Minecraft For RPi Released

Minecraft for RPi

Mojang, the folks behind Minecraft, have officially released Minecraft: Pi Edition. This free version of the popular game is optimized to run on the Raspberry Pi hardware, and has an API that exposes the game’s internals to a variety of programming languages.

Mojang intends this release to be an educational tool for teaching and learning programming. Since the API provides instant feedback in the game, it could be an interesting way to make learning to code fun for people of all ages.

Having access to the API on a RPi also means that the game can be connected to the real world. For example, using Python and the RPi.GPIO, pins on the GPIO header can be used for output or input. This creates a slew of possible hacks that interface with the game.

Any ideas on what you’d like to do with Minecraft on a RPi? Let us know in the comments. Also, we coincidentally just printed a minecraft pick on our 3d printer. There’s a time lapse video of it after the break!

Continue reading “Minecraft For RPi Released”

LED Tells You When Your Server Has Melted

LED

One of the benefits of writing for Hackaday is the ability to command at will a legion of readers to descend on unsuspecting web servers. Most of the time a server can handle the load of thousands of connections. On the rare occasion, though, a server is turned into a pile of slag and dross to the satisfaction of us here at Hackaday and to the ire of admins everywhere.

Checking to see if your server is still running or not isn’t terribly interesting, though. [Eric] thought it would be cool to have a proper physical visualization of how busy his server is, and ended up using a blink(1) USB-controllable LED to display his current server load.

The blink(1) is a small, USB controlled RGB LED that can be used as a universal indicator light. [Eric] had the idea of plugging it in to one of his servers and having the brightness of the LED change in response to the load on the server. He did this with a Python script that queries the Google Analytics API and returns a value from 0 to 255 in response to how popular his server was in the last 10 minutes.

Of course, there’s always a chance Hackaday could Slashdot his server. In that case, the blink(1) glows a steady red, alerting [Eric] to his popularity.

Programming In 3D With 3DPL

cubes

Here’s an interesting tool for making simple 3D games. It’s called 3DPL, the 3D programming language, and it’s a real-time interpreted language that allows you to create cubes and other primitives that respond to user input and internal logic. Not only that, but you can build 3D versions of breakout and asteroids very simply with only a few lines of code.

3DPL is based on Unity with a lot of JavaScript influences. Building a cube in 3DPL is as simple as declaring it with a name and position in 3D space. There are a few functions that can be applied to these cubes – they can be made to rotate at the press of a key, or translated in space to collide with each other.

It’s still a very early build, but looks to be pretty interesting for an ‘introduction to 3D graphics programming’ perspective. You can grab a copy of 3DPL to try out over on [amigojapan]’s github. Hopefully we’ll see a gravity method soon for a proper 3DPL Tetris implementation.

Turning An IPhone Into A Karaoke Machine

setup

Instead of booking an MC for your next karaoke party, take a look at [Paulo]’s build that turns any iPhone into a karaoke machine.

There are thousands of YouTube videos out there of songs with lyrics – a much more advanced version of the mainstay of any karaoke get together, suitcase full of CDs and a video monitor. The only problem in turning these YouTube videos into a karaoke party is putting a drunken slob into the mix. [Paulo] recently solved this problem with a karaoke mixer that adds a microphone input to any analog audio feed.

But this is only halfway to a karaoke machine. To finish the build, [Paulo] created an amplifier (with a fabulous Manhattan-style PCB) for an iPhone’s audio output. The video output can be sent directly to a monitor, allowing for the full karaoke experience.

Since [Paulo]’s karaoke mixer uses an XLR jack for the mic, it’s still possible to make karaoke worse by adding vocal and other miscellaneous effects.

Soldering Small Components For A Video DA

Video DA Board

Video distribution amplifiers are used to amplify a video signal and split it into multiple outputs so multiple displays can be driven. They are also used to correct the gain of an incoming video signal. [Andrew] was having trouble with the video signal from an interferometer, and found the issue was caused by a low output gain. His solution was to build his own video distribution amplifier.

The THS7374 appeared to be the perfect chip for this application. It’s a four channel video amplifier IC, and only requires a few passive components to run. The only problem was the package: a 14 pin TSSOP with 0.65 mm pitch. Not fun to solder by hand, especially if you don’t have a PCB.

[Andrew]’s solution was to build his own breakout out of copper-clad board. He worked under a microscope and cut out a pattern for the part, then soldered 30 AWG wire to the pins to make connections. After cleaning off any copper that could cause a short, the board was working, and the video waveform looked great on an oscilloscope.

After testing, even more gain was needed. [Andrew] ended up cascading two of the amplifiers. This method of prototyping doesn’t look easy, but could be worth it when you need a single board.

Hack A Day On Fact Or Fiction With [Veronical Belmont]

Enjoy a fun episode of “Fact or Fiction” with [Veronica Belmont], with guest [me] from Hackaday.  The show “Fact or Fiction” generally takes some popular topic and talks to experts who can shed some light on the topic. They’ve had all kinds of intelligent people on, and also me.  If you watch a few episodes you’ll see that she tends to let people talk about the science for a bit, but inevitably veers over into “can we actually make this?”, which tends to elicit an awkward and somewhat humorous response from the person being interviewed, because most of the things they’re talking about are pretty outlandish, like portal guns.  I enjoyed the one about life on mars, especially when she asks the gentleman how accurate portrayal of martians in movies are, right after he explained that we’re looking microscopic things.

On a completely unrelated note, it is a very very small world. I ran in to [Veronica] at CES a few years ago and we found that both her and her husband both worked in the same office as [Phil Torrone] when Hackaday was just beginning.

Reflow Oven Courtesy Of Hurricane Sandy

2013-01-23-00.51.57

The Makerbar, Hoboken’s Hackerspace, was in desperate need of a reflow oven. Hurricane Sandy did a number on a whole bunch of household appliances, so when [Kush] saw a neighbor throw out a broken toaster oven, the Makerbar crew sprung into action.

The storm waters shorted the electronics board, fried the existing controls, and basically turned the oven into a metal shell with heating elements. It was the perfect platform for a toaster oven – every part that was going to be thrown out was already destroyed.

[Zach] over at the Makerbar ordered the Sparkfun reflow toaster conversion kit along with a few arcade buttons and set to work. After plugging the heating elements into the mains power to make sure they still worked, [Zach] attached these elements to the relay on board the controller. Three arcade buttons were wired up to the controller, and a whole bunch of code was written.

With the included thermocouple, [Zach], [Kush], and the rest of the Makerbar gang now have a very accurate and reliable reflow oven. There’s also settings for Sculpey clay and shrinky dinks, just in case anyone at Makerbar is feeling a bit creative.