A Low Cost Arduino FPGA Shield

[technolomaniac] is kicking butt over at Hackaday Projects. He’s creating a low cost Arduino based FPGA shield. We’ve seen this pairing before, but never with a bill of materials in the $25 to $30 range. [technolomaniac’s] FPGA of choice is a Xilinx Spartan 6. He’s also including SDRAM, as well as an SPI Flash for configuration. Even though the Spartan 6 LX9 is a relatively small FPGA, it can pack enough punch that the Arduino almost becomes a peripheral. The main interconnect between the two will be the Arduino’s ability to program the Spartan via SPI. Thanks to the shared I/O pins though, the sky is the limit for parallel workflow.

[technolomaniac] spent quite a bit of time on his decoupling schematic. Even on a relatively small FPGA power decoupling is a big issue, especially when high speed signals come into play. Thankfully Xilinx provides guides for this task. We have to mention the two excellent videos [technolomaniac] created to explain his design. Documenting a project doesn’t have to be hours of endless writing. Sometimes it’s just easier to run a screen capture utility and click record. As of this writing, the schematic has just been overhauled, and [technolomaniac] is looking for feedback before he enters the all important layout stage. The design is up on his github repository in Altium format. Due to its high cost, Altium isn’t our first pick for Open Hardware designs. There are free viewers available, but [technolomaniac] makes it simple by putting up his schematic in PDF format (PDF link). Why not head over to projects and help him out?

Continue reading “A Low Cost Arduino FPGA Shield”

Computers Playing Flappy Bird. Skynet Imminent. Humans Flapping Arms.

flappy-double

After viral popularity, developer rage quits, and crazy eBay auctions, the world at large is just about done with Flappy Bird. Here at Hackaday, we can’t let it go without showcasing two more hacks. The first is the one that we’ve all been waiting for: a robot that will play the damn game for us. Your eyes don’t deceive you in that title image. The Flappy Bird bot is up to 147 points and going strong. [Shi Xuekun] and [Liu Yang], two hackers from China, have taken full responsibility for this hack. They used OpenCV with a webcam on Ubuntu to determine the position of both the bird and the pipes. Once positions are known, the computer calculates the next move. When it’s time to flap, a signal is sent to an Arduino Mega 2560. The genius of this hack is the actuator. Most servos or motors would have been too slow for this application. [Shi] and [Liu] used the Arduino and a motor driver to activate a hard drive voice coil. The voice coil was fast enough to touch the screen at exactly the right time, but not so powerful as to smash their tablet.

If you would like to make flapping a bit more of a physical affair, [Jérémie] created Flappy Bird with Kinect. He wrote a quick Processing sketch which uses the Microsoft Kinect to look for humans flapping their arms. If flapping is detected, a command is sent to an Android tablet. [Jérémie] initially wanted to use Android Debug Bridge (ADB) to send the touch commands, but found it was too laggy for this sort of hardcore gaming. The workaround is to use a serial connected Arduino as a mouse. The Processing sketch sends a ‘#’ to the Arduino via serial. The Arduino then sends a mouse click to the computer, which is running  hidclient.  Hidclient finally sends Bluetooth mouse clicks to the tablet. Admittedly, this is a bit of a Rube Goldberg approach, but it does add an Arduino to a Flappy Bird hack, which we think is a perfect pairing.

Continue reading “Computers Playing Flappy Bird. Skynet Imminent. Humans Flapping Arms.”

Gamebuino: A Handheld Arduino Gaming Console Ready For Prime Time

[Rodot] wrote in to tell us about the Gamebuino, a very nicely designed and easily reproducible version of his handheld Arduino gaming console. We originally featured [Rodot’s] Arduino based gaming console over a year ago.

With the Gamebuino, you too can build your own games and gaming hardware around the Arduino. While there is a lot of information currently missing from the site’s Wiki, such as the layout and game code, [Rodot] plans on making everything open source. The console includes a rechargeable lithium battery, a micro SD card, and I2C expansion connectors. This is one project to keep an eye (and two hands) on, especially since a full game library is going to be provided, letting you easily create your own games. See what the console can do in the demo video after the break.

It would be amazing so see some old Game Boy games ported to run on the Arduino, or maybe one of our readers can make an Game Boy emulator for the Arduino!
Continue reading “Gamebuino: A Handheld Arduino Gaming Console Ready For Prime Time”

We Salute The Television Tube Flag

