The Hemp-Mote

hemp-mote-01

We’re sure that almost every one of our readers has been wondering why they can’t have a hemp covered Wiimote. Well, [Dhreck] got tired of waiting and made one himself. This isn’t just as simple as covering a Wiimote with hemp chord. Major modifications had to be made to keep it from getting too bulky. [Dhreck] whittled down most of the shell, then re formed it with modeling putty. After sanding that nice and smooth and applying a nice black paint job, he started the painstaking process of wrapping it in hemp.  It still works perfectly fine, but can fray if you are too hard on it. So, if you get your hands on some hemp, take it easy on your Wii.

Making A Cold Heat Soldering Iron

cold_heat

Cold Heat soldering irons are pretty cool. They heat up in seconds and cool down just as quickly. [photozz] shows us how we can make one from stuff we probably have sitting around right now. Cold Heat soldering irons work off of resistance, the tip material heats very quickly when electricity is passed through the two halves. Upon assessing what he had lying around, [photozz] realized that graphite would work much the same way.  He modified a regular soldering iron with a new two piece graphite tip, and powered it with an old pc power supply. The end result is quite nice, though it still needs some kind of temperature control.  You may recall seeing other electrical uses for graphite, such as making quick and dirty light.

Simulated Annealing

annealing

Here’s an update on our earlier post about genetic programming. Altered Qualia has posted a new implementation of [Ron Alsing]’s idea. It starts with 50 polygons and then randomly changes one parameter with each optimization step. If the the change results in fewer differences from the target image, it’s kept as the new best DNA. This search method is similar to simulated annealing. The image above is the result of 1500 good mutations out of 35900 possible. The implementation lets you choose any image, but smaller means the fitness calculation is faster. It’s written in JavaScript using the <canvas> environment. You’ll definitely get better performance using newer browser builds.

[Original image by R Stevens]

[via Waxy]

WordPress 2.7 Upgrade In One Line

wordpress

BadPoetry WordPress 2.7 has just been released and features a complete interface overhaul. Hack a Day runs on WordPress MU hosted by WordPress.com, so we got this update last week. We run standard WordPress.org on all of our personal blogs though. We recommend it because it’s free, has a massive userbase, and if you host it yourself, you can do whatever you want with it.

To make the upgrade process as simple as possible (and for the sheer rush of ‘rm -rf’), we use a one line command.

$ curl http://wordpress.org/latest.zip -o "wp.zip" && unzip wp.zip && rm -rf ./wordpress/wp-content/ && cp -r ./wordpress/* ~/www/

curl downloads the latest version from wordpress. unzip unpacks all of the files into a directory called ‘wordpress’. rm -rf removes everything in the ‘wp-content’ directory. Otherwise, you will overwrite your images, themes, and plugins. cp -r copies everything to your http document root, overwriting the previous install.

Naturally, you should back up your current install and database beforehand. We tend to use the one-liner with reckless abandon. If you’re wondering about the terseness, it was designed to fit inside the 140 character limit of Twitter.

[Thanks, Chris Finke]

Parts: 1-Wire Temperature Sensor (DS1822)

1wire

Download: buspirate.v0d.zip

Dallas/Maxim’s 1-Wire protocol is the most requested addition to the Bus Pirate.  We finally got some 1-Wire parts, and today we’ll demonstrate the DS1822 1-Wire digital thermometer. Grab the datasheet (PDF) and follow along.

This post is accompanied by release v.0d of the Bus Pirate firmware for hardware version 0. This includes the new 1-Wire protocol library, more configuration options, and other improvements.

Continue reading “Parts: 1-Wire Temperature Sensor (DS1822)” →

Edge-lit Holiday Cards

edgelit

Got 30 minutes for a holiday project and don’t want to get wrangled into some sort of decoupage disaster? Evil Mad Scientist Laboratories can show you just how easy it is to do edge lighting effects. Pictured above are three holiday cards constructed using scored plastic. You can use many different types of clear plastic for this, not just acrylic. The lighting is just an LED on a coincell. Black tape is used to prevent light leaking from the edges. The red and green version above is two stacked layers. This looks like something fun to scale up for a larger project or just to kill some time.

GigaPixel Panorama

gigapixel

[Ewout] sent us some info on this Automated Gigapixel Panorama Acquisition system.  The system automates the process of taking the large amounts of images required to do gigapixel panoramics. You tell it key information, like what lens, and what percent overlap you want and the system will calculate how many images it will take, as well as the gigapixel count. The results are quite stunning, no visible seams with fantastic detail.  Interestingly, this was created for a class in embedded system design (ECE4180) at Georgia Institute of Technology and so was our post earlier today on Digitally Assisted Billiards. Is Hack a Day part of the class curriculum? It should be.