Playing Snake With A TV Remote

[vinod] sent in his replica of a Snake game, the game to play on old Nokia dumb phones.

The build is based on a PIC16F877 microcontroller just like previous Snake builds we’ve seen, but [vinod] didn’t use physical buttons in his build. Instead, he used a Philips infrared TV remote to control the game. The infrared controller only takes up one pin on the microcontroller, as opposed to the 4 pins of the easiest four button setup. [vinod] also threw in a simple one-transistor level converter so Snake can be played with a PC via RS-232. With the PIC code included in the build, it’s a great build that reminds us of a more civilized age.

The video of [vinod]’s snake game in action is posted after the break, but we noticed that the snake is allowed to ‘warp around’ the sides of the LED matrix. Some people might consider that cheating but that can be fixed by changing a few lines of code.

Continue reading “Playing Snake With A TV Remote”

Snake Bot Climbs Trees

While you are out enjoying your Labor Day festivities, keep an eye out for robot snakes in the trees. The CMU robotics lab has built a snake bot named Uncle Sam that can climb trees and poles. As you can see in the video after the break, the bot seems to have no problem at all scaling a tree. It wraps itself around the tree, then rotates down the center of its entire body. Once it has reached the top, it can take in the scenery. Though it is a little creepy looking, at least it isn’t in the water.

Continue reading “Snake Bot Climbs Trees”

Links Expanded: Snake On LED Matrix

[Yosh] came through with a link to the Snake playing LED matrix that he read about in our links post from yesterday. It seems that [Arty Fart] actually built three of these in green, yellow, and red. You can see him throw one together (an 8-10 hour job) in the video after the break. In addition to playing Snake the PIC 16F877A can also scroll messages, play a mean game of Tetris, and show a Pong screen saver on the 144 LED display. We love the clean build and the urge to make another LED matrix is becoming irresistible.

Now off to eBay for a good deal on a bulk LED order. Continue reading “Links Expanded: Snake On LED Matrix”

Hackaday Links: June 27, 2010

Precision CRT manufacture

Here’s a great video from Tektronix about building a precision cathode ray tube. The tube manufacture method was developed to use in oscilloscopes and we’d guess it dates back to the early 1960’s. [Thanks Bill]

Snake on an LED matrix

We would have done a full post o this beautifully built LED matrix but we just couldn’t find much information on it. For now, enjoy the video of the device playing the classic game of Snake. [Thanks Xdr]

Wire bundling

We’re not sure if this is brilliant or just snake oil. Here’s a method of bundling wires together by twisting them with an electric drill. We’ve always just used our hands but we’ve never really worked in any kind of volume either. [Thanks Kacper]

Arduino “python” Integration

vivarium

[Cyberspice] informs us she likes snakes. Hey, who doesn’t? She’ll soon be adopting a lovely ball python and wanted to keep close tabs on the sensitive creature’s environment. To that end she assembled a network-enabled vivarium monitoring system based on Adafruit’s Boarduino (a minimalist Arduino clone), a TMP36 analog temperature sensor, Saelig’s WIZ810MJ Ethernet interface, and a common LCD screen. The Arduino rig periodically issues updates to a web server, which can then generate informative graphs using a set of PHP scripts (what, no Python?).

Okay, so we could probably count on one hand the number of readers in need of fancy reptile monitoring and still have fingers left over. There are countless other applications where networked sensor monitoring of this sort is a frequent necessity, so the article could be a good starting point for your own projects. There’s lots of source code to work with, on both the Arduino and web server sides. And the parts list demonstrates serious frugality: the Boarduino, the generic LCD, and especially the Ethernet interface; even with the breadboard adapter, this unit is about half the cost of the usual Arduino Ethernet shield, leaving more funds available for the snake food budget!

AVGA: The AVR Based Video Game Platform

avrvideogame

We’ve seen our fair share of AVR projects, but this one’s pretty cool. AVGA is a color video game development platform based on the Atmel AVR family of microcontrollers. As seen in the picture above, one of the AVRs that the project uses is the popular ATMega168. There were several technical hurdles to using the AVRs to run color video games; one of the most difficult problems was figuring out a way to display detailed graphics from AVRs limited onboard RAM. Eventually, the developers figured out a way to display detailed graphics using a TILE-based driver. The TILE driver works by dividing the screen into X and Y coordinates, dividing the graphics into tiles. Then, when a graphic is needed it’s addressed from a reference table that’s stored in the AVR’s onboard RAM, allowing the bitmap graphic to be loaded from a game’s ROM. Currently, the only games available for the platform are a Super Mario clone, a Pacman clone, and a Snake clone. While there are only a few games available, the platform definitely looks promising. If anything, this project serves as a great example for what off the shelf microcontrollers are capable of.