Teaching A Computer To Play Mario… Seemingly Through Voodoo

Some people know [Tom Murphy] as [Dr. Tom Murphy VII Ph.D.] and this hack makes it obvious that he earned those accolades. He decided to see if he could teach a computer to win at Super Mario Bros. But he went about it in a way that we’d bet is different that 99.9% of readers would first think of. The game doesn’t care about Mario, power-ups, or really even about enemies. It’s simply looking at the metrics which indicate you’re doing well at the game, namely score and world/level.

The link above includes his whitepaper, but we think you’ll want to watch the 16-minute video (after the break) before trying to tackle that. In the clip he explains the process in laymen’s terms which so far is the only part we really understand (hence the reference to voodoo in the title). His program uses heuristics to assemble a set of evolving controller inputs to drive the scores ever higher. In other words, instead of following in the footstep of Minesweeper solvers or Bejeweled Blitz bots which play as a human would by observing the game space, his software plays the game over and over, learning what combinations of controller inputs result in success and which do not. The image to the right is a graph of it’s learning progress. Makes total sense, huh?

Continue reading “Teaching A Computer To Play Mario… Seemingly Through Voodoo”

SqueezeBerry: A Raspberri Pi Powered Squeezebox Appliance

squeezeberry

We like the look which [Emmanuel] achieved with his Raspberry Pi based Squeezebox client. It’s got that minimalist slant that makes it seem like a commercial product at first glance. But one more look at the speakers without grates, the character LCD, and the utilitarian buttons, knobs, and switches tips us off that it’s filled with the hardware we know and love.

Since Logitech announced that it was terminating the Squeezebox line we’ve seen several projects which take up the torch. We’ve seen the RPi used as a Squeezebox server and several embedded Linux systems used as clients. This follows in the footsteps of the latter. The RPi is running Raspbian with the squeezelite package handling the bits necessary to talk to his server. The controls on the front include a power switch, rotary encoder and button for navigating the menus, and a potentiometer to adjust the HD44780 LCD screen’s contrast. The speakers are a set of amplified PC speakers that were liberated from their cases and mounted inside of the wooden box that makes up the enclosure. The in-progress shots of that case look pretty rough, but some sanding and painting really pulled everything together. As you would expect, we’ve embedded the demo video after the jump.

Continue reading “SqueezeBerry: A Raspberri Pi Powered Squeezebox Appliance”

Working 3D Printed Stepper Motor

Stepper Small 1

Most 3D printers use stepper motors to control the movement of the extruder head. If you could actually print those motors it would be one more big step toward self-replicating hardware. Now obviously [Chris Hawkins’] working 3d printed stepper motor wasn’t built 100% through 3D printing, but the majority of the parts were. All that he had to add was the electronic driver pieces, magnets, wire, and a few nails.

The coils are made up of nails wrapped in magnet wire. The rotor is a 3D printed framework which accepts neodymium rare earth magnets. The axle is pointed which reduces the friction where it meets the cone-shaped support on either side of the frame. The IC on the upper right is a transistor array that facilitates switching the 20V driving the coils. The board on the lower right is a Digispark, which is an ATtiny85 breakout board that includes a USB edge connector for programming and a linear regulator which is how he gets away with feeding 20V as the source.

Don’t miss the demo video after the break where you can see the motor stepping 7.5 degrees at a time.

Continue reading “Working 3D Printed Stepper Motor”

Network-controlled Fireworks Launcher

rpi-fireworks-launcher

[Thomas] and his friends wanted to ring in the new year by setting off some fireworks. To keep a safe distance and have a little fun they built this network controller launcher (translated).

the image on the left shows the build in its unused and pristine state. But by the end of the celebration it look a bit melted and burnt. Still, for the first revision of the system it ended up working pretty well.

We’ve seen several remote fireworks launchers that burn up resistors to light the fuses. But this system is much more reusable. The image on the right shows the heating elements which light the fuses. Younger readers might have no idea what they’re looking at, but every automobile used to come with at least one of these electric cigarette lighters. Just drive 12V through them and they get burning hot relatively quickly. That’s where the car battery on the base comes into play. It is connected to the lighters using some mechanical relays.

In the food container attached to the side of the launcher you’ll find a Raspberry Pi which provides the web connection for the system. [Thomas] wrote code which uses a webpage with some bomb icons as buttons. Check out the video after the break to see him demonstrate how fast one of these lighters will glow red after pressing a button on his smart phone.

Continue reading “Network-controlled Fireworks Launcher”

Generating Electricity From Alcohol

thermoelectric-generator-lamp

Here’s a thermoelectric generator which [x2Jiggy] built. The concept uses heat from a flame, biased against cooler temperatures produced by that huge heat sink making up the top portion of the build to produce electricity via the Peltier effect.

The build is passively cooled, using a sync assembly that takes advantage of heat pipes to help increase the heat dissipation. A nearly flat heat sink makes up the mounting surface for the hot side, which faces down toward a flame driving the generator. [x2Jiggy] started the project by using a can, wick, and olive oil as the heat source. He managed to get about 2V out of the system with this method. What you see here is the second version. It swaps out the olive oil lamp for an alcohol stove. The cans with holes punched in them act as a wind screen while also providing a stable base. This rendition produces about 3V, but it doesn’t sound like there are any precise measurements of what it can do under load.

Horribly Complicated Electric Guitar Keyboard

the-email-gutar

Gutarist, hacker, and mustache enthusiast [David Neevel] brought together way too many pieces of hardware in order to use his electric guitar as a computer keyboard.

So let’s dig into the house of cards he built for the project. It starts off with the guitar which has been fitted with an additional pickup to interface with a Roland GR-33 synthesizer pedal. That outputs a MIDI signal, which many hackers would have connected to the computer and parsed with a simple script. But not [David], he connected it to an Arduino via an optisolator. Well that’s not too ridiculous, right? Don’t you think he’ll just parse the MIDI signals and push them to the computer via the Arduino’s USB port? Wrong! He translates the MIDI signals into combinations for a big relay board which is emulating the key matrix of an old USB keyboard. But as you can see in the demo video after the jump it works quite well.

If you’re more of the drumming sort there’s an electric drum set version of this hack too.

Continue reading “Horribly Complicated Electric Guitar Keyboard”

Jeep Wrangler Gets Pressurized Water Right Out Of The Bumper

[Ed] got pretty creative with a hack that adds a pressurized water tap to his Jeep Wrangler. The tap on the rear passenger bumper now lets him hose off the vehicle after mudding, rinse his SCUBA gear after a dive, and just generally comes in handy.

If you want running water you’ve got to have a place to put it. This is actually what sparked the idea for the project. [Ed] noticed that the bumper was hollow and had some drain holes on the bottom. After plugging those and adding a fill hole to the top he found that he had a reservoir for about seven gallons. To get the water out he added a pump deigned to be used on an RV. It’s got features that make it work perfectly for this application: it runs off of battery voltage, it will turn on and off automatically when the tap is opened based on water pressure, and it will shut itself off if the reservoir runs dry. He designed a bezel to give the spigot a professional look. Just out of frame in the image above is an attachment for pressurized air. His next planned project for the Jeep is to add an air compressor.

After the break you can see a demo of the installed system, as well as a water pump test.

Continue reading “Jeep Wrangler Gets Pressurized Water Right Out Of The Bumper”