CNC halftones with ASCII art

ASCII CNC 23

 

ASCII CNC 21

Recently we have seen some fantastic DIY examples of CNC image carving with traditional halftones and alternative versions with regions generated with reaction-diffusion equations. More impressively, all of this is now possible with freely available, homegrown software released by the people behind those projects (Here and here.)

Seeing these examples reminded us of another “classic” method of making halftones: ASCII art. In what follows, we walk through the process of using making CNC halftones for engraving or carving from both vintage and automatically generated ASCII art. Continue reading CNC halftones with ASCII art

Improved Cucumber Martinis

Cucumber Martinis 18

One of the finest cocktails that we have ever come across is the cucumber martini, a cocktail which– correctly executed–can be a bracingly refreshing blast of intense cucumber flavor, highlighting what is perhaps an under-appreciated member of the melon family.

Unfortunately, cucumber martinis often fail to live up to their potential, ending up as watery infusions that might be mistaken for scented mineral water. And that’s an injustice.

To set the record straight, here is how to make your own thoroughly-awesome cucumber martini. To go one step further, we present three distinct variations: the Sweet Vodka Cucumber Martini, the gin-based Savory Cucumber Martini, and the non-alcoholic Cucumber Fizzy. Continue reading Improved Cucumber Martinis

Alpha Clock Five

assembled

What’s cooler than itty bitty alphanumeric LED displays? Freaking huge ultrabright alphanumeric LED displays, that’s what!

And so today we’re releasing a new kit, the Alpha Clock Five, an open-source, hacker-friendly alarm clock kit, based around an block of fiveultrabright red 2.3″ character height alphanumeric displays:

HELLO

So, how big are these things?

For scale, here’s one of the displays next to a Diavolino board:

alpha-diavolino

These displays are great in many ways– they’re extremely bright for one –but the downside is that they are actually a bit tricky to drive. The 10 “big” segments each have two LED elements in series, twice in parallel, while the smaller segments have two LED elements in series, but not in parallel, and the decimal points each have a single LED element. To drive each LED element at (for example) 25 mA and 2 V requires 4V, 50 mA to be provided to ten segments, 4V 25 mA to the six short segments, and 2 V at 25 mA to each decimal point. And, it’s a fair number of signals to manage as well.

pcba

To solve the problem, we designed a multiplexed driver board, with two LED driver chips at different current set points. A 16-bit constant-current LED driver is preset at 50 mA and drives the ten large segments, while a separate 8-bit constant-current LED is preset at 25 mA and drives the short segments and the decimal place. The multiplexing is in analogy with an LED matrix, where each alphanumeric character comprises one row of our matrix– which just happens to have 54 LED elements inside. One row is switched on at a time by one of five transistors. We used high-current, low-saturation-voltage PNP transistors, type 2STX2220– the low saturation voltage means that you *can* use these to switch a useful 4 V load, even when running at 5 V.

The circuit board is 9.430 X 2.736″ in size, and extra stiff at 0.094″ thick in order to support those heavy LED displays in their sockets. An ATmega644A microcontroller runs the show, and is preloaded with a bootloader so that you can program it like a Sanguinoboard, through a version of the Arduino IDE with added extensions. There’s also a magnetic buzzer so that it can be a full-on alarm clock, and a spot for a Chronodot module, for good timekeeping and battery backup.

front

Here’s what the front of the “brick” looks like, with the five displays socketed next to one another. There are four right-angle tactile button switches hanging off of the top edge, so that you can adjust the time, alarm time, brightness, and so forth. If you hold the two rightmost buttons for a couple of seconds, it brings you to the options menu, where you can (for example) switch between 12 and 24 hour modes:
AM-PM 24 HR
The circuit board, laden with alphanumeric displays, sits inside an acrylic case:

case

