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”

CES: Glove Input

The peregrine looks like it could actually be a useful tool. We’ve seen several people make glove input devices over the years and this looks like a quick and easy way to get one going. It touts over 30 touch points that are user programmable. Really, it works more like a keyboard wrapped around your hand than any kind of motion or flex sensing. It could probably save you some time if you are headed that direction, but at $250 you might just want to build your own.

[James] – For those looking to make your own, Adafruit offers both flex sensors and force sensitive buttons that could help you work on something like this.

Update: More Pink Wireless-terminal Hacking

[Dave] poked around inside of an IM-ME wireless toy and compiled his findings. He read about the device when we covered it in November and picked up a couple to see what he could do. He patched into the debug port in the CC1110 processor and enabled it by performing a chip erase. He then began mapping out how the processor connects and communicates with the qwerty keyboard, the wireless radio, and the LCD screen. The board is full of test points which make the hardware easy to access. [Dave’s] experiments show that this hackable device is full of potential so let’s see what you can do!

TI-nspire Hacked

The regulars at the United T1 forums keep them coming, this time hacking the Texas Instruments Nspire graphing calculator. We enjoy seeing the exploits that unlock the backend of these types of devices. The difference this time is that the hacking continues even though Texas Instruments has shown that it intends to protect the security of their devices using the DMCA. The Nspire thread linked above discusses the DMCA concerns just a bit but it seems obvious to us that running your own code falls under the umbrella of the act. The exploit package hasn’t yet been posted, but if you want it make sure you check back regularly before the take-down order comes in from TI.

[Thanks Iceman]

PS3 Wireless Visual Interface

[Technott’s] at it again, this time extending the Playstation 3 with a wireless interface. This handheld isn’t actually a PS3. It provides a wireless connection to your PS3 to receive audio and video, as well as to manage controller data. Think of it as a wirelessly tethered handheld that allows you to play Playstation when your wife is watching the Real Housewives. This is similar in size to his Xbox 360 WVI but the case shape and appearance are a big step up (not that we disliked that one). We’ve embedded a video tour of the device after the break.

Continue reading “PS3 Wireless Visual Interface”

Composite Video Output From Chumby

[bunnie] posted this pretty slick way of getting composite video out of a Chumby. The Chumby is an open source connectivity device that has already seen some decent hacking. This modification, done by [xobs] isn’t too difficult. It only requires patching into some pads on the motherboard and loading a custom kernel to support the external output.

Reverse Engineering Off-brand Media Players

[Marcan] picked up this device on the cheap and is working to reverse engineer the controller. This media player is an off-brand Chinese model that can be had for the low-low price of $33.97 with free shipping. That’s worth it just to scavenge the parts for other projects, but the challenge here is to hack the controller because a datasheet was never produced for it. Warm up your logic analyzer, check out the wiki, and you can be pounding away at this ARM926EJ-S based system in no time.

The call to arms comes from [Marcan’s] blog. You may remember him as the guy who is working to solidify iPhone sync in Linux or… what else did he do?  Oh yeah, he had this little project called the Wii Homebrew Channel a while ago. Get involved and you can learn from some folks who really know what they’re doing.

[Thanks Mr. Seeker]