Hackaday Links: January 14th, 2010

We saw this home made beekeepers hood posted and actually mistook it for an art piece. We thought it was a Super Mario squid. You can see an example on this image, which is located on a site dedicated to cross stitching video game characters.

In an odd coincidence, not related to the 8 bit textiles above, we also found this Mario themed sweater. We wouldn’t wear it, but we’d love to see Wil Wheaton in it.

No. No no no. Bad Scientists. No treat for you.

There are 4 more links after the break, you’ll want to see them to get that baby out of your head.

Continue reading “Hackaday Links: January 14th, 2010” →

AVR Tetris

Tetris, the timeless classic, is one of those concepts that someone will try to run on every conceivable hardware platform. I took on the challenge of programming a Tetris clone from the ground up using hardware I had on hand. At the heart of the build is an ATmega168 microcontroller. The game displays on a KS0108 128×64 LCD module with five momentary push switches to provide directional, rotational, and input controls. You can see the resulting monochrome action embedded after the break.

I had several goals in mind while writing the code for the game.  I wanted the code to be portable so that the size of the board and type of screen used could be easily changed. With that in mind I developed the trunk for a Nokia 3595 cellphone screen and a parallel branch for the graphic LCD. Originally I was working with an ATmega8 but upgraded so that I could operate at the 3.3v the cell phone screen required.

The firmware for the graphic LCD branch compiles to just over 6 kB which means it can still be run on a mega8. Also, the ATmega168 is the same processor used in the Arduino Duemilanove so another Tetris port is not out of the question. I just got a hold of my first Arduino so we’ll see if I find time to start a new branch in the code.

Continue reading “AVR Tetris” →

Google Bike Hack, Quick And Dirty

Many of the projects we post are so well thought out and engineered, they could hardly be called “hacks”.  This one, however, falls neatly into the hack category. [Dave] wanted his very own exercise bike hooked to Google maps. Instead of setting up a control system and writing software to control Google maps, he simply hacked a USB game controller. He wired a magnetic switch directly into the board, where the “up” button is. Then he mounted the switch so that it would be triggered each time he rotated the pedal.  Though he only has the forward movement done right now, it would be pretty easy to set up a couple more switches at the base of the handle bar for left and right.

While the experience may not be quite as nice as the more complicated one, aside from head tracking, it isn’t that far off.

ProtoDeck – MIDIBOX Based Controller

[Julien] let us know about his ProtoDeck. A MIDIBOX based controller for Ableton Live using a Big Max for live patch interface.

One thing that we have seen is less and less hacks for are MIDIbox projects. It is no wonder, considering now a days we have touch screen and multiple other interfaces and sound creation tools – MIDI almost seems like a dying art.

The ProtoDeck uses 87 pots, 90 buttons, and 81 RGB LEDs all controlled by 2 PIC 18F4620s. [Julien] says his main goals where to have lots of color and buttons. We think he succeeded.

Tricking An IPod Into Trusting Your Dock

[Thijs] has an iPod dock with an LCD display in it that allows you to watch videos without having to squint quite as much. Unfortunately, the iPod classic wouldn’t play videos on it because it’s not an Apple approved product. He figured out that an authentication chip is included in docks and cables that Apple has approved and set out to retrofit his device with one. He pulled the PCB, authentication chip included, out of a $5 cable from Deal Extreme and wired it up to the PCB on his dock. Voila, the dock now plays video.

This is a nice hack but it’s also just silly. You paid for the iPod, you paid for the music and videos (right?), and you paid for the dock. Why can’t they all talk to each other without authentication?

MythNetVision To Cure Borked MythTV Hacks

Another group of developers has stepped up to the plate in the never-ending attempt to integrate online streaming video with MythTV. The new plugin is called MythNetVision and aims to bring streaming and downloading video functionality both easily and legally. That means without violating the terms of service of the providing website.

We’ve seen so many attempts that fell short it’s easy to be skeptical about the chances of this plugin actually working. Plugins like MythStream and MythVodka worked only temporarily before breaking and never seemed to provide a reliable option. Many people have tried adding Boxee, Hulu Desktop, or XBMC integration by launching these separate packages via the MythTV UI but that’s far from a clean solution.

It looks like MythNetVision is taking a slightly different approach. Although not yet available, the designers have built the plugin in two parts. The frontend is a fully skinnable user interface that parses RSS feeds to provide the hooks needed to browse, search, and view video. Depending on the content, a browser may be spawned to play the video, it may be played within MythTV’s normal player, or a separate download thread can be launch with video following after the appropriate buffer level is reached. The RSS feeds come either directly from the provider, such as the Revision3 feeds, or a scraper can be written to provide custom RSS feeds from sites that don’t have them.

We’ve seen a glimpse of the progress and we’re optimistic that we’ll see a reliable plugin. Early adoption and user script contribution are the best way to help ensure this so keep an eye out for the public release of this package.

Bike Controller For Xbox 360

ProjectExciteBike is on its second iteration of an exercise bike controller for Xbox 360. The controller takes pedal input from the cranks of the exercise bike. The sensing is handled by a ring of five hall effect sensors that detect a passing magnet attached to the crank. The sensor data is collected and processed by an Arduino which connects to a wireless Xbox 360 controller for output.

This version of the gaming device includes a fine adjustment widget. It uses a row of LEDs to represent the speed of the pedals and has a slider to adjust how much of an effect this has on the game. This is what we envisioned for the trainer computer we saw yesterday. Take a look at some game play video after the break and dig through the code if you have an exercise bike waiting to be recommissioned.

Continue reading “Bike Controller For Xbox 360” →