Recorder controlled Snake game played on a Nokia 6110

Dig out an old cell phone, hit the dollar store for some plastic recorders, and build this sound controlled snake game for your next party. The project will be a snap for those comfortable working with microcontrollers, and a great learning experience if you’re looking to try your first Arduino project.

[László] and his friend call the project the Snake Charmer. As shown in the clip after the jump it uses music notes to direct the path of the solid line in the classic cellphone game of snake. But this isn’t just some PC-based rip-off. They’re playing on the actual cellphone. A camera points at the screen to project it for the enjoyment of spectators. The control scheme uses relays soldered to the pads of the four directional buttons. The pitches are being detected by a Max/MSP program, with the corresponding commands pushed to the Arduino via USB. Yep, it’s overkill but the point was to get this up and running quickly and with a minimum of work. We’d say they succeeded.

Actually, now that we think of it, this isn’t a two player game. Perhaps the recorder control concept needs to be applied to a more modern version of the game.

[Read more…]

Resurrecting a cellphone with blown USB circuitry

[Script] is pretty lucky. One of the engineers who designed his cellphone included over-voltage protection in the circuit. Of course you probably wouldn’t know about this if there wasn’t a service schematic available. But a bit of searching around let him resurrect the fried USB segment of his Nokia N900.

Now [Script] has been experimenting with portable solar power like the system featured at 25C3 a few years back. Unfortunately he made an error which routed 12V into the USB connector’s 5V rail. After this unfortunate mistake the phone would not longer connect via USB, or charge the battery. Luickly the N900 is a favorite with the hacker community (you can see all kinds of N900 related projects here at Hackaday) and [Script] found his way to their N900 Schematic page. Digging into page four he found part F5300 which is labeled 2.0A. He removed the PCB and shielding, and tested the part with a multimeter to confirm it was blown. A quick wire bridge got the phone charging again, but [Script] plans to position a new fuse as soon as he can source the part.

Who says these devices aren’t user serviceable? If we could just get our hands on more service schematics perhaps our gear would last longer.

Accelerometer-based game control using an iOS device courtesy of HTML5

This game of Space Invaders is played by tilting your iPhone to the left or right. It’s a demonstration of HTML5 used to link devices in-browser. The only setup that’s required is for the base device to load up a webpage, then the control device scans a QR code (or just types in a link) to connect with the game. You can give it a try right now if you want.

It only works with iOS devices but we believe that’s because mobile Safari has the ability to poll accelerometer data and other browsers do not. If this was using on-screen buttons rather than the tilt controls it would work on any device that implements HTML5. The connection is facilitated by Node.js and Socket.IO. The QR code that is generated by the host machine’s page includes a unique ID which allows the control device to link with it. Once loaded, commands from the controller are sent via Socket.IO to the node on the host machine.

As with this HTML5-based sensor data application, we think this method is important because it allows control without the need for a standalone application. We’re hoping to see a lot of this in embedded projects in the future. By serving data to a smart phone or other device you remove to need for a physical user interface in your projects, which means you can make great things while spending less.

[via Reddit]

Heads-up display mounts on brim of your cap

[Matt Kwan] says that coming up with a personal heads-up display wasn’t that hard. Well that’s because he made design choices that make all the difference.

The goal here was to add some augmented reality to his field of vision. He went with a baseball cap because it’s a pretty easy way to strap something to your head. You can’t see it from this angle, but the setup requires you to cut a rather large hole in brim. The image from a smartphone (HTC Desire Z in this case) which is situated with the screen pointing toward [Matt’s] forehead. The screen reflects off of a small mirror, guiding the image down through a Fresnel lens mounted in the hole of the brim. The image is reflected a second time by the plastic in front of his eyes which is coated with a slightly mirrored material. Since the image is reflected twice it appears right-side up, and the use of the Fresnel lens places the image out about 20 cm in front of his view. He tried to get some images of the effect, but we think you’ve got to see it in person before passing judgement.

This does away with the need to track head movement (there’s a few hacks for that out there though). Augmented reality software is used to turn the view from the smartphone camera into overlay data for the display.

[Thanks Tom]

Arduino shield includes everything but the kitchen sink

arduino-3g-shield

The crew at Cooking Hacks in Zaragoza wrote in to share a new shield they developed for the Arduino platform. There are a hundred different shields out there that do this and that, but we think their 3G/GPRS shield looks pretty slick.

The base shield contains a WCDMA and HSPA compatible 3G modem as well as a GPS receiver. The modem can be used with an Arduino, or plugged directly into a computer via USB, allowing it to be used any way you like it. The more advanced kit offered by the Cooking Hacks crew features a VGA video camera, as well as an audio kit that can both play and record audio.

One neat feature they were quick to point out is that not all network communications need to be handled by the Arduino. Simple transactions (HTTP/FTP/POP3/SMTP) can all be carried out by sending standard AT commands to the modem.

Now, the kits don’t come cheap, but we can’t help but be interested in seeing what applications people dream up with this shield at the helm. Cooking Hacks is a division of Libelium Communcations, but as they are the company’s “Open Hardware Division” there are schematics available should you be interested in rolling your own 3G modem instead.

Reverse engineering a Nokia LCD

LCD displays taken from old Nokia phones have been a staple of the hardware makers for years now, so we’re very happy to see [Andy] reverse engineering a full color QVGA display so we can move our grayscale projects over to a full-color display.

The screen in a Nokia 2730, 5000, and 7100 cell phone is a wonder of technology – its 18-bit color with a very high-resolution piqued [Andy]’s interest. He bought a second-hand Nokia 2730 off of eBay and started taking it apart. After checking out the schematics for the phone, [Andy] had a few breakout boards made; especially useful since he found a few connectors as well.

With a great deal of Googling, [Andy] found another lost soul who successfully broke into a similar LCD display and discovered it was command-compatible with a Magnachip LCD controller. The only way forward was to send a few of these commands over to the display and watch what happens.

[Andy] managed get pixels drawn on the screen, and found a few interesting features: hardware scrolling is enabled, as is changing between portrait or landscape orientations. From a second-hand phone on eBay, [Andy] now has a very nice QVGA display. We’re calling this a win, but you can judge the video after the break for yourself.

[Read more…]