Categories
Uncategorized

Diavolino

Diavolino

Remember when I wrote about Cheap Arduinos? Well, if you do, maybe you remember the Diavolino.

The Diavolino is a damn cheap Arduino clone, coming in at about $13. (I say “about” because if you want some headers, or a battery pack, or a chip socket, it’ll run you another few bucks… but still, you can get away with just $13 for the base kit.)

Even though I said there was an “extremely detailed assembly guide” there were a few places where I got slightly confused, mainly just in the “power options” section. (I wasn’t even drinking when I put this kit together, unlike the last kit I built.) Since I got the Diavolino with the 3 x AA battery holder for $1, it was simple to just go with that option. Obviously you’ll need a FTDI USB-TTL cable to connect it to your computer to program it. Again, leaving out the on-board USB makes this kit nice and cheap. (I did get a socket for the chip, as I don’t like to solder chips directly into place.) My only real complaint is that, even though the board looks cool in red and black, it can be a little hard to read the type on the board to locate the correct pins. Then again, I tend to prototype in dimly lit rooms.

I got this kit put together in about 40 minutes. (In fact, I even made a time lapse video showing the assembly.) This seems like a pretty simple kit for a beginner. In fact, I could see the Diavolino being used as a kit put together in a class for people wanting to learn soldering and basic Arduino programming. (As long as you can send them home without an FTDI cable.)

The Diavolino appears to have been designed knowing that in being low cost, a few sacrifices had to be made, and I’m OK with that. If you know how you want to use it, it shouldn’t be an issue at all. (This one is destined for a robot.)

Categories
Uncategorized

Milwaukee Makerspace Grand Opening (Time Lapse)

Time Lapse Bot did managed to make it out to the Grand Opening at the Milwaukee Makerspace, though he was somewhat neglected when up against Egg-Bot and Drawbot

Can’t all the robots just get along!?

Categories
Uncategorized

Raster Eggs!

It’s almost Easter, and Easter is almost Raster, so here my friends, are a collection of Raster Eggs we made just for you.

This collection features such favorites as “Egg Egg”, “Rebel Alliance”, “Z2”, “dead egg”, “Sleeping Cat”, “Officer Egg”, “Pioneer Plaque”, “Lasers” and more!

But wait! You also get such favorites as “Yuri’s Night Egg”, “Open Hardware”, “Nutrition Facts”, “Cow”, “Emma” and more!

(P.S. Don’t tell anyone, but these Raster Eggs are actually Vector Eggs. We’re tricky like that.)

File Under: Egg-Bot

Categories
Uncategorized

Processing Audio

I got into Processing when I saw that it was a way to interface my desktop computer with an Arduino. Since then I’ve been exploring Processing more and seeing what it can do.

The latest excursion has been into audio, and I found a library called minim to play with. Download it, unzip it, and drop the ‘minim’ folder into your ‘libraries’ folder in your Processing folder, and you’re ready to go. Here’s my first experiment.

There’s an example for AudioInput which shows audio waveforms, so I grabbed the example and modified it slightly, I mainly twiddled the numbers a bit for a larger display.

Audio Waveform

Here’s the (slightly modified) code. (1280×800 being the screen size of my MacBook.)

/*
 * WavyLines.pde
 */

import ddf.minim.*;

Minim minim;
AudioInput in;

void setup()
{
  size(1280, 800, P3D);
  minim = new Minim(this);
  minim.debugOn();
  in = minim.getLineIn(Minim.STEREO, 1280);
}

void draw()
{
  background(0);
  stroke(0,255,0);
  // draw the waveforms
  for(int i = 0; i < in.bufferSize() - 1; i++)
  {
    line(i, 250 + in.left.get(i)*150, i+1, 250 + in.left.get(i+1)*150);
    line(i, 550 + in.right.get(i)*150, i+1, 550 + in.right.get(i+1)*150);
  }
}

void stop()
{
  // always close Minim audio classes when you are done with them
  in.close();
  minim.stop();
  super.stop();
}

This code (at least on Mac OS X) runs and expects the sound input to be the built-in mic on the MacBook. This is pretty fun, and my daughter (who plays the trumpet) had a good time making all sorts of strange noises and watching the waveforms that were generated. If you export it from Processing as an application, you can run it full screen with no menubar, etc.

While the mic input is fun, you can also build yourself a little audio visualizer that reacts to what audio your computer is playing. There’s a bit in the manual about Setting the System Mixers, but I just went the Soundflower route here.

Once you’ve got Soundflower installed, you can set up your audio routing…

Sound Out
Sound In

Here’s my sound output and sound input settings in System Preferences.

Fire up Soundflowerbed, and then choose a song in iTunes and our “WavyLines” application should respond appropriately.

Waveform

Here’s what you should get… well, depending on the audio playing. Maybe I can team up with the guys in the Handmade Music Group at the Milwaukee Makerspace and come up with some ways to enhance this into something even cooler.

Categories
Uncategorized

A Few Good Eggs…

A Few Good Eggs...

Some of our favorite eggs from the Milwaukee Makerspace Grand Opening last weekend… There’s a “Milwaukee Monkeyspace” egg, and even a VEGAN egg!

We gave away a lot of good ones, like the Rebel Alliance egg, but I’m sure we’ll be printing more very soon.