Instructables
loading
loading
Picture of Frameless Laser Harp
laser harp instructable2.jpg
laser 5.tif
vlcsnap-2013-11-10-14h56m02s23.png
vlcsnap-2013-11-10-15h03m15s148.png
We are a generation that love sound and light – can’t do without them really. Our most preferred time of day is night, or what we would call evening. We are particularly well acquainted with technology; doesn’t hurt these days. Our prerequisite for everything is that it be ‘cool’. Put it all together and in a stroke of brilliance, and a little help from our friend the internet, we have the ideal solution – a laser harp.

A laser harp, what on earth is that? Sounds kind of fancy doesn’t it? Well, it is basically what it says it is. The laser harp is an electronic instrument where a motor, a light sensor, a microprocessor Arduino, and, I’m sure you’ve guessed, a laser collaborate to produce beams, each representing a note (we will elaborate for those who care to read on). This harp though doesn’t have a frame: its strings stretch out infinitely into space – we know no boundaries.

Our inspiration was a video we had watched online and found rather fascinating. Apart from the fact that the prospect of creating it without too much expenditure, mental or monetary, was exciting, it seemed a project providing scope for learning in different areas, especially since we wanted to present it as a complete product. Part research, part reverse engineering led us to figure out its functioning. Admittedly, we have not contributed any addition to the original creation, but to achieve it was in itself gratifying. And there’s always room for originality and improvement in the future. 

If you like our instructable please vote for it at the top  right corner of the page!

For making this laser harp you will require basic soldering skills, and some experience working with the arduino.

Word of caution: Lasers are very harmful for the eyes, make sure you wear appropriate eye protection.

Our Video will be ready in another 12 hours! Do come back and check it out!


Here's the link to the video that inspired us :
 
Remove these adsRemove these ads by Signing Up
1-40 of 154Next »
Stormrage1 year ago
One of my dreams was to have a laser harp. The only thing I need now is to go buy some 2n222 ULN2003 and, uhm my question was: What kind of/ speed/ steps, steper motor can I use? Hacking some old printer or something, any idea will be appreciated :)
Thx, and btw, one of the greatest and really simplest instructable for a complicated stuff that everyone could be amazed with :) Keep it up !
Pushan Panda (author)  Stormrage1 year ago
:)
The motor ive used is actually salvaged from some old electronics, any kind of stepper will do the job, you might need to modify the code a bit. I would be happy to help, just send me a message.

To be honest, I would LOVE to see you making a Youtube video creating one Laser Harp...it's just 'cause my mind really will have no chance if it is reduced to writing explanation. We are talking about a Laser Harp, it is a complex thing to do, and not everyone has the same talent to make a Laser Harp the easy way like you do. :)

I was actually going to rewrite the code to work directly via usb, not through MIDI... Any ideas about that?
Well, the problem isn't in the code really, now the problem is that I can't find ULN2003 here... Do you know anything compatible to that maybe? :)

also it would be cool if there is a way to get 3 lasers and make em switch colors hahaha just sayin :)
and, perhaps a positioning picture (where the circuit is, LDR and stuff would be good, cos I'm really planing to do a "Laser Harp Shield" for this one :)
This is awesome, great instructable!!! If you plan on only using it with the computer, and don't need the midi out jack, couldn't you theoretically use only the arduino, and scrap the usb/midi converter cable? There are loads of arduino projects out there that output midi via the arduino's usb cable (and maybe some software on the computer side too).
You could even make it wireless :) http://www.ladyada.net/make/xbee/midibee.html
Pushan Panda (author)  jonnyboy3231 year ago
Yes, i just checked it out, and it isnt too hard too send MIDI signals over USB!
That's a wonderful idea! Thank you!
Great 'ible! I have most of these parts laying around, and have been looking for something to do with some spare laser diodes and steppers. I saw this (or one just like it) on Hack a Day recently, and though 'How cool would it be to make one of these.' Awesome, thanks!
Pushan Panda (author)  origamimavin1 year ago
Thank you! Do put up some pics after you are done!
starphire1 year ago
I love how you've managed to simplify the hardware necessary for a laser harp. Well done! Since I already have most of these materials lying about, it looks like a fun project for an idle weekend.
I'm also curious how you would go about detecting the height at which a player was cutting the beam in an enhanced version of this instrument-care to share your thoughts? I would love to add that function.
Pushan Panda (author)  starphire1 year ago
Thank you! I would use an ultrasonic sensor to read the distance of the players hand, which in turn would control the pitch or volume of the midi notes.
nanaverm1 year ago
Wow! This is like a visible version of a theremin, and it sounds better, too.
Pushan Panda (author)  nanaverm1 year ago
:) That's exactly what i thought i when first saw it!
LeumasM16 days ago

