All posts by Windell Oskay

About Windell Oskay

Co-founder of Evil Mad Scientist Laboratories.

The Cult of LEGO

Cult of Lego Front Cover

No Starch Press recently sent us a review copy of their new book, The Cult of LEGO by John Baichtal and Joe Meno of Brick Journal.

It is not a book for kids. It is also not about LEGO. Nor is it really about the amazing things that people build out of LEGO (of which a great many are featured). Rather, it is about those people. The Cult of LEGO is a beautiful and substantial work, exploring the breadth of communities that have been grown around LEGO.

Cult of Lego - PCB Spacers

The book is heavy with photos, cleanly laid out, and expertly produced– solidly built like a LEGO brick, right down to the astronaut on the cover. Fine touches throughout– like the chapter numbers built from basic blocks, or the title page in the style of an old LEGO instruction guide (“304 interlocking pages”) –add to the charm. I suspect that anyone who has grown up with LEGO will genuinely want to have one of these on their coffee table.

Cult of Lego Big & Small

As we do occasionally publish LEGO projects, John Baichtal interviewed me briefly in the course of researching the book, and a few of our modest projects (including organizing bricks and circuit board standoffs) are featured. Seeing our own projects as footnotes to gargantuan scale models of aircraft carriers, or to the the first Google server (in its LEGO case), or to working mechanical computers is thrilling. It is also quite humbling.

But the community is the thing. Sure, there is a lot to say about fandom proper and conventions, but LEGO also represents a shared experience to many people, a cultural influence, an artistic medium, and a common language. The Cult of LEGO explores each of these topics through interviews and topic-based descriptions of projects. It is easy to forget how important LEGO is to modern robotics education, or how much of a mark the mini figure has made on popular culture, and I’m glad to have been reminded.

Cult of Lego - printed legos

Because it is about the community (rather than the company), The Cult of LEGO is free to discuss “fan art” in all of its guises, and that leaves the book delightfully modern and in some ways irreverent.

Many people still believe in keeping their models pure, made of only extra-virgin LEGO-blessed ABS. But others these days are injection molding their own custom mini figure scale weapons. Or like our friend Andrew Plumb, beginning to explore 3D printing of custom bricks.

CultLego7

The Cult of LEGO is available this week. I give it my highest recommendation. If you grew up with LEGO, you owe it to yourself to get a copy.

Improving open source hardware: Visual diffs

pcbdiff

As the open source hardware movement matures, it’s worth taking a moment to consider the issue of version control.

Collaborative software projects make heavy use of version control– tools like Subversion and Git, and project hosting sites like SourceForge, GitHub, and Google Code –to organize and manage the contributions of many developers to a project. But as we begin to consider open source hardware, can we use these same tools and sites for effective collaboration on hardware projects?

The short answer is, “yes”– after all, people are already doing it. But the reality is that we could do much, much better. Some people think that we do need a separate “SourceForge for hardware.” That’s hard to say. But it is the case– perhaps against conventional wisdom –that existing tools can be used, today, for meaningful hardware version control.

It’s certainly possible to take any old binary file (say from a CAD program), and store it in a version control system. This is, in fact, how many of today’s open source hardware projects are managed. However, a “diff” (direct file comparison) to see what’s changed between two versions of a given file is all but meaningless.

For design files in plain-text (“ascii”) file formats, such as Inkscape‘s SVG or KiCad‘s .brd, a diff is possible and is in principle meaningful, but it is usually all but useless in practice, because CAD is a graphical sport, and we need to treat it like graphics.

An example: Suppose that you found the following snippet in the difference between two SVG files:

 <path
       sodipodi:type="arc"
       style="fill:#ff00ff;fill-opacity:1;stroke:#ffa6a6;stroke-width:0.18000001;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
       id="path2816"
       sodipodi:cx="237.14285"
       sodipodi:cy="328.07648"
       sodipodi:rx="160"
       sodipodi:ry="84.285713"
       d="m 397.14285,328.07648 a 160,84.285713 0 1 1 -319.999997,0 160,84.285713 0 1 1 319.999997,0 z" />

