Squeezing Every Bit From An ATMega

While the ATMega328 is “mega” for a microcontroller, it’s still a fairly limited platform. It has plenty of I/O and working memory for most tasks, but this Battleship game that [thorlancaster328] has put together really stretches the capabilities of this tiny chip. Normally a Battleship game wouldn’t be that complicated, but this one has audio, an LED display, and can also play a fine rendition of Nyan Cat to boot, which really puts the Atmel chip through its paces.

The audio is played through a 512-byte buffer and an interrupt triggers the microcontroller when to fill the buffer while it works on the other processes. The 12×12 LED display is also fed through a shift register triggered by the same interrupt as the audio, and since the build uses so many shift registers the microcontroller can actually output four separate displays (two players, each with a dispaly for shots and one for ships). It will also eventually support a player-vs-computer mode for the battleship game, and also has a mode where it plays Nyan cat just to demonstrate its own capabilities.

We’re pretty impressed with the amount of work this small microcontroller is doing, largely thanks to code optimization from its creator [thorlancaster328]. If there’s enough interest he also says he will provide the source code too. Until then, be sure to check out this other way of pushing a small microcontroller to its limits.

Thanks to [Thinkerer] for the tip!

A Square Inch Of Nyan

Over on Hackaday.io, there’s an unofficial contest to cram as much electronics and awesome as possible into a single square inch of PCB. While the measurement system is logical, the Internet is not: it feeds on cats and is entertained by rainbows. [Radomir]’s project feeds into this bizarre fixation with the Nyan Board, a Pop Tart cat that poops rainbows, all the while playing bleeps and boops that would fit well in a Nintendo game.

[Radomir] built this square inch of twee for the square inch project, an unofficial contest to fit the coolest project on a 1×1 inch square PCB. Prizes are credits for the Hackaday Store and OSHPark. This entry uses an ATtiny85 microcontroller, a few resistors, LEDs,  and a buzzer to play the strange, syncopated Nyan theme song. Power is delivered over a colorful ribbon cable that emulates the rainbow tail of the Pop Tart cat.

This isn’t the only project in the Square Inch Project, or even the most blinky; there’s also a RRROYYYYgYgGGBgBPW LED, a square inch quadcopter, and a device that detects the world’s smallest bat. All very interesting projects, and we can’t wait to see all the entries finished.

Continue reading “A Square Inch Of Nyan”

Nyan Cat

Embroidered Nyan Cat Brings A Meme To The Real World

Have you ever come across an Internet meme and just thought to yourself, “I have to bring this into the physical world!” Well [0xb3nn] and [Knit Knit] did. They decided to take the classic nyan cat meme and bring it to life.

The frame is 24″ x 36″. Many hours went into the knitting process, but the result obviously turned out very well. The stars include 24 LED sequins to add a sparkling animation effect. These were sewn onto the back of the work using conductive thread. They are bright enough to shine through to the front where needed. These connect back to an Arduino Pro Mini 5V board.

The Arduino is also connected to a capacitive touch sensor. This allows the user to simply place their hand over the nyan cat image to start the animation. No need for physical buttons or switches to take away from the visual design. An Adafruit AudioFX sound board was used to play back a saved nyan cat theme song over a couple of speakers. The source code for this project is available on github. Be sure to watch the demo video below. Continue reading “Embroidered Nyan Cat Brings A Meme To The Real World”

Meme Themed Pinball Machine – Much Flipping, Y U No Win?!

Summoning 4chans, 9gags, Reddits and other denizens of easily-digested content, Liberty Games stripped apart a dilapidated “Baby Doll” pinball arcade machine and turned it into this meme-spouting monstrosity. A complete redo of the vinyl and graphics to sport dozens of familiar internet tropes was first, then they had Shapeways create internal scenery and finally some electronics were added to spice things up.

We have seen PINMAME-based digital machines but this took a different path. Pinball machines this old pre-date common transistors so they rely on electro-mechanicals for everything. This made hacking the machine challenging so the team intercepted most of the signals and tied them into a Raspberry Pi with a Pi-face interface board. A videoscreen was added to the scoreboard, triggering all manner of memey videos and sounds according to actions performed and unlocked on the screen.

If you yearn for expired pranks of years gone by and are bad at pinball, you are in luck. Losing the game gets you Rickrolled – over and over again. On the plus side, Nyan Cat rockets away to bonuses and even the Admiral himself warns you of impending danger.

We resisted the urge to write this article as a chain of one meme to the next, you will get plenty of that from the well-documented project conversion and the following video. Someone in the comments will probably make a list of all memes.

Continue reading “Meme Themed Pinball Machine – Much Flipping, Y U No Win?!”

Nyan Cat Hat Will Be The Hit Of The Party…. For About One Minute

Seriously, this Nyan Cat hat is the only part needed for a fantastic Halloween costume. It looks pretty good in this still image, but we dare you to watch the clip of it in action (embedded after the break) without letting a beaming grin creep onto your face. Everyone’s going to just love this… until it starts to get really annoying.

When switched on, the iconic meme rotates around the headgear, bobbing its head and tail as she sings the song of her people. There are also stars made of white LEDs that twinkle very brightly in the process. The presentation is quite good, but even better is seeing the build process. Luckily [Ben Katz] posted a series of detailed articles during the adventure. The mechanism responsible for driving the cat around the hat was laser cut from acrylic. It includes a large gear with teeth on the inside, which is interface by a continuously rotating servo motor with a much smaller gear. The head and tail bobbing are purely mechanical, using the revolving motion to turn a spindle as the cat makes its way around the brim.

Continue reading “Nyan Cat Hat Will Be The Hit Of The Party…. For About One Minute”

Nyan Cat: The PlayStation Game

We’d bet you didn’t know there was a Nyan Cat game for the original PlayStation. Well, there wasn’t one until very recently. This isn’t a title that has been licensed by Sony, and we bet you won’t spend hours playing such a thing. But the concept has let [Haunted] hone his development skills.

We’re not certain how he’s getting around the copy protection for PSX games, but we know there are a few different exploits out there. If you happen to have your own method playing homebrew games you can even download the bin/cue files to try this out for yourself.

After the break you can watch a demo clip of the game. It boots like normal until you hit a black screen with white text which displays a loading percentage. This is followed closely by the rainbow spewing feline pastry. The sound takes a minute to play but you can be sure it’s there. Currently there’s no scoring system but that’s in the works for a future revision.

Continue reading “Nyan Cat: The PlayStation Game”

Nyan Fax Brings The Celebrity Kitty To Your Office

Internet blocked at your office and feel like you’re just not getting your fix of Nyan Cat? Don’t worry, you can now use the fax machine to get your fix. [Tom Scott] put together the project to our delight, which will work best if you can find one of those fax machines that uses the continuous roll of paper. But as you can see above, individual sheets will work too. The best part is that Nyan Fax is live for callers from the UK and internationally!

The hack is using something called ‘fax polling’. It allows the sender to set up an on-demand server where any caller will be sent a queue of documents. In this case [Tom] crafted a Nyan Cat document that never ends… you’ll need to disconnect the phone line or pull the pug to stop the printing. See for yourself in the clip after the break. If you’re interested in setting up your own it can be done with the mgetty and sendfax packages on a Linux box.

Just in case you’re keeping score, [Tom Scott] is one of the guys behind the Webcycle.

Continue reading “Nyan Fax Brings The Celebrity Kitty To Your Office”