bootloading an ATMega328 with an Arduino

Awesome! Arduino finally released a tutorial on how to bootload a chip using an Arduino board.

There have been several hacks to do this, but now they have released code to do it legit style!

The tutorial can be found here.  I played around with the setup, and successfully did it by inserting my blank chip into another an Arduino, and used a second Arduino with their code uploaded to bootload the firmware.  I discovered: <strong>1.  This is a feature available only with Arduino0018 (the latest version of the IDE).  and cannot use an ATMega168 as the chip performing the bootload.  It must be a Duemilanove with a 328 on board.</strong>

I then did it with a blank chip in a breadboard with a barebones circuit around it, and an Arduino board uploading to it.  Here’s a really blurry, really anticlimactic video of the breadboard setup doing it’s thing.  You can see once the bootloading has completed, the chip is no longer blank and begins flashing LED13.

Perfboard Hackduino Instructable!

Finally! step by step instructions on how to fabricate your own $8 hackduino on perfboard! Never again will you need to dismantle a project just to reuse an Arduino because you can’t afford the $30!

Make your Arduino circuit completely 100% custom. Add LEDs, an opAmp, or any external circuit right on the board! Half the size, and less than 1/3 of the price, this is something everyone who is serious about prototyping and installing with Arduino needs to know how to do.

Here’s the instructable, but maybe you should just check it out at instructables, because the embedding is not fantastic.

Perfboard Hackduino (Arduino-compatible circuit)More DIY How To Projects

heartbeat-controlled game of life hoodie

I built a custom circuit around an ATMega168 w/Arduino bootloader.  It came out great and made it on to a few blogs!  I used my circuit to control Adafruit’s Game of Life kit, which was embedded into a hoodie (I didn’t use her PCB, just her chip). Check out the circuit with rollover info –

completed GoL + EKG Hoodie circuit

First Wear!

Read more about the project on my personal blog.

hackduinos in Spatialized Umbrella v03

Last month I was invited to exhibit my spatialized umbrella project at the pluto festival in Opwijk, Belgium.  It was an amazing experience, you can read/see/hear more about my journey here.  They asked me to build 5 umbrellas, which i did, and brought along my first prototype, making it 6 total.

For the 5 new ones, i of course soldered up 5 new hackduinos using really nice perf board that was sized and shaped PERFECTLY for this application.  I got them in China when i was there this summer, and i can’t believe i didn’t buy more.  I intended to write up an instructables for the umbrellas, so anyone could build their own, but of course i was super rushed and didn’t have time to do it as i made them.  Perhaps I will work retroactively and make one, but for now you will have to deal with these pictures of my latest incarnation of the hackduino.

HackDuino in SOBEaR :: the responsible robot bartender


Finally, my finalized prototype of SOBEaR, the responsible robot bartender.

SOBEaR is a robot friend for anyone who does not know their own limits, or has problems controlling themselves.
When you press the “breathe + pour” button on his right foot, the status light goes solid, and the user breathes into SOBEaR’s face. You can see the alcohol sensor above the bowtie, under his chin. Your current blood alcohol content (BAC) is then shown a scale from 1 – 6 with green, yellow, and red LEDs in SOBEaR’s chest. Depending on how drunk you are (or aren’t) SOBEaR will pour you a drink appropriate for your current state. In the video below, SOBEaR is pouring cranberry vodkas for my user tester. Two servos hold the alcohol and the mixer, and with the SoftwareServo library for arduino, programming this aspect was simple.

For many obvious reasons, I used a MapDuino which is an ATmega168 chip soldered into a custom PCB circuit (started with perfboard from radiocrack) for the brains of this robot. The alcohol sensor was super easy to implement, got it from sparkfun via my computation studio.

Read the rest of this entry »

Morning Monster


The Morning Monster is a plush electronic alarm clock. He has all of the normal alarm functions, set time, set alarm, snooze, etc. However, what makes him a monster is his ability to shine the sun on your face when the alarm goes off by opening the blinds. The blinds are also manually controlled my moving his left arm up and down and he will never over-crank them!

The code implements Rob Faludi’s open source Arduino clock project, and he made a post on his blog. The wireless controller uses a mapduino circuit.

The video gives an explanation and demonstration of how it works.

Squaremin – with the MapDuino

Squaremin Header

This battery powered electronic musical instrument is a descendant of the theremin and can be played without contact from the musician. This small instrument contains two infared (IR) sensors that measure proximity. One sensor controls the note, while the other controls the octave that is played through the speaker in the front. The tone is reflected by one of seven colors that illuminates the center area and highlights a small indicator located on the top panel. Check out the video.

Theremin Style Instrument from Nick Hardeman on Vimeo.

I have posted the source code, some videos and pics as well, check out the original post.

MapDuino in Spatialized Umbrella v01

Last week I posted my project, the Spatialized Umbrella v01. 5 speakers and LEDs are mounted inside of the umbrella, around the users’ head, allowing for sound and light spatialization. The ‘raindrop’ samples play in a loop, each speaker playing their own unique raindrop. The LEDs light up the speaker playing at that moment. The tempo of the loop is controlled by a long-range Sharp Infrared range finder. The closer an object is to you, the faster the loop plays. If an object is close enough and a threshold is reached, a lightning sequence is triggered. Best part: COMPLETELY SAFE FOR USE IN THE RAIN.

I absolutely could not fit an entire Arduino in the canopy of the umbrella, especially because I need it to be able to close if I wanted this project to be viable at all. This (as well as cost) was the reason I chose to use a MapDuino for this application. Here are some images, in this form, I soldered a 28-pin IC socket to the PCB (bare, from radioshack) as well as the rest of the circuit, completely contained on the one board measuring less than half the size of a full Arduino board.

MapDuino v01

About one week ago, the very first version of the MapDuino (read: Remapped Arduino) was put together.  Fully functional, fully breadboarded, fully efficient, and fully CHEAPER. Here I’ve uploaded code that takes data from a SharpIR rangefinder and fades R,G, and B values of a tri-color LED.  more info soon…