I've had an issue with this code. The software will say that it needs an "," or a ";" after I've typed "int sensor = 8 ;"

LeumasM16 days ago

I have an issue withe the code:

int sensor = 8 ;

The software gives me an error (expected ',' or ';' before 'int')

LeumasM16 days ago

What do I do if the code is having an issue with LaserPin?

Think there's no need for transistor and the stepper motor, could be easier, good instructable

Can it be made with other type of motor, like a servo or a DC motor?

ajinkyadixit made it!2 months ago

Yipppppiii.................. I made it............ Its 100% Working...... Awesome experience to play with it. My setup has 5mW high bright green laser & stepper motor salvaged from printer. I am also generating music from FL Studio...... :) :) Very soon i will post an instructable on it. I am very very thankful of @Pushan Panda & issac_engel for inspiration behind this.

IMG_20150214_223835.jpgIMG_20150220_163920.jpgIMG_20150220_212956.jpgIMG_20150220_212959.jpg
kiscool2 months ago
Hi to all. Since my first read of this instructable, my laser harp was realised. I use 20k galvos and 500mW RGB laser with analog modulation. In few month, it Will be configurable using Bluetooth. here is the video : http://youtu.be/BC_JwJ2gc0g
bowser113 months ago
Question: which website did you get the uln2003 from?
isaac_engel made it!3 months ago

Hey there! We loved your instructable and made it as a project for our school. We used a less powerful laser so it is not as good-looking as yours but it is awesome anyway! We also made our own instructable. Check it out if you like! Instructable: http://www.instructables.com/id/Easy-and-cheap-Laser-Harp/ Video: https://www.youtube.com/watch?v=_lUJ7XdP1Ic

FADHXQNI66CVONX.MEDIUM.jpgFGMQ1QUI66CVKPU.LARGE.jpg
lthomas9873 months ago

Are there any special requirements for the stepper? Will any old 6 wire stepper do?

ncp6194 months ago

give me a full details with all type of codes and circuit diagram.. please i wanna make for my college project... ncp619@gmail.com

Good day Pushan Panda i was bit confuse were is the position of the LDR in the project,,i am very interesting about this laser harp and im planning to build it,,,hope you can help me about this,,,thank you very much

Do you need a pointer laser or TTL laser? My 100 mw pointer laser is not really even visible in the dark. I get separation but its just extremely weak. I know some suggested smoke or dry ice but I want this to work without that assistance.

do you have the stepper motor working? what kind of motor are you using?

DBender5 months ago

How do I find out if I am getting midi data into the program?

DBender5 months ago

Hello friend, okay? you could explain me better how to shake in FL studio program would like to know how to receive the midi data, I'm already eat midi palca connected but do not know how to get the Arduino data and configure the sounds, u could help me? Thank you

LeelaKrishna made it!11 months ago

I made my own code for this (Using stepper motor library and its much more efficient) and it runs fine. It also includes a start sequence where the laser goes back and forth slowly getting faster and faster until its a line and then it splits apart into the 13 different beams which include all the notes of the middle octave:

#include <Stepper.h>

const int stepsPerRevolution = 400; // change this to fit the number of steps per revolution

// for your motor

// initialize the stepper library on pins 8 through 11:

Stepper beamsplitter(stepsPerRevolution, 8, 9, 10, 11);

int LaserState = LOW; // The variable that stores the state of the laser beam.

int sensor = 8 ; // Change this value to calibrate your harp's sensor

int delaylaser = 2000; // If you increase this, the laser will be brighter, but the harp will be less fluid

int motorspeed = 100; // This variable affects the speed, and fluidity of the harp.

int stepsize = 2; //size between beams

int LaserPin = 7; // Tell the arduino that the laser is on pin 7

int startupspeed = 3;

int pos = 0; // position of the laser

int beams = 12; // number of beams

int pitch;

void setup() {

pinMode(LaserPin, OUTPUT); // Setup for laser.

pinMode(6, OUTPUT); // Setup for status led.

digitalWrite(LaserPin, HIGH);

delay(1500);

//start sequence

beamsplitter.setSpeed(startupspeed);

beamsplitter.step((-beams * stepsize / 2)-1);

for (int x = 1; x < 60; x++) {

if (x<30) {

startupspeed = 103 - (100/pow(x, 1.0/4.5));

}

if (x>=30) {

startupspeed = 103 - (100/pow(x, 1.0/1.0));

}

beamsplitter.setSpeed(startupspeed);

for (int pos = beams; pos > 0; pos--) { // turn in other direction

beamsplitter.step(stepsize); // direction

}

for (int pos = 0; pos < beams; pos++) { // turn in other direction

beamsplitter.step(-stepsize); // direction

}

}

beamsplitter.setSpeed(motorspeed);

Serial.begin(31250);

}