From [Gijs] comes Beeldbuis Vlag Tijsdlijn, or television tube flag (Translated). We’re not up on our Dutch, but it appears that [Gijs] and friends have created a television tube which waves much like a flag in response to airflow from a fan.  The effect is pretty darn amazing, and that’s putting it mildly. To create this hack, [Gijs] built a modified Wobbulator. The Wobbulator is an early video synthesizer which used added steering coils to modify the operation of a standard TV tube. When excited, the coils would deflect the tube’s electron beam, causing some rather trippy images to appear on-screen. (Yes, here at Hackaday “trippy” is a scientific term).

[Gijs] wanted his screen to be “waved” by a fan, just like a flag would wave. To do this he used an anemometer made of ping-pong ball halves. The anemometer spins up a DC motor from a CD-ROM drive. In this application, the motor acts as a generator, creating a DC voltage. An ATmega328 running the Arduino code reads the voltage from the motor. If the anemometer is spinning, the Arduino then outputs a sinusoidal value. The Arduino’s output is amplified and applied to the coil on the CRT. A network of power resistors ensures the amplifier is correctly loaded. The results speak for themselves. In the video after the break, the tube flag is displaying a slide show of photographs of its construction. As an added hack, [Gijs] used an Arduino Leonardo as a USB keyboard. When the anemometer spins, the primary ATmega328 sends a signal to the Leonardo, which then emulates a push of the arrow keys on the host computer. This lets the tube flag advance its own images. Very cool work indeed!

Continue reading “We Salute The Television Tube Flag”

LuxBlaster: Blast A Beam Of Light At The Most Intense Light Source

HighBeams

[Hazim] wrote in to tell us about his project that teaches inconsiderate drivers a lesson! Well, theoretically. The LuxBlaster is a spot light which points towards the most intense light source.

The idea is that you can blast drivers who do not turn their high-beams off with a reverse high-beam of your own. It is very important to note that this should never be used, as [Hazim] also clearly states. While this project is meant to prove that it can be done (a “what if”) project, it has two components that are very well done and can easily be used in different projects: the Arduino controlled spotlight and the light intensity tracker.

What would you use an Arduino controlled spotlight for? Smart lighting? What about a light source tracker? Let us know in the comments.

Continue reading “LuxBlaster: Blast A Beam Of Light At The Most Intense Light Source”

An Arduino Programmable Load

Having a big block of hot to dump current into is a very useful thing to have if you’re testing batteries, power supplies, high power LEDs, electroplating, or any thing else that would normally require a huge resistor. [Jakub] found himself in need of an electronic load, and instead of a transistor and a pot, decided to make something more automatic: a programmable load built around an Arduino shield.

The idea behind this load is pretty simple: connect a device to a FET and shunt resistor to measure current. Drive the gate of the FET with an op-amp that maintains either constant current or constant voltage. Control everything with a DAC, and you have a programmable load controlled by an Arduino.

With such a small form factor, getting rid of all that heat was bound to be a problem. For this, [Jakub] is using a 50×50 mm BGA style heat sink with a 5V fan. If it’s good enough for a big CPU, it should be able to handle dumping 70 Watts into a FET. There’s also a conservative application of thermal paste and a very small thermistor underneath the FET that’s able to be read by the Arduino. It might slowly heat up your room, but it’s not going to catch fire.

With the Arduino sketches [Jakub] wrote for his load he was able to characterize a pair of Idea batteries and figure out how much charge a three-year-old recyclable battery had. It’s a great piece of work, and if [Jakub] is willing to go through the hassle of a Kickstarter, it would make a fine crowdfunded product.

Arduino Gets Fowl With Flappy Bit

flappy-bit

We have to swallow our pride and hand it to [Dan200]. He may have finally found an application that everyone can agree is a perfect fit for Arduino. Flappy Bit is [Dan’s] Arduino Uno based Flappy Bird clone. [Dan] is a software guy at heart, but he’s taken a peck at electronics of late. Flappy Bit was just a fun side project for him to learn how to program the Arduino. The hardware consists of an 8×8 LED matrix, current limiting resistors, and a single button.

[Dan’s] implementation isn’t 100% faithful to the iOS/Android original. Rather than simply parrot Flappy Bird, he changed it up a bit. The user presses and holds the button to climb, and releases it to descend. This seems to make the game a bit more forgiving. We also won’t be missing all the lovely sound effects from Flappy Bird.  While there is less flapping in Flappy Bit, it does make us more nostalgic for those  tabletop LCD/LED games we played in the 80’s and can’t stop crowing about today.

[Dan] has released the full source code to the project (Pastebin link), and there is more information available on his reddit thread. Give flappy bit a try. You won’t egret it!

Continue reading “Arduino Gets Fowl With Flappy Bit”