Homemade E-Drums Hit All The Right Notes

In our eyes, there isn’t a much higher calling for Arduinos than using them to make musical instruments. [victorh88] has elevated them to rock star status with his homemade electronic drum kit.

The kit uses an Arduino Mega because of the number of inputs [victorh88] included. It’s not quite Neil Peart-level, but it does have a kick drum, a pair of rack toms, a floor tom, a snare, a crash, a ride, and a hi-hat. With the exception of the hi-hat, all the pieces in the kit use a piezo element to detect the hit and play the appropriate sample based on [Evan Kale]’s code, which was built to turn a Rock Band controller into a MIDI drum kit. The hi-hat uses an LDR embedded in a flip-flop to properly mimic the range of an actual acoustic hi-hat. This is a good idea that we have seen before.

[victorh88] made all the drums and pads out of MDF with four layers of pet screen sandwiched in between. In theory, this kit should be able to take anything he can throw at it, including YYZ. The crash and ride cymbals are MDF with a layer of EVA foam on top. This serves two purposes: it absorbs the shock from the sticks and mutes the sound of wood against wood. After that, it was just a matter of attaching everything to a standard e-drum frame using the existing interfaces. Watch [victorh88] beat a tattoo after the break.

If you hate Arduinos but are still reading for some reason, here’s a kit made with a Pi.

Continue reading “Homemade E-Drums Hit All The Right Notes”

Greet the Sun with a 555 Flute

Here’s an interesting implementation of a classic: the 555 timer as astable multivibrator for the noble purpose of making weird music. [pratchel] calls this a Morgenflöte or morning flute, indicating that it is best played in the morning. It would certainly wake up everyone in the house.

Instead of using LDRs in straight-up Theremin mode and waving his hands about, [pratchel] mounted one in each of several cardboard tubes. One tube is small and has just a few holes; this is intended to be used as a flute. [pratchel] cautions against locating holes too close to the LDR, because it will overpower the others when left uncovered. A larger tube with more holes can be used as a kind of light-dependent slide whistle with another holey tube that fits inside. We were disappointed to find that the giant tube sitting by the amplifier hasn’t been made into a contrabass flute.

Continuing the theme of astability, [pratchel] went completely solderless and built the circuit on a breadboard. The LDR’s legs are kept separate by a piece of cardboard. This kind of project and construction is fairly kid and beginner-friendly. It would be a good one for getting your musically inclined friends and family members into electronics. Here’s a 555 player piano built by Hackaday’s own [Steven Dufresne] that might be a good second step. Check out [pratchel]’s performance after the break.

Continue reading “Greet the Sun with a 555 Flute”

Color Sonification Could Be Key to Rainbow Connection

Have you seen any loud sweaters this holiday season? Now there is a way to quantify their vibrancy and actually hear them at the same time. Cornell engineering students [Mengcheng Qi] and [Ryan Land] focused on the sonification of color and translated the visible spectrum into audible sounds.

They originally planned to use pixel samples from an OV7670 camera module, but weren’t able to extract any useful color data from it. We prefer their Plan B anyway, which was to use CdS photo resistors and the plastic color filters used for photography in red, blue, and green. The varying intensity of light falling on the photo resistors creates different patterns according to the voltage levels. The actual sound generation was done with FM sound synthesis.

There wasn’t a lot of natural sound variation between different RGB values, so in order to make it more fun, they created different instruments which play different patterns at variable speeds and pitch according to the colors. In addition to the audio feedback, the RGB values are displayed in real-time on a small TFT. Below those are dynamic bar graphs that show the voltages of each color.

Check out the demo after the break; they walk through the project and try it out on different things to hear their colors.

Continue reading “Color Sonification Could Be Key to Rainbow Connection”

Pair of musical hacks use sensor arrays as keyboards


This pair of musical keyboard hacks both use light to detect inputs. The pair of tips came in on the same day, which sparks talk of consipiracy theory here at Hackaday. Something in the weather must influence what types of projects people take on because we frequently see trends like this one. Video of both projects is embedded after the jump.

On the left is a light-sensitive keyboard which [Kaziem] is showing off. In this image he’s rolling a marble around on the surface. As it passes over the Cadmium Sulfide sensors (which are arranged in the pattern of white and black keys from a piano keyboard) the instrument plays pitches based on the changing light levels. [Thanks Michael via Make]

To the right is [Lex’s] proximity sensor keyboard. It uses a half-dozen Infrared proximity sensor which pick up reflected light. He calls it a ‘quantised theremin’ and after seeing it in action we understand why. The overclocked Raspberry Pi playing the tones reacts differently based on distance from the keyboard itself, and hand alignment with the different sensors.

Continue reading “Pair of musical hacks use sensor arrays as keyboards”

Sensor array tries to outdo the other guys

The team over at the Louisville Hackerspace LVL1 is not going to be outdone when it comes to collecting environmental data. They put together this Frankenstein of sensor boards that lets you collect a heap of data showing what is going on around it.

At the center-left a small Arduino clone is responsible for collecting the data. Data storage is not talked about on their write-up, but if that’s an ATmega328 chip you should be able to work out an easy way to store data on the 1k of internal EEPROM. If that’s not enough, there is an I2C bus included on the board making it easy to add a compatible EEPROM.

The sensor on the bottom left should look familiar. It’s a DHT11 temperature and humidity sensor we’ve seen popping up in projects lately. But wait, there’s also a TMP102 temperature sensor; but that’s not the end of it. A BMP085 pressure sensor also includes a third temperature sensing option. Want to see when the lights go on in the room? There’s a CdS sensor and a TSL230R Lux sensor for that. An op-amp circuit can measure the sound level in the room via one of the Arduino’s ADC pins. And finally, an RTC board is used for time stamping the data.

Obviously this is overkill, and we’re sure it’s meant as a test platform for various sensors. All of them have been mounted on the protoboard and wired up using the point-to-point soldering method.

Automatic flashlight tag damage sensor

You’re out at night and playing a boisterous game of flashlight tag. But how can you tell if you’ve been mortally wounded by your opponents light beam? [Kenyer] solved this problem by building a flashlight tag damage sensor which is worn by each participant. It adds a bit of the high-tech equipment used with laser tag while keeping a low-tech price tag.

The sensor relies on a light dependent resistor to register hits when a flashlight beam passes through the round window. It will only register one hit in a three-second time period. At the end of the game, the total number of hits recorded can be flashed back using an on-board LED to see who is the victor. You can see a demo of this functionality in the clip after the break.

[Kenyer] started with a breadboard prototype using an Arduino as the driver. Obviously the cost of an Arduino for every player is a bit ridiculous. He scaled down the project, running the Arduino code on an ATtiny microcontroller. Continue reading “Automatic flashlight tag damage sensor”

Laser trip wire – the bare essentials

[Gordon] sent us a tip about this simple laser trip wire system after reading yesterday’s post on a more complicated laser security unit. That build did a lot to provide functionality, such as a system to disarm the trip wire, and a robust light detection circuit. This time around there’s more happening with smoke and mirrors than with electronics.

[The Timmy] built this simpler version based on a laser trip system from Afrotechmods (video of that one is embedded after the break). He had a bag full of small square mirrors which he attached to a wall with some poster putty. A laser module shines a beam of light onto a cadmium sulfide sensor after it bounces around the optical network for a while. That CdS sensor controls an N-channel MOSFET, switching it off when light is detected and on when the intensity of the laser is absent. This example just turns an LED on and off, but since it uses logic-level voltages you can choose to add a microcontroller to the mix if you have other plans in mind.

Continue reading “Laser trip wire – the bare essentials”