Remember Simon? We sure do. Simon — as in “Simon says…” — from the leading edge of electronic games in the 1970s, which used four buttons, colored lights, and simple tones as the basis for a memory game. Players had to remember the specific sequence of lights and replay the pattern in order to advance to the next round. It was surprisingly addictive, at least for the era.
For those who never quite got into the Simon groove, fear not — the classic game has now been fully automated. While there were plenty of approaches that could have taken to interfacing to the game, [ido roseman] went with the obvious — and best, in our opinion — technique and simulated a human player’s finger presses with servo-controlled arms. Each arm carries a light-dependent resistor that registers the light coming from the key it’s poised above; the sequence of lights is sensed and recorded by an Arduino, which then drives the servo fingers’ replay attack. The fingers aren’t exactly snappy in their response, which might cause problems — if we recall correctly, Simon is somewhat picky about the speed with which the keys are pressed, at least at higher levels of play.
On the whole, we really like this one, not least for the nostalgia factor. We’ve had a lot of recreations of Simon over the years, including a Dance Dance Revolution version, but few attempts to automate it. And a crazy idea: wouldn’t it be fun to replace the replay attack with a machine learning system that figures out how to play Simon by randomly pressing keys and observing the results?
Continue reading “Four Servo Fingers Play Simon Better Than You Ever Could”
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”