Harry Potter Location Clock Spies On Your Smart Phone

harry-potter-clock

The location clock found in the Harry Potter books makes for a really fun hack. Of course there’s no magic involved, just a set of hardware to monitor your phone’s GPS and a clock face to display it.

[Alastair Barber] finished building the clock at the end of last year as a Christmas gift. The display seen above uses an old mantelpiece clock to give it a finished look. He replace the clock face with a print out of the various locations known to the system and added a servo motor to drive the single hand. His hardware choices were based on what he already had on hand and what could be acquired cheaply. The an all-in-one package combines a Raspberry Pi board with a USB broadband modem to ensure that it has a persistent network connection (we’ve seen this done using WiFi in the past). The RPi checks a cellphone’s GPS data, compares it to a list of common places, then pushes commands to the Arduino which controls the clock hand’s servo motor. It’s a roundabout way of doing things but we imagine everything will get reused when the novelty of the gift wears off.

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”

NASA Inspired Circadian Rhythm Lights

circadian-rhythm-light-rig

After reading about an initiative between NASA and Boeing to develop lights for the International Space Station [Rasathus] decided to give it a go at building his own. The project uses RGB pixels to build a circadian rhythm light installation. Without the normal rise and fall of the sun the sleep wake schedule for the astronauts can be pretty rough. This uses color and intensity of light in a well-defined schedule to help alleviate that. [Rasathus] is trying to bring his project in well under the $11.1 million mark which was established for the ISS.

The light modules he’s using are from a strand of LEDs from Adafruit. Each is driven by a WS2801 controller, a common driver used for easy and complicated projects like this huge ball of light which our own [Jesse Congdon] tackled. The board above is the start of an adapter board for interfacing with the Raspberry Pi GPIO header. [Rasathus] wanted to make certain he didn’t fry the control electronics so he built some protection into this adapter. The control software is covered in the second portion of  the write up. We’ve embedded the video from that post after the break.

Continue reading “NASA Inspired Circadian Rhythm Lights”

Raspberry Pi Is Right At Home Inside Of A Game Boy

IMG_20130201_163325

[Matt] still has his original Game Boy from when he was a kid. He wanted to pull it out and play some of the classics but alas, the screen was broken and he couldn’t find a source for a drop-in replacement. In the end he ordered a used unit and pulled the screen from that one. This left him with a pile of leftover Game Boy parts which turned into a Raspberry Pi case project.

Since the RPi doesn’t have a power switch he thought it would be pretty neat to incorporate the Game Boy power switch. He was able to cut out one section of the original PCB that included the switch and one mounting hole. This kept the switch aligned with the case and gave him some pads to solder the incoming USB cable and the jumper wires to the RPi board. In the image above the power LED is on. He mentions that there was an issue with that circuit; the voltage drop across the LED was messing up the feed to the Pi so it’s disabled for now.

We’ve embedded a couple of images of everything inside the case after the break. If you’re a fan of this hack you should also take a look at the Game Boy hard drive enclosure which uses the same pixel art printed on paper effect for the screen window.

Continue reading “Raspberry Pi Is Right At Home Inside Of A Game Boy”

Complete Siri Home Automation Controls Everything But The Kitchen Sink

complete-siri-home-automation

[Elvis Impersonator] spent three full days but in that time he managed to hand control of everything in his house over to Siri. The technique used is a familiar one. A Raspberry Pi running SiriProxy listens for commands from the iPhone and acts on them based on [Elvis’] predefined configuration. The difference here is that it’s not just a single device (read: lamp) that is being controlled to prove the concept. His video (embedded after the break) shows him operating an entire range of devices in his home.

The demonstration starts off with his garage door being opened and closed. From the YouTube video description we know that he’s using Trendnet IP cameras and it looks like one of them lets him see if he remembered to close the garage.  Next he disarms his home security system as shown in the image above. From there he adjusts the Nest thermostat, switches off the living room lights, and changes the TV channels.

We think the need to give voice commands would get old pretty quickly. But that aside we applaud his work to pull everything together into one single interface.

Continue reading “Complete Siri Home Automation Controls Everything But The Kitchen Sink”

Web Connected Treat Dispenser Appeases The Pets

web-connected-treat-dispenser

[John] was looking for a project for his newly acquired Raspberry Pi and decided to include his dog in the fun. although his finished project looks a lot like an old time camera, it’s actually a web-connected treat dispenser that uses his dog’s email address for dispensation.

Let’s take a look at the hardware from top to bottom. There’s a camera with a eagle’s eye shot of his furry friend waiting for treats. The cylinder below that is the motor which drives the treat dispenser. You can see the chain tensioner on the back which connects the motor to the tube dispenser in the center of the box. Just above that outlet is the character display which gives feedback to anyone watching the dispenser. Nearing the bottom is a hopper that catches the treats, then flips over to dump them onto the floor. And finally at the bottom is a slot for the Raspberry Pi which drives everything.

Most of [John’s] projects revolve around CNC work. In addition to the demo video found after the break there’s a second that focuses on CAD design. About half way through that clip he gives us a close-up tour of all the hardware.

Continue reading “Web Connected Treat Dispenser Appeases The Pets”

Easy Web Interface With GPIO Access Runs On Raspberry Pi

Here’s a Raspberry Pi hack that adds web control using PHP and MySQL. As you can see in the image, it serves up a webpage (using the Apache2 server) which allows you to change the state of the GPIO pins. It’s not super-complicated, but it is nice to see a step-by-step guide for installing and configuring the package.

Web interface GPIO control is one of the features we loved about the Adafruit Web IDE. But this offering is loaded completely from the RPi (the Adafruit package uses cloud based code) and utilizes the tools most Linux network admins will be used to. A MySQL database manages the connection between GUI commands and GPIO modification. The webpage is served up by a PHP script which takes care of polling and changing database values. Configuration requires a new database, plus the username and password which has access to it.