Build It
Customize a circuit’s firmware and make your own personal weather forecast system

4Caster with Hacked Firmware Dave Prochnow

If you've ever wanted to learn how to hack a circuit's firmware, a great beginning point would be SparkFun Electronics. Many of the development, prototyping, and sensor products sold by SparkFun come equipped with a special programming interface. Even better, most of these products feature downloadable firmware. Therefore, with just a modest amount of effort, you can modify one of these products' firmware, reprogram the circuit, and create your own customized product.

You can add your name to a splash screen, develop a new product feature, or -- living life on the edge -- rewrite the whole shebang and make an entirely new product: the sky's the limit when hacking firmware. There is one very important caveat, though: if you don't know what you're doing when tinkering with firmware, you could destroy the product.

In this introduction to firmware hacking, let's try a simple modification. We'll reformat the output from the USB Weather Board v1 so that it can be meaningfully displayed on a serial-enabled 20x4 LCD.

In its stock configuration, the output from the USB Weather Board is a continuous string of numbers, like
#47.25,081.23,026.5,079.70,101723,76$i.

Not very friendly, is it? We'll modify the firmware so that the output is easier to comprehend. Something like:
1.Humidity=47.25% 2.Temp=81.23F 3.Press=101723Pa.

But wait; there's more. We'll also add an LCD for displaying this new output and a battery power supply, and wrap everything up in a handheld enclosure. The result is a portable, handheld personalized weather forecasting system. Or, as I've dubbed it: the 4Caster 1000.

Page 1 of 2 12next ›last »
Want to read more articles like this, plus tips and tricks, home hacks, DIY projects, and more? Subscribe to Popular Science and enter to win $5,000!

1 Comment

wow, that was really helpfull information

Andreas C.
--------------
www.upub.ro
www.emailextractor14.com

Popular Tags

Regular Features



Download Our iPhone App

Stay up to date on the latest news of the future of science and technology from your iPhone with full articles, images and offline viewing



Follow Us On Twitter

Featuring every article from the magazine and website, plus links from around the Web. Also see our PopSci DIY feed



Become a Fan On Facebook

Share links with friends, comment on stories and more


December 2009: Best of What's New

In our December issue, Popular Science names the 100 best innovations of the year: bombproof wallpaper, self-parking cars, the fastest helicopter, and 97 more. Plus inventor profiles and videos.

Check out the best of what's new here.

Popular Science Photo Pool


Share your photos in the Pop Sci pool at www.flickr.com!
tags_sprite.png
POP_embeddedForm_cover_May09.jpg

Events and Promotions