Arduino is a great microncontroller package for entry-level electronics tinkerers, but once you've got your sea legs, cheaper DIY microcontrollers used to build anything from grow-lights to irrigation systems are what you might reach for next

Arduino Duemilanove:  Adafruit Industries
The Arduino platform is doing something amazing: bringing hardware development to the masses. It's a sweet little system, with a built-in hardware programmer, simplified programming language, and lively user base that offers plenty of sample code and assistance in the online forums. While this fully assembled solution is a good way to get your feet wet, there are a lot of good reasons to just buy an off-the-shelf processor, make your own circuit board and write in a low level language like C. It can be cheaper, quicker and easier to debug. Here, check out some of the projects I've made and how I pay for my hobby, as well as my hardware setup.

Evil Mad Science Menorah on a Chip:  Evil Mad Science Shop

What Do the Pros Use?

I'm not the only one who knows there are times to leave Arduino behind. Adafruit Industries and Evil Mad Scientist Laboratories are arguably the leaders of the DIY electronics revolution. Look closely at their products and you will often find a humble AVR micocontroller instead a full-blown Arduino. I personally love a business card on which you can mount a microcontroller and start developing firmware. You are doing something right when you can sell your business card for $4.75. Adafruit sells an inexpensive persistence of vision kit for bike wheels that allows a single row of LEDs to show images or spell out text. Using Arduino for such a project would be overkill. Here are the two scenarios in which I reach for an AVR rather than an Arduino.

Spoke POV Microcontroller based Persistence of Vision:  Adafruit Industries

To Save Money, Make Money

Arduinos generally go for $15 to $60 each. This is affordable for one-off tinkering, but it doesn't scale well. I've built 10-unit runs of simple projects using raw microcontrollers and custom circuit boards for 90 percent less than the price of a single Arduino. Among them are a temperature display for my veggie powered car, intelligent irrigation controllers for the yard, even grow lights for plants that pulse LEDs.

Super Efficient LED Growlight:  Mikey Sklar

These projects are also physically smaller than most Arduinos. By shrinking the design and keeping costs low, it's easier to sell your homemade invention and turn a profit. I've actually been able to pay for my electronics habit by building a few extra units and selling them online.

For Easy Debugging

Most Arduino users debug their code by sprinkling print statements into the code then watching the output in a serial terminal. This is an effective way to find out where the software is misbehaving, but it's time consuming. Professional hardware developers use in-circuit emulators (ICE), which allow the user to see the values of each variable and step through the code with a debugger as it executes on the processor. These ICE-based systems massively speed up hardware development time.

My Setup:

This hardware programmer has ICE capability and uses the AVR JTAG MK-I protocol. In layman's terms, that means I can program old AVR chips with a 10-pin connector and debug over the same connection. No need to set up an additional serial connection and litter the code with print statements to see what's going on. Once the code is written and the sensors/actuators are working properly, I design a circuit board and order custom printing for at least 10 boards. I can typically develop and build a new item to sell online in less than a week.

Tell me about your development setup in the comments.

AVR based hardware development:  Mikey Sklar

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!

5 Comments

OK... I go to the Adafruit site often and have contemplated buying a couple of their kits for my own personal fun factor. But I have always wanted to understand how circuitry and the likes work from the ground up. I'm too busy too go back to school and learn this, and I haven't found much help on the internet. Maybe I've overlooked something but if you have any recommendations for electronics and circuitry(for dummies basically[and don't recommend the book if it exists]), I know I could turn that information into a fun pastime and with my computer background I can think of plenty of things I want to do...
*~amnite~*

I recommend you "The art of electronics" book. It's really big (over 1k pages) but very in-depth. THE best way is just to find some local hobbyist and ask him about those parts which you just cannot understand. I'm now in the same position as you. With computer background some things are just harder (I've burned one at89s2051 yesterday because of one misunderstanding, too silly to explain) because some concepts are inappropriate in electronics.

amnite: I say go for the Adafruit kits just to get started. Maybe even experiment with a Arduino. While I think it is important to create a understanding of electronics from the ground up it is not necessary to start with a advanced setup that I am promoting in this story.

The art of electronics is a amazing book, but I have to disagree about it being a "for dummies" sort of read. That book dives deeply into theory and will put you to sleep by page 27. It is good for reference, but you can start at more DIY level with a book like Forrest M. Mim's: "Getting Started with Electronics".

http://www.radioshack.com/product/index.jsp?productId=3433933

I program a PSP.

Oh, and UMPCs

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