Having never use a 555 before, [lonesoulsurfer] decided that his first foray into the world’s most popular and versatile IC would be to use a 555 to make beautiful chiptunes. For that, we commend him. He found [Dean Segovis]’ Slidersynth light-based Theremin and got to work building his own version it and stuffing it into a (knockoff!) NES controller.
For the uninitiated, a Theremin is a touch-less synthesizer that uses human capacitance and a pair of antennae to control oscillation and amplitude. In a light-based Theremin such as this one, the oscillation is controlled by the intensity of photons from a white LED and their interaction with a light-dependent resistor, also known as a photocell or ‘squiggly resistor’.
The oscillations themselves are created by wiring up the 555 as an astable oscillator, and the pitch is controlled with a potentiometer mounted on the back. It has a small built-in speaker, but [lonesoulsurfer] replaced the B button with a 3.5 mm audio jack so he can plug it into a powered speaker and really rock out. We’ve got his demo tape queued up after the break.
We love pocket instruments around here. If you prefer brass and woodwinds, this pocket woodwind MIDI controller just might draw your lips into an O.
Continue reading “NES Controller Slider-Based Light Theremin”
When you need to quantify the color of an object, you’ve got quite a few options. You can throw a Raspberry Pi camera and OpenCV at the problem and approach it through software, or you can buy an off-the-shelf RGB sensor and wire it up to an Arduino. Or you can go back to basics and build this reflective RGB sensor from an LED and a photocell.
The principle behind [TechMartian]’s approach is simplicity itself: shine different colored lights on an object and measure how much light it reflects. If you know the red, green, and blue components of the light that correspond to maximum reflectance, then you know the color of the object. Their sensor uses a four-lead RGB LED, but we suppose a Neopixel could be used as well. The photosensor is a simple cadmium sulfide cell, which measures the intensity of light bouncing back from an object as an Arduino drives the LED through all possible colors with PWM signals. The sensor needs to be white balanced before use but seems to give sensible results in the video below. One imagines that a microcontroller-free design would be possible too, with 555s sweeping the PWN signals and op-amps taking care of detection.
And what’s the natural endpoint for a good RGB sensor? A candy sorter, or course, of which we have many examples, from the sleek and polished to the slightly more hackish.
Continue reading “Color Sensor from an RGB LED and a Photocell”
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”
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”
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”
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”
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.