Playing snake with a TV remote

posted Sep 6th 2011 8:01am by
filed under: led hacks, misc hacks

[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.

Read the rest of this entry »

How-to: USB remote control receiver

posted Oct 30th 2008 6:34pm by
filed under: home entertainment hacks, how-to, peripherals hacks

Now that we listen to MP3s, and watch XVIDs or x264s, a computer is the entertainment center in at least one room of most homes. Unless you have a special HTPC, though, you’re probably stuck using the keyboard to pause, change the volume, and fast-forward through annoying Mythbusters recaps. PC remote control receivers range from ancient serial port designs (who has one?) to USB devices not supported by popular software. In this how-to we design a USB infrared receiver that imitates a common protocol supported by software for Windows, Linux, and Mac. We’ve got a full guide to the protocol plus schematics and a parts list.

Read the rest of this entry »




Control Media Center with programmable IR receiver

posted Sep 28th 2008 4:30pm by
filed under: home entertainment hacks, misc hacks

This IR receiver based on ATtiny13 microcontroller is used to control a Media Center box via a remote. The circuit is powered by 20 pin ATX connector pin 9 “+5VSB” because it is the only pin that is powered when the computer is off, or in standby. The receiver is programmed to accept the codes from the remote by holding down the switch while pressing the remote button. The circuit can use “Girder” or “PC remote control” as controlling software on the Media Center.

Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

Send us your hacks










     




Hacks

Resources