The front side of the case is deep red transparent acrylic (#2423 red transparent, should that come in handy), and serves to increase the contrast of the displays. The back of the case is gray transparent acrylic, and the top and bottom are black. The top surface has engraved labels for the four buttons, and four button keys cut into the acrylic. The thin beam flexes easily, contacting the right-angle switch below, when the circuit board is there.

interface

The back of the case is transparent so that you can see the circuit board. There’s also a white LED “night light” on the circuit board that can be enabled or disabled with the top buttons, and the sides are open to provide easy access to the TTL serial interface.

Obviously there’s a lot that could be done by hooking up a nice 5-character alphanumeric data display device to your computer.

inuse

On top of everything else, Alpha Clock Five is also a full-fledged alarm clock, right down to the snooze mode— although the word “SNOOZE” didn’t quite fit on the display (it says “SNOOZ,” if you must know).

Perhaps the biggest challenge for making it “bedroom compatible” was that it needed to not just be able to be extremely bright, it also has to be able to go crazy dim– which it can do, with fourteen levels of adjustable brightness.

And it has some fantastic features as an alarm clock– for example multiple alarm tones and digits that are big enough to see even if you normally wear glasses.

And with a bit of code, it can be so much more. Soon, yours might say spell out “TRACY WAKE THE HECK UP” or use a couple of its spare I/O lines– and only make you coffee if you actually manage to get up on time.

Alpha Clock Five is available now at the Evil Mad Scientist Shop.

Tinker and Drinker at the Tech Museum

We’ll be at The Tech Museum in San Jose for their After Hours Tinker and Drinker event, Wednesday, December 7, from 6 pm to 11 pm. Tickets are available online for guests ages 21+.

We’re bringing along Drink Making Unit 2.0, one of our favorite combinations of tinkering and drinking. It will be serving non-alcoholic drinks during the event. Hope to see you there!

Improving the Menorah kit

Scale

 

One of our favorite little kits is our Deluxe LED Menorah kit. Since we introduced it two years ago, one of the most common questions that we get asked is this: “Can you use candle-flicker LEDs in it?” And thatturns out to be a very interesting question.

 

 

The simple– but, alas, naive –answer is “yes.” We have discussed candle-flicker LEDs in the past, and in most cases, yes you candirectly substitute them for regular LEDs.

 

But if you do go ahead build up a menorah kit with the candle-flicker LEDs,
what you will find is that the performance is simply terrible: Not only do these LEDs fail to perform properly– (there is no “candle flickering”), but they actually exhibit behavior that we might categorize as “not even wrong”– the LEDs are not particularly steady either, but are rather a bit weak and jittery.

 

The reason for this is that in the kit, the LEDs are not left continuously it, but are instead continually– and far too quickly for the eye to see –pulsed on and off. This is done because the menorah kit uses pulse-width modulation (PWM) dimming to produce a range of different brightness levels. Not only does the menorah have two different selectable brightness levels, but it also has the ability to softly “fade in” and “fade out” the LEDs when they light up or switch between the brightness levels.

 

In most ways, this PWM dimming is a wonderful thing. It allow us to create these gentle fades and different brightness levels, and allows us to really fine-tune the performance for better power efficiency. While this works extremely well for regular LEDs, each of the so-called “candle-flicker LEDs” is not just an regular LED, but is actually a regular LED packaged with a tiny integrated circuit that executes the “random flicker” program. And, that chip can only execute its program properly if it’s left on continuously. If instead, it is continually pulsed on, we might indeed expect to end up with the kind of jittery, inconsistent behavor that we do see in the kit.

 

 

How could we go about fixing this, if we wanted the LEDs in our menorah to flicker? It would be straightforward to remove the dimming features from the software, and actually use the self-flickering LEDs in a mode where we leave them on continuously. But in doing so, we would lose a couple of our favorite features: the gentle fade-ins that make the kit so elegant, and the ability to have multiple brightness settings.

 

 

So that’s a tough choice: Do we forgo flickering, or live without our elegant gray scale fades?

 

But fortunately, there is a way out. The right solution is to remember that we do have a microcontroller– an ATtiny2313 –running the show, and to start acting like it. If we go back to regular (non-flickering) LEDs, we should be able to write a “random walk” flickering algorithm and add that to our existing firmware. In doing so, we can keep our original fades and brightness modes. We also can keep the kit price the same (since we don’t need the more expensive flickering LEDs), and as a hugeadded bonus, we can now turn on or turn off the flickering at will– something that you can’t do with LEDs that always flicker.

 

Today we’re releasing the new version of the menorah kit software, and shipping it in the kits. And, we made a little video(embedded below) to show off the new flicker modes and what happens when you try and use flickering LEDs with PWM:

 

 

 

The new source code– Menorah kit software version 1.3 –is available here, and it can be used to upgrade any older Deluxe LED Menorah kit as well. :)

Winter Holiday Projects from Evil Mad Scientist Laboratories

The Evil Mad Scientist Laboratories Holiday Project Archive!

We’ve rounded up our projects from holidays past and present and will add future projects to this archive each year. You can start with decorations or jump straight to food projects. We’re also including our cookie posts for your geeky holiday cookie making fun.

Decorations:
EdgeLitCard - 49
Holiday Edge-Lit Cards

Edge Lit Cards
Edge-Lit Cards (Refined)

CompletedWhite
LED decorations

Scale
LED Hanukkah Menorah Kit


Special Edition LED Menorahs


Mega Menorah 9000!

Christmas fractal
Christmas Chaos

Ornament with Stars in Eggbot
Decorating Ornaments with the Eggbot


EggBot holiday project roundup

LED Micro-Readerboard spells out MAKE
LED Micro-Readerboard, version 2.0

Gingerbread readerboards
Electronic Gingerbread Men

Ornamental Components 08
Deck the halls with fine components

Component Wine Charms
Solder your own wine charms


Vector Snowflake Application: open-source snowflake generator


Evil new year: Turn your Champagne into a DEADLY weapon!!!!

Clear overview
Easy high-power LED blinking circuit

Food:
Star Spangled Biscuits
Spangled Star Biscuits


Five Tricks for Thanksgiving Leftovers

Apple Pie
Now that’s an Apple Pie!

Cranberry Chutney
Indian-style Cranberry Chutney

Truffles
Pumpkin Spice Truffles

Chocolate Debian
A Chocolate Debian

koch snowflake cupcake
Fractal Snowflake Cupcakes

Cookies:

Fractal Cookies


Atomic Cookies


Asteroids Cookies


Ice Cream Gyoza


Circuitry Snacks


Edible Googly Eyes

Indian-style Cranberry Chutney

Cranberry Chutney 14

Or, How to make Indian-spiced cranberry sauce.

With Thanksgiving fast approaching, it’s the time of the year when fresh cranberries are in the stores, and it’s also the time of the year when we are looking for unusual flavor combinations for traditional ingredients. In that spirit, here’s a fantastic sweet, spicy and savory Indian-style cranberry chutney modeled after our favorite tamarind chutney recipe from the excellent Indian cookbook, Indian Home Cooking. Cranberries are tart like tamarind, so they work well here and bring a distinct new flavor to a familiar sauce.

Continue reading Indian-style Cranberry Chutney