You probably wouldn’t recognize that (at least not quickly) as a big magenta ellipse. While it’s perfectly legible as source code, a diff result like this would be all but useless in practice.

The obvious solution, is to add in some visual diffs in order to make sense of changes between design files. On the bright side, making these is remarkably straightforward, and– with a little bit of effort –practically supported by existing version control systems.

In what follows, we’ll walk through some examples of visual diffs– with bitmaps and PDF files –and discuss what you can do to help make version control work better for CAD files, and to make CAD files better for version control.

Continue reading Improving open source hardware: Visual diffs

In pictures: Maker Faire NY 2011

MFNY2011 - 007

The Yellow Drum Machine, above, finds and makes music with a glass beaker and an empty juice bottle: Just one of an amazing number of amazing things going on at Maker Faire NY this past weekend.

Maker Faire NY 2011

Trying to get a flavor of the whole fair(e), we’ve put over 250 other photos from Maker Faire into a photo set that you can view on flickr.

Maker Faire NY 2011 and the Digi-Comp II

mfny

Lenore with the Digi-Comp II prototype

We’re here in New York for the 2011 Maker Faire New York (the “World Maker Faire”), held for the second year at the– absolutely fantastic —New York Hall of Science.

This weekend, we’ll be showing off an all-new prototype version of the Digi-Comp II. Back in May, at the Bay Area Maker Faire, we showed off a giant-scale version of the Digi-Comp II, documented here on our blog both in photos and with video.

Our new prototype is at the scale of the original (mid 1960’s) Digi-Comp II, which used half-inch diameter glass marbles. Rather than marbles, we’ve opted for half-inch diameter chrome steel balls–miniature pinballs or overgrown pachinko balls, depending on your perspective. The original machine was made of thin vacuum-formed plastic, supported by a sheet of masonite and fitted with injection-molded flip-flops and switches. While our final version will be fabricated from (very sturdy) vacuum-formed plastic, we’re currently in a phase of functional testing, using CNC-machined wooden versions.

Digi-Comp II (wooden prototype)-- overview

Here is what the whole machine looks like. Despite using the same size ball, the overall size is a bit smaller than the original: 10×24″ versus 14×28.5″. From testing, it’s clear that there are some places that a little more vertical room would make for a more user-friendly design, so it is likely that our final version will be closer to 25-26″ in length.


Digi-Comp II (wooden prototype)-- top section

The top surface of the machine is cut from 1/2″ thick plywood, using a CNC router to make 3/8″ deep channels where the balls can roll. After routing, we added all of the labels by laser engraving. The flip-flops and switches are laser cut from thinner plywood, and rotate on simple plain bearings consisting of 1/16″ diameter stainless steel pins and slightly larger holes drilled through the wood. At the upper right, you can see the ball-release mechanism, which releases a ball when the actuated by the pushrod.

As with our giant model, the design is a functional but not exact replica of the original. All of the flip-flops, registers, and switches are approximately in the original locations, but the “wiring” (really, rolling ball paths) has been created from scratch. One of the non-obvious things when you first look at the Digi-Comp II is that there are actually two levels to the machine. The six “black holes” that you can see above drop the ball down to the lower level, as a shortcut to the bottom or (for certain functions) to flip switches on the top side.


Digi-Comp II (wooden prototype)-- bottom section

On the bottom half of the machine you can see the ball return as the stripy ramp in the center. The stripes on the ramp arise from cutting plywood at an angle (see here for another example). Below that is the Start Lever. When a ball presses down the start lever, it pushes the pushrod that releases the next ball from the top.


We’ll be demonstrating our prototype Digi-Comp II all weekend at Maker Faire. If you’re in the area, please drop come see the Maker Faire, say hi, and try it out!

    Additional resources:

  • If you’d like more information about the Digi-Comp II in general, please take a look at our prior articles (again, with photos and with video).
  • The official site for our project is digicompii.com
  • If you are interested in the forthcoming kit version, please sign up for the Evil Mad Science Mailing List.

