Audio Effects On The Intel Edison

With the ability to run a full Linux operating system, the Intel Edison board has more than enough computing power for real-time digital audio processing. [Navin] used the Atom based module to build Effecter: a digital effects processor.

Effecter is written in C, and makes use of two libraries. The MRAA library from Intel provides an API for accessing the I/O ports on the Edison module. PortAudio is the library used for capturing and playing back audio samples.

F9GW4Y4IGQFYP23.MEDIUMTo allow for audio input and output, a sound card is needed. A cheap USB sound card takes care of this, since the Edison does not have built-in hardware for audio. The Edison itself is mounted on the Edison Arduino Breakout Board, and combined with a Grove shield from Seeed. Using the Grove system, a button, potentiometer, and LCD were added for control.

The code is available on Github, and is pretty easy to follow. PortAudio calls the audioCallback function in effecter.cc when it needs samples to play. This function takes samples from the input buffer, runs them through an effect’s function, and spits the resulting samples into the output buffer. All of the effect code can be found in the ‘effects’ folder.

You can check out a demo Effecter applying effects to a keyboard after the break. If you want to build your own, an Instructable gives all the steps.

Continue reading “Audio Effects On The Intel Edison”

The Biggest Super Hexagon Fan

For those who haven’t addicted themselves to Super Hexagon yet, it’s pretty… addicting, to say the least. Normally this 80’s arcade-style game would run in a browser but some of the people at Club de Jaqueo in Buenos Aires decided to cram all of that into an Arduino. They didn’t stop there, though, and thought that it would work best with a POV display.

To navigate the intricate maze of blending a POV display with a fast-paced game like this, the group turned to the trusty Arduino Micro. After some frustration in the original idea, they realized that the game is perfectly suited for a POV display since it’s almost circular. The POV shouldn’t take up too much of the processing power of the Arduino, so most of the clock cycles can be used for playing the game. They couldn’t keep the original name anymore due to the lack of hexagon shape (and presumably copyrights and other legal hurdles), but the style of the original is well-preserved.

The group demonstrated their setup this past weekend, and the results are impressive judging by the video below. They’ve also released their source code and schematics as well, in case you have an old fan (or maybe even a bicycle?) lying around that is just begging to be turned into a mini-arcade game.

Continue reading “The Biggest Super Hexagon Fan”

UV Laser Projector Shines With Glow-in-the-Dark Vinyl

Mirror galvanometers were originally developed in the 17th century to precisely measure very small changes in current. Unlike other instruments of the day, a mirror galvanometer could clearly show minute current variations by translating tiny movements of the mirror into large movements of the light reflected off of the mirror. Before clean electrical amplification became possible, this was the best means of measuring tiny differences in current. True mirror galvanometers are very sensitive instruments, but hobby servos can be used as a low-fidelity alternative, like with this project on Hackaday.io created by [robives].

Using a mirror galvanometer is by far the most common technique for laser projection shows – it’s really the only way to move the laser’s beam quickly enough to create the visual illusion of a solid line in real time. A mirror galvanometer works by using coils to attract magnets attached to the mirror, allowing the angle of the mirror to change when current is applied to the coils. This movement is extremely small, but is amplified by the distance to the projection surface, meaning the laser’s beam can move huge distances in an instance. If you’ve ever seen a laser show, it almost certainly used this technique. But driving galvos requires a beefy DAC, so we can’t blame [robives] for wanting to keep it digital.

[robives’s] project side-steps the need for galvanometers by using glow-in-the-dark vinyl and a UV laser. The result is a laser beam trail which lasts much longer, which means that solid lines are visible without the need for high-speed galvos. A build like this lets you experiment with laser projections without dealing with sensitive mirror galvos, and instead use components that you probably already have sitting on your workbench.

Continue reading “UV Laser Projector Shines With Glow-in-the-Dark Vinyl”

Light Duty Timekeeping: Arduino Berlin Clock

Just when we thought we’d seen all the ways there are to tell time, along comes [mr_fid]’s Berlin clock build. It’s based on an actual clock commissioned by the Senate of Berlin in the mid-1970s and erected on the famous Kurfürstendamm avenue in 1975. Twenty years later it was decommissioned and moved to stand outside the historic Europa-center.

