AVR chiptune project turns this simple code into music

posted Oct 3rd 2011 12:25pm by
filed under: musical hacks, radio hacks

[Mark] had seen a few examples of algorithmic music generation that takes some simple code and produces complex-sounding results. Apparently it’s possible to pipe the output of code like this directly to audio devices on a Linux box, but [Mark] decided to go a different direction. His project lets you play simple algorithms as audio using AVR microcontrollers.

Now the code work for this is very simple, but he hardware implementation is where things get interesting. Ostensibly, [Mark] didn’t have the components available to build a filter to use PWM as an audio signal. Being that he’s a ham operator, he grabbed some radio equipment he had on hand and whipped up an alternative. He’s feeding the PWM from an Arduino into the voltage controlled oscillator on a board meant for high-altitude balloon telemetry. The signal broadcast by this board is then picked up by his radio receiver, and played on some speakers.

Rube-Goldberg contraptions aside, the effect is pretty interesting, as you can hear in the latter half of the video clip which we’ve embedded after the jump.

Read the rest of this entry »

Making your own lab instruments

posted Jun 16th 2011 4:01pm by
filed under: chemistry hacks

[Andrey Mikhalchuk] is trying to gather a base set of lab instruments. Specifically, he’s looking for hardware that will let him quickly filter solids out of a liquid. He first started by adding a cotton disk to a plastic funnel. It does the job, but when left to gravity it’s quite slow. He needed a way to speed up the flow even when the filter is heavily clogged with particulates.

There’s already a solution to this problem. It’s a glass container called a Büchner Flask. These feature a glass tube coming out from the neck. By hooking a vacuum pump up to this tube, reduced pressure inside the flask will pull the liquid through the filter in no time. Rather than purchase the specialty item, [Andrey] altered a rubber stopper to accept both the funnel, and a glass tube. This is a cheaper version because it uses a common conical flask but it works just as well. To create the vacuum, an altered bike pump was used. Check out videos of both hacks after the break. Read the rest of this entry »




chipKIT Sketch: Mini Polyphonic Sampling Synth

posted Jun 8th 2011 8:01am by
filed under: arduino hacks, digital audio hacks, how-to, Microcontrollers, musical hacks

In our hands-on review of the Digilent chipKIT Uno32, we posed the question of what the lasting appeal might be for a 32-bit Arduino work-alike. We felt it needed some novel applications exploiting its special features…not just the same old Arduino sketches with MOAR BITS. After the fractal demo, we’ve hit upon something unique and fun…

Read the rest of this entry »

Junkyard fish tank

posted Feb 16th 2011 12:30pm by
filed under: home hacks

So your house looks like a dumping ground for useless junk? Yeah, we know it’s the hacker’s curse… you just can’t stop salvaging stuff. But follow [Pontazy69's] lead by building something useful out of that junk. He took an old polystyrene box and made it into this fishtank. You can see that the sides and back of the box has gone unaltered, but the front wall is missing. [Pontazy69] marked and cut straight lines while leaving a lip around the edge. Silicone was used to glue some acrylic (or perhaps glass?) to the inside of this lip. Once dried he added another bead around the outside to ensure it doesn’t leak. Few fish would be happy here without some type of filter so he built one of those out of an old plastic bottle and some other pieces. See videos that show you how to build both the tank and the filter after the break.

We love aquarium hacks almost as much as clock hacks. So check out the water exchange system, and a couple of different lighting systems. Then document your own aquarium projects and let us know about them.

Read the rest of this entry »

Turning music into a light show

posted Jan 22nd 2011 12:19pm by
filed under: arduino hacks, digital audio hacks

[nickinoki] Made a light show using some amplifiers and an arduino. First he created a microphone circuit based around a LM386 Audio Amplifier. After amplifying the output of the microphone a second time, he uses three bandpass filters to block all but a few desired frequencies from reaching the arduino.  By only letting a few frequencies through the arduino is able to determine if the song is louder at higher or lower frequencies.  Then using the three analogue inputs he created a scheme for generating the light show on an arduino. While he was unable to achieve the exact target frequencies with his bandpass filters they worked well enough to allow him to successfully generate the light show.




Quiet Dust Extractor from Scavenged Materials

posted Jan 5th 2011 3:30pm by
filed under: tool hacks

As with many of the projects covered on hackaday, [bongodrummer]‘s Dust Sniper came about because of a lack of effective commercial solutions, in this case to the problem of quiet dust extraction.

Workshops are generally full of dust and noise, both of which take their toll on the human body. This is why safety regulations exist for noisy and dusty workplaces and–as [bongodrummer] rightly points out–we have to take precautions in our own home and community workshops. Hearing protectors, dust masks and safety goggles are integral, but reducing the amount of dust and noise in the fist place is paramount.

Using mostly scavenged materials [bongodrummer] did a quality job building the Dust Sniper–and all for a bill of materials totaling £20. It has an integrated work surface, automatic switches on 2 vacuum lines to sync up with power tools, a cyclonic air filter that prevents clogging the HEPA filter and reducing suction power, inlet and outlet soundproofing, and a plain old power outlet for good measure.

Whether or not you’re interested in building an integrated workbench/extractor system like this one, we recommend you check out the details of the cyclone filter and the sound reducing components. Not only are they an interesting read, but they could be useful to apply in other projects, for example a soldering station with fume hood.

We think it would be really neat to include more cyclones in our projects. Stick around after the break to see [bongodrummer]‘s prototype cyclone filter in action.

Read the rest of this entry »

Anaglyphic photography made easy

posted Nov 22nd 2010 2:00pm by
filed under: digital cameras hacks

[ProfHankD] came up with a pretty easy way to take 3D photos using a single lens. He’s making Anaglyph images which use color filtering glasses to produce stereoscopic 3D effects. We’ve seen stereoscopic imaging hacks that use two cameras or a clever combination of mirrors, but this one uses a special filter and post-processing. [ProfHankD] drew up a template that can be used to properly align two colored filters, like those in the lens cap seen above. Once installed, just snap all the pictures you want and then hit them with your favorite photo editing software. This involves separating the color channels of the photograph and offsetting them to increase the depth of focus.

It’s a nice little process, and his writeup is easy to understand even if you’re not a hardcore photography guru.

[Thanks Paul]

Make a point-and-shoot see infrared light

posted Nov 17th 2010 11:30am by
filed under: digital cameras hacks

[Daniel Reetz] has caught the Kinect hacking fever. But he needs one important tool for his work; a camera that can see infrared light. This shouldn’t be hard to accomplish, as the sensors in digital cameras are more than capable of this task, but it requires the removal of an infrared filter. In [Daniel's] case he disassembled a Canon Powershot to get at that filter. There’s a lot packed into those point-and-shoot camera bodies and his teardown images tell that tale. He also ended up with extra parts after putting it back together but that didn’t seem to do any harm.

After the break you can see video that shows the Kinect’s speckled IR grid, which is why he needed IR sensing in the first place. But there’s also some interesting photos at the bottom of his post showing the effect achieved in outdoor photography by removing the filter.

The flash never made it back in the camera. That’d be a perfect place for an IR light source. You’d end up with a night-vision camera that way.

Read the rest of this entry »




Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

Send us your hacks










     




Hacks

Resources