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”
[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”
[Jared] had a bunch of lasers left over from a previous project that he put to use by producing this laser harp. The look of it reminds us of a very small Koto or perhaps an Autoharp (although the chords can’t be changed on this model).
We’re so glad that [Jared] spent the time to produce such a fine looking body for the instrument. The strings that would traditionally produce the sound on a harp have been replaced with laser diodes shining at Cadmium Sulfide photo resistors. When a beam of light is broken, an Arduino detects the change via the CdS cell and plays a sound through an Altec Lansing speaker inside of the case.
Unfortunately there’s no video available but we’re pretty sure it makes a “pew-pew” sound. There is a link to download the source code but it points to the overview page instead of downloadable code. From the fritzing diagram the CdS cells are part of a voltage divider which provides digital logic to the Arduino. That should be pretty easy to replicate even without seeing [Jared’s] code and we’re sure you can source other Arduino instrument projects for tips on wave shield or midi functionality.
[Thanks The Cheap Vegetable Gardener]