This clock tells the time using set theory and 24-hour time. From the top down: the blinking yellow circle of light at the top indicates the passing seconds; on for even seconds and off for odd. The two rows of red blocks are the hours—each block in the top row stands for five hours, and each block below that indicates a single hour. At 11:00, there will be two top blocks and one bottom block illuminated, for instance.

The bottom two rows show the minutes using the same system. Red segments indicate 15, 30, and 45 minutes past the hour, making it unnecessary to count more than a few of the 5-minute top segments. As with the hours, the bottom row indicates one minute per light.

Got that? Here’s a quiz. What time is it? Looking at the picture above, the top row has three segments lit. Five hours times three is 15:00, or 3:00PM. The next row adds two hours, so we’re at 5:00PM. All of the five-minute segments are lit, which adds 55 minutes. So the picture was taken at 5:55PM on some even-numbered second.

The original Berlin clock suffered from the short lives of incandescent bulbs. Depending on which bulb went out, the clock could be ‘off’ by as little as one minute or as much as five hours. [mr_fid] stayed true to the original in this beautiful build and used two lights for each hour segment. This replica uses LEDs driven by an Arduino Nano and a real-time clock. Since the RTC gives hours from 0-23 and minutes and seconds from 0-59, a couple of shift registers and some modulo calculations are necessary to convert to set theory time.

[mr_fid] built the enclosure out of plywood and white oak from designs made in QCAD. The rounded corners are made from oak, and the seconds ring is built from 3/8″ plywood strips bent around a spray can. A brief tour of the clock is waiting for you after the break. Time’s a-wastin’!

Continue reading “Light Duty Timekeeping: Arduino Berlin Clock”

A Fireside Chat With Grant Imahara

Grant Imahara was on hand at the Hackaday SuperConference for a fireside chat led by Sophi Kravitz and Chris Gammell. You know Grant from his work on the television show MythBusters. He holds a Bachelor’s degree in Electrical Engineering, is known for his work on robots and special effects, he’s the engineer behind the Energizer Bunny, and has even competed on BattleBots. Over the past year he joined with Mouser Electronics to promote engineering through their Empowering Innovation Together campaign. Mouser was one of the sponsors of the 2015 Hackaday Prize and they were happy to work with Grant to make this appearance possible.

Continue reading “A Fireside Chat With Grant Imahara”

Storing Energy In Liquid Form

Researchers in Singapore have created a new kind of redox flow battery with an energy density around ten times higher than conventional redox flow batteries. Never heard of a redox flow battery? These rechargeable batteries have more in common with fuel cells than conventional batteries. They use two circulating liquids separated by a membrane as an electrolyte. Each liquid has its own tank, and you can recharge it by pumping in fresh electrolyte. The redox in the name is short for reduction-oxidation and refers to the process that stores energy in the two liquids. You can learn more about flow batteries in the video from Harvard below.

Continue reading “Storing Energy In Liquid Form”

Because Art: Can Machines Be Creative?

You’re walking through a gallery and stop to take in two seemingly unrelated pieces hanging side-by-side. One of them is a drawing of a bird, rendered with such precision its feathers could easily pop off the paper. The other is a sketch of what seems to be the same bird, however it’s nearly unrecognizable due to inconsistent line quality and parts that are entirely missing.

This article was written for the Omnibus vol #02 Order yours now
This article was written for the Omnibus vol #02
Order yours now

In staring at the photo-real drawing of the perfect bird, you marvel over the technical ability required to produce it. You also study the sloppy sketch just as long, picking out each one of its flaws, yet decide you like the image of the strange bird because the errors are interesting to you.

When you lean forward to read the title card posted on the wall between them, you’re shocked to learn that the two drastically different images were made by the same artist; not the person them self, but a machine they built to create both drawings in two different styles.

As an illustrator, I’m fascinated by drawing machines because their purpose is to emulate an act which has always been a highly personal form of self expression for me. Drawing machines and their creators are in a sense my peers.

Continue reading “Because Art: Can Machines Be Creative?”