Space Invaders Played On A 16×2 Character Display

This Space Invaders game does more with less. [Rjk79] managed to make a video game using a two-line character display. The game consists of a wave of invaders on the top line, with the defender cannon on the bottom. The invader isn’t just stationary, but randomly moves to the left and the right. The image above captured a little bit of motion blur from the defender moving into position before firing on the enemy.

An Arduino board controls the 16×2 HD44780 character display. The game also includes sounds generated by the piezo buzzer seen on the breadboard. All the way to the right you can see the Wii Nunchuk breakout board which provides directional control and the firing trigger. If you want to recreate this one for yourself [Rjk79] is sharing the source code on Pastebin. There’s also a demo video found after the jump.

If you don’t have a character LCD on hand you might try this other Space Invaders clone that uses an 8×8 led matrix.

Continue reading “Space Invaders Played On A 16×2 Character Display”

Music Challenge Has You Flapping Your Wrist To Make Sounds

glove-based-music-challenge

This glove controller let you play a musical game. The challenge is to perform the correct wrist motions at the right tempo to play the intro to the song Where is my Mind by the Pixies. This is demonstrated in the video clip after the break.

We often see flex sensors used on the fingers of glove projects, but this one does it all with an accelerometer. That module, along with the Piezo buzzer used for playback are affixed to the small breadboard on the back side of his hand. Rubber bands connect the Arduino to his third and forth fingers. The tempo and rhythm are pre-programmed but the tone generated is based on the gravity reading at the start of each note. If you don’t have your hand positioned correctly the wrong tone will be played.

The code was published in link at the top. It would be fun to see this altered as a hacked Simon Says game.

Continue reading “Music Challenge Has You Flapping Your Wrist To Make Sounds”

Barometer Tells You To Take Your Bike Or The Train

bike

Before beginning his day, [Richard] needs to decide whether he should ride his bike to work or take the London tube. All the information to make that decision is available on the Internet – the current weather report, and the status of the subway lines and stations he’d be taking. The problem, though, is all these pieces of information are spread out in multiple places. [Richard]’s solution to this was to make a bicycle barometer that pulls data from these places and makes the decision to ride a bike or the tube for him.

[Richard]’s barometer is built around a nanode and an old clock he found at a flea market. The nanode queries the UK’s weather bureau and the London underground’s line and station status. All the variables under consideration are weighted; if it’s snowing, the output is much more likely to decide on the tube than if there was a slight drizzle.

It’s a really cool build that certainly makes a great use of the publicly accessible APIs made available by the London underground. You can check out a video of the barometer after the break.

Continue reading “Barometer Tells You To Take Your Bike Or The Train”

Siri Controlled Arduino Using Ruby

siri-proxy-ruby-arduino

This snippet of Hello World code lets [Nico Ritschel] turn the Pin 13 LED on his Arduino on and off using Siri, the voice-activated helper built into iPhones. The trick here is using the Ruby programming language to get Siri Proxy talking to Arduino via the USB connection. He calls the project siriproxy-arduino.

On one end of the hack resides SiriProxy, a package not approved by Apple which is capable of intercepting the Siri messages headed for Apple’s own servers. The messages are still relayed, but a copy of each is available for [Nico’s] own uses. On the other side of things he’s building on the work of [Austinbv’s] dino gem; a Ruby package that facilitates control of the Arduino. It includes a sketch that is uploaded to the Arduino board, opening up a Ruby API. The collection of code seen above defines the pin with the LED connected and then listens for a specific Siri commands to actuate it.

Take a look at [Nico’s] explanation of the module in the video after the break.

Continue reading “Siri Controlled Arduino Using Ruby”

Getting An Arduino To Control A Wireless Outlet

[Reza’s] methodical investigation of this remote controlled outlet let him patch in with an Arduino using a 433 MHz transmitter. This is a single-device unit, but the techniques used here should allow you to take control of wireless rigs that have multiple modules to control many devices.

We’ve seen some folks at our local hackerspace try to patch into the remote control itself. That used some type of weird button scanning (not just connecting a pin to ground or voltage) and didn’t pan out. [Reza] doesn’t even crack open the case of either of the units seen above. Instead, he goes straight for a wireless receiver he had on hand, using a logic analyzer to capture the signals coming from the remote.

Once he had a good snapshot of the signals sent when pressing the on or off button of the remote he set out to replicate it in his Arduino code. His function called setStateWithDelay takes three parameters: the transmit pin, the level (high or low), and a number of milliseconds to delay. Each signal calls this function many times, but working the bugs out is pretty easy; just capture the signal with the logic sniffer and compare to the stock remote.

7x7x7 LED Cube Driven By Arduino Mega

Sure, the physical build itself looks great, but it’s what [Michael] did with the firmware that impresses us the most. He’s using an Arduino Mega to drive the 7x7x7 cube and manages to squeeze out what he calls 142 frames per second with the setup. We’re not sure FPS is the right measurement, as we believe it’s the multiplexing rate that he’s trying to describle. It takes 144 uS to scan the entire matrix once. He performs the scan seven times per frame and the result is a flicker-free appearance, even to cameras.

You can see a video demonstration after the break. Since [Michael] emailed us directly with more details about the build we’ve pasted those below the fold as well.

If you’re looking for a more entry-level Arduino LED cube this 4x4x4 project is just the thing.

Continue reading “7x7x7 LED Cube Driven By Arduino Mega”

Stocker Monitors The Markets

stocker-monitors-the-market

If you can’t help but spend the day checking in on your stock prices this ambient device can help you cope. It monitors how the trading is going and illuminates an LED as feedback. Here the Apple stock is trading up so the light is green. The video after the break shows other stocks trading down, causing it to switch to red.

An Arduino interfaces with the custom application via USB. For now it looks like the two colors are all it’s capable of but we think there’s a lot more potential. Some creative coding could use factors like how much the stock has moved, trading volume, volatility, or a plethora of other data to give feedback. We could see a spectrum of colors (like on a temperature map) used to improve the level of feedback. And if the market really tanks there’s always the ability to add flashing!

The diffuser for the project is quite interesting to us. [Ali Reza Kohani] made it from a leftover scrap of acrylic. The bubbled surface was created with a heat gun before bending the sheet into an arc.

Continue reading “Stocker Monitors The Markets”