void loop() {

for (pos = 1; pos < beams; pos++) { // turn in first direction

beamsplitter.step(stepsize); // switch position

//delayMicroseconds(delaymotor);

digitalWrite(LaserPin, HIGH); // turn on laser

delayMicroseconds(delaylaser / 2);

if ( (analogRead(0) > sensor ))\ // If the sensor gets a signalx

{

digitalWrite(6, HIGH); // Switch on status led.

noteOn(); // Play note 3

}

else if (analogRead(0) < sensor ) // If the sensor does not get a signal:

{

digitalWrite(6, LOW); // Switch off the status led.

noteOff(); // Stop playing note 2.

}

delayMicroseconds(delaylaser / 2);

digitalWrite(LaserPin, LOW); // Turn off the Laser.

}

for (pos = beams; pos > 1; pos--) { // turn in other direction

beamsplitter.step(-stepsize); // direction

//delayMicroseconds(delaymotor);

digitalWrite(LaserPin, HIGH); // turn on laser

delayMicroseconds(delaylaser / 2);

if ( (analogRead(0) > sensor )) // If the sensor gets a signal

{

digitalWrite(6, HIGH); // Switch on status led.

noteOn(); // Play note 3

}

else if (analogRead(0) < sensor ) // If the sensor does not get a signal:

{

digitalWrite(6, LOW); // Switch off the status led.

noteOff(); // Stop playing note 2.

}

delayMicroseconds(delaylaser / 2);

digitalWrite(LaserPin, LOW); // Turn off the Laser.

}

}

void noteOn() // Function to play the notes

{

pitch = 60 - (beams + 1) / 2 + pos;

Serial.write(0x90);

Serial.write("0x" + pitch);

Serial.write(0x7f);

}

void noteOff() // Function to play the notes

{

pitch = 59 + pos;

Serial.write(0x90);

Serial.write("0x" + pitch);

Serial.write(0x00);

}

IMAG1440.jpgIMAG1441.jpgIMAG1442.jpgVIDEO0196_01_0000019432.jpg

Hi........ First of all congrats on making this successfully.

Is your system working...??? May i request you for a video...????

If you can send me video, please mail me on dixitad88@gmail.com

I used a 100mw laser and took the picture in the bathroom after filling it with steam from the shower.

I compiled the code and found this stray "\" on this line:

if ( (analogRead(0) > sensor ))\ // If the sensor gets a signalx

you're right but i don't think it really affected the code.

Yep! It doesn't make any difference at all.

I am considering using the L298N H-Bridge IC to drive the stepper mounted on a heatsink. Do you think that an EasyDriver Board could be used instead? I have a couple of them laying around.

Also, if you look at my picture, you see that my "strings" are infact pretty wide and rather thick vs being like a single line. This might be because i'm using a crappy transistor for the laser. Also the beam is ever so slightly off from the position its at when it turns on while it goes in one direction vs the other. for example: beam 3 when the motor is going from right to left could be about .5 cm away from where it is when its going from left to right, these beams do overlap mostly but you can still notice the flickering pretty well. I may just need to replace the transistor. Something else i might try soon is not have the the laser turn on going the other direction. ex: replace the current void loop w/

void loop() {

for (pos = 1; pos < beams; pos++) { // turn in first direction

beamsplitter.step(stepsize); // switch position

//delayMicroseconds(delaymotor);

digitalWrite(LaserPin, HIGH); // turn on laser

delayMicroseconds(delaylaser / 2);

if ( (analogRead(0) > sensor ))\ // If the sensor gets a signalx

{

digitalWrite(6, HIGH); // Switch on status led.

noteOn(); // Play note 3

}

else if (analogRead(0) < sensor ) // If the sensor does not get a signal:

{

digitalWrite(6, LOW); // Switch off the status led.

noteOff(); // Stop playing note 2.

}

delayMicroseconds(delaylaser / 2);

digitalWrite(LaserPin, LOW); // Turn off the Laser.

}

beamsplitter.step(beams*stepsize);

}

ajinkyadixit9 months ago

So... So... So..... Great Project...... But I am still not getting about where LDR is mounted so that it can detect every ray.... Please let me know where to put the LDR.... Thank You.

Pushan Panda (author)  ajinkyadixit6 months ago

Thanks!

The LDR has a pretty wide range of detection, I am putting it in my device facing upwards into the beams, so that when your hand cuts one of the beams the diffused reflected light is picked up as a spike by the LDR.

1-40 of 154Next »