Open hardware summit badge

badge 1

badge 2

The 2011 Open Hardware Summit was held this week in New York City. We were fortunate enough to be able to design the badges for the event, which are pictured above.

Naturally, the badge itself is an example of open source hardware. It’s constructed as an extra-thick circuit board, in the shape of the Open Source Hardware logo, with plated gold finish. It was made with our usual open source toolchain, including Inkscape and gEDA/PCB, and the design files are hosted at the Evil Mad Science Wiki.

A new Kraftwerk-inspired LED tie kit?

LED Tie - 28.jpg

Well, almost— With a breath of new firmware, our Larson Scanner kit takes us on a trip to the late 1970’s.

In the old videos of electronic music pioneers Kraftwerk performing their classic The Robots, a prominent prop is the animated LED necktie worn by each member of the band. If you haven’t seen this, or it’s been a while, you can see it right here at YouTube. (Additional viewing, if you’re so inclined: Die Roboter, the German version.)

The Kraftwerk tie has nine red LEDs in a vertical row, and one lights up after the one above it in a simple descending pattern. And what does it say to the world? One thing only, loud and clear: “We are the robots.” Now, if you’re anything like us, the most important question going through your head at this point is something along the lines of “why am I not wearing a tie like that right now?

larson3

The good news is that it’s actually easy to make one. And the starting point? A circuit with nine red LEDs and just the right spacing: our open-source Larson Scanner kit. With minor modifications– a software change and dumping the heavy 2xAA battery pack–it makes a pretty awesome tie. In what follows, we’ll show you how to build your own, complete with video.

Continue reading A new Kraftwerk-inspired LED tie kit?

Octolively: Digital interactive LED surfaces

Octolively Array: 8 inches wide

Octolively is an all-new, open source interactive LED surface kit that we’re releasing today. Octolively features high resolution– an independent motion sensor for every LED, stand-alone operation, a variety of response functions, and easy scaling for large grids.

Warm white (left), Regular "cool" white (right)

Octolively represents our fourth generation of interactive LED surfaces.

Long-time readers might recall the original Interactive LED Dining Table, the infamous Interactive LED Coffee Tables, or the third-generation, not-very-creatively-named Interactive LED Panels. All of these surfaces were based on fully-analog circuitry with large circuit boards and a fairly high ratio of LEDs to sensors– typically 20:1.

Octolively: single unit, powered down-2

Octolively, by contrast, is based on smaller, lower-cost circuit board modules, “only” 4×8 inches in size. Part of the reason for this is so that there’s more flexibility in making arbitrarily shaped arrays. Arrays can now be as skinny as 4″ wide, or as wide as you like.

Each module features 8 LEDs and 8 independent proximity sensors– one for each and every LED. The LEDs are (huge) 10 mm types, and that chip in the middle of the board is an (also huge) ATmega164 microcontroller.
Each sensor consists of an infrared LED and phototransistor pair, which– together with polling and readout from the microcontroller –acts as reflective motion sensor. The LEDs are spaced on a 2-inch grid, and the edge connectors allow boards to be tiled seamlessly.

Because the circuit is now primarily digital, it’s easy to store a variety of response functions in the microcontroller. Our standard firmware contains 8 different response functions– fades, ripples, shadows and sparkles, which you can change with a button press. As it’s an open source project, we’ll expect that (in time), others will become available as well.

Octolively: 3x3 grid of boards

And, because the entire circuit is self-contained on the module, the surface scales effortlessly– you get very high resolution over huge areas without bandwidth bottlenecks, and no need for a central computer.

Of course, static pictures don’t do much justice for interactive LED surfaces. (We’ve embedded our video above. If you can’t see it here, click through to YouTube.)

Octolively, warm white LEDs

And doesn’t that look good with warm white LEDs?

Octolively begins shipping next week. Additional details– including the datasheet and documentation links –are available on the product page.