tag:blogger.com,1999:blog-426654161750451120.post7783961038078637638..comments2018-12-02T08:09:50.720-08:00Comments on Harp Laser Blog: Fritzing drawing and Arduino Code v5.0Ruetehttp://www.blogger.com/profile/06859848791529435588noreply@blogger.comBlogger59125tag:blogger.com,1999:blog-426654161750451120.post-58820070625880876922016-05-22T18:27:23.601-07:002016-05-22T18:27:23.601-07:00MIck, If you want the motor to take two steps inst...MIck, If you want the motor to take two steps instead of one just delete this entire section:(and any other you want between where it says: "liga laser #" and "desliga laser #":<br /><br /><br /> digitalWrite(LaserPin, HIGH); // liga laser 2<br /> delay(delayligado); <br />//********************************************************************************************************************************** <br />if( (analogRead(0) >sensor ) && (buttonPresses == 0) ) //se o sensor esta ativado E ainda nao começou a tocar entao toca a nota++++++++++++<br /> <br /> { <br /> // faça A -----------------------------------------------------------------------------------------------------------<br /> digitalWrite(13, HIGH); // acende o led <br /> noteOn(0x90, note2, 0x7F); // toca a nota no: channel 1 = (0x90), nota = (note), volume = (0x7F)<br /> buttonPresses++; // aumenta o valor do buttonPresses (para avisar que a nota ja comecou a tocar)<br /> } <br /> <br />// -------------------------------------------------------------------------------------------------------------------- <br />else if(analogRead(0) <sensor ) // e se o sensor esta desativado +++++++++++++++++++++++++++++++++++++++++++++++++++++++<br /> <br /> { // // faça B = silencia a nota<br /> digitalWrite(13, LOW); // desliga o led <br /> noteOn(0x90, note2, 0x00); // silencia a nota no: channel 1 (0x90), nota = (note), volume de silencio = (0x00)<br /> buttonPresses = 0; // zera o "buttonPresses"<br /> } <br />//**********************************************************************************************************************************<br /> digitalWrite(LaserPin, LOW); // desliga laser 2<br /> delay(delaydesligado); <br />Ruetehttps://www.blogger.com/profile/06859848791529435588noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-78778650713819560582016-05-22T01:11:06.485-07:002016-05-22T01:11:06.485-07:00I have a motor that makes small steps, how to chan...I have a motor that makes small steps, how to change the code to motor instead of with one step performed two or three steps?<br />Micknoreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-61489140953527308012016-05-21T15:58:28.396-07:002016-05-21T15:58:28.396-07:00Mick, não entendi direito o que você disse...
Fale...Mick, não entendi direito o que você disse...<br />Fale em ingles então.<br />Mas vou tentar responder: É possível mudar onde o motor começa e termina(volta). E também quantos passos ele anda até parar e recomeçar.<br />Ruetehttps://www.blogger.com/profile/06859848791529435588noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-37155421213484536752016-05-21T14:00:05.939-07:002016-05-21T14:00:05.939-07:00É possível mudar o motor começou e onde ele mudou,...É possível mudar o motor começou e onde ele mudou, porque eu tenho um motor que faz com que pequenos passos e vigas de ver, mas todo o feixe de laser é ao nível dos olhos 15 centímetros. Desculpe pelo meu Português, eu sou um Pólo.Micknoreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-21998525400478081112016-05-10T13:30:45.882-07:002016-05-10T13:30:45.882-07:00Para mudar a velocidade tente alterar estas duas l...Para mudar a velocidade tente alterar estas duas linhas do código:<br /><br />int delayligado = 5; //minimo 2 para aparecer direito o laser<br />int delaymexe = 3; //delay entre movimentos minimo 3Ruetehttps://www.blogger.com/profile/06859848791529435588noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-2468039312063772612016-05-06T09:51:35.212-07:002016-05-06T09:51:35.212-07:00Oi, onde no código para alterar a velocidade do mo...Oi, onde no código para alterar a velocidade do motor, porque eu tenho um problema tão grande. https://www.youtube.com/watch?v=017SS6g1q34Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-46374428474805032772013-10-23T18:32:58.662-07:002013-10-23T18:32:58.662-07:00Olá, meu nome é Daniel e estou tentando projetar u...Olá, meu nome é Daniel e estou tentando projetar uma Harpa Laser do tipo frameless, porém estou tento alguns impasses... Quanto a projeção do laser após bater no espelho, seria correto aparecer "pontos" refletidos, mas o que está ocorrendo na verdade são pequenos traços, de mais ou menos 4cm. Peço urgentemente seu auxilio. Meu e-mail de contato é:<br />* daniell.cass@hotmail.com<br /><br />FACEBOOK: facebook.com/danielmart01<br /><br />Obrigado pela atenção e espero seu feedback o mais rápido possível.Daniel Martinsnoreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-6505834385868446292013-06-10T07:13:04.297-07:002013-06-10T07:13:04.297-07:00@Ark,
This will help you find out how to wire you...@Ark,<br /><br />This will help you find out how to wire your motor:<br /><br />http://www.youtube.com/watch?v=fTtwWJZlGt4&feature=player_embedded<br /><br />http://www.easterngeek.com/2010/06/how-to-identify-stepper-motor-lead.html<br /><br />Good luck,<br />Ruete.Ruetehttps://www.blogger.com/profile/06859848791529435588noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-79800864990990717802013-06-10T07:08:46.705-07:002013-06-10T07:08:46.705-07:00Este comentário foi removido pelo autor.Ruetehttps://www.blogger.com/profile/06859848791529435588noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-22065758976610662772013-06-09T23:43:27.401-07:002013-06-09T23:43:27.401-07:00Hi,
Super project. I would request if you could gi...Hi,<br />Super project. I would request if you could give me figure out how to connect NEMA17 to ULN 2003. Google something helps but I'm not sure.<br />thank you<br />My e-mail dr.diodac@gmail.com<br /><br />ArkAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-48518852591755472912012-11-13T09:47:08.119-08:002012-11-13T09:47:08.119-08:00Hello!
That works but as my lasers are fed with in...Hello!<br />That works but as my lasers are fed with inverse TTL (when there is +5v, the laser is switched off), the red laser makes the opposite of what I look for...<br />Can you help for that? thank you :)steinhttps://www.blogger.com/profile/06580050327367745905noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-10355214505946982462012-11-11T05:33:26.125-08:002012-11-11T05:33:26.125-08:00in fact I think the code is what I wanted to do, I...in fact I think the code is what I wanted to do, I try now!<br /><br />I also doing a pcb circuit to simplify assembly but i make the second for the red laser now.<br />http://i34.servimg.com/u/f34/13/54/23/66/sdc10214.jpg<br /><br />And my harp laser: <br />http://i34.servimg.com/u/f34/13/54/23/66/sdc10215.jpgsteinhttps://www.blogger.com/profile/06580050327367745905noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-59287835972334151872012-11-11T05:08:38.695-08:002012-11-11T05:08:38.695-08:00thank you a lot for the code :)
However, I wanted ...thank you a lot for the code :)<br />However, I wanted to run both at the same time laser when the note is played ( my red laser is less powerful than the green)-> red+green to have yellow color. <br />It will avoid having problem with the sensor.<br /><br />français:/<br />merci pour le code :)<br />néanmoins, je voulais faire fonctionner les deux laser en même temps quand la note est jouée (mon laser rouge se voit beaucoup moins que le vert) <br />ça éviterai d'avoir des problèmes au niveau du capteur.<br />/steinhttps://www.blogger.com/profile/06580050327367745905noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-13794791147604668322012-11-10T11:53:05.171-08:002012-11-10T11:53:05.171-08:00One more thing:
Substitute all line with this:
&q...One more thing:<br />Substitute all line with this:<br /><br />"digitalWrite(13, LOW);" <br /><br />for this<br /><br />"digitalWrite(13, LOW); digitalWrite(LaserPin2, LOW);"<br />Ruetehttps://www.blogger.com/profile/06859848791529435588noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-31268127576521903872012-11-10T11:49:26.123-08:002012-11-10T11:49:26.123-08:00Hi again Stein! They say a picture is worth a thou...Hi again Stein! They say a picture is worth a thousand words! Well in your case a video is worth a million words! :)<br />Now that I saw the video I think I understand what you want to do: you want to turn a red laser on when the note is played, right?<br />I think this is possible with a few modifications here.<br /><br />First I need to explain how this laser harp works: when you reflect the laser light with a glove(play a note), the light sensor comunicates to the arduino that the laser is on, and the arduino plays a midi note until the light sensor tells it the laser reflection has stopped.<br />So if you use a red laser you will need to calibrate the light sensor so it continues to tell the arduino the laser is still on.(the reflection from the red laser will send a different amount of light then the green laser) <br /><br /><br />You will need to modify the following things:<br /><br />1) Look at the picture below:<br /><br />http://1.bp.blogspot.com/-8Rq-SQnTIFY/TzmbNry7BNI/AAAAAAAAABc/Z6ovdwS2c0c/s1600/ruete-laser-harp.jpg<br /><br />I used arduino pin # 7 to turn the green laser on.<br />You must repeat the same thing using arduino pin # 6 and a red laser.<br /><br />2) Insert a new code line inside arduino programing to turn the red laser on, when a note is played. TO do this substitute all lines like this:<br /> <br />"digitalWrite(13, HIGH);"<br /><br />with this:<br /><br />"digitalWrite(13, HIGH);<br />digitalWrite(LaserPin2, HIGH);"<br /><br />3) Add a parameter definition for the red laser at the begining of the code change from this:<br /><br />"const int LaserPin = 7; // define pin do arduino para o laser"<br /><br />to this:<br /><br />"const int LaserPin = 7; // define pin do arduino para o laser<br />const int LaserPin2 = 6; // red laser"<br /><br />4) Use some mirrors to aim the red laser so it shines at the same place as the green laser!<br /><br />5) Calibrate the light sensor changing the value of this line:<br /><br />int sensor = 8 ; // valor do sensor calibrado<br /><br />Good luck! Tell me if you have success!Ruetehttps://www.blogger.com/profile/06859848791529435588noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-73671299750523661692012-11-08T07:44:15.984-08:002012-11-08T07:44:15.984-08:00Okay ^^ '
Well, then I have at the moment a gr...<br />Okay ^^ '<br />Well, then I have at the moment a green laser for you for your project.<br />I would like to put a second laser who run when we play a note as this:<br /><br />http://www.teferic.de/video/2/video/%20laser%20harpe/xp5lsq.html<br /><br />But by coupling beam (first laser and the second laser togethers)<br /><br />sorry again, I have difficulty in English and google translation do not help me a lot ^^'steinhttps://www.blogger.com/profile/06580050327367745905noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-84579206391355040252012-11-07T16:34:29.479-08:002012-11-07T16:34:29.479-08:00sorry Stein... now you really got me confused...
p...sorry Stein... now you really got me confused...<br />please explain in more detail what you mean and I will try to help.Ruetehttps://www.blogger.com/profile/06859848791529435588noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-24533913330084965132012-11-05T09:52:09.407-08:002012-11-05T09:52:09.407-08:00Sorry for the bad english ^^'
I meant that I a...Sorry for the bad english ^^'<br />I meant that I already realize the project but I try to couple the green laser with the red when the note is active...<br />- > when the exit 13 is active, to copy out the exit 7 towards another exit (for example 6) and to be able to control two lasers.<br />it's possible? <br /><br />And thank you for the code and the description of the project, it is really great :)steinhttps://www.blogger.com/profile/06580050327367745905noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-16307748172001083182012-11-05T06:46:08.419-08:002012-11-05T06:46:08.419-08:00I'm not sure I understand what you mean...
If ...I'm not sure I understand what you mean...<br />If you want to use two lasers at the same time, just adjust the second laser to shine at the same place the first laser is located. It will work as a dummy laser. It will shine at the same place, but the real trigger will be activated only by the first laser.<br />The secret is that midi notes are activated by a light sensor that detects "WHEN" the laser has been activated.<br />So if it detects laser light (reflection by the white gloves) WHEN the second beam is on for example it will send a midi D note (or any other note you setup)<br />It appears to the human eye that the harp laser is always on but in reality it shines one beam at a time.<br />This is how it works and how you can modify it. <br />I hope this helps.<br /><br />Ruetehttps://www.blogger.com/profile/06859848791529435588noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-63907046668935268892012-11-03T08:00:08.745-07:002012-11-03T08:00:08.745-07:00Hello,
I have two lasers (green and red)and i wou...Hello, <br />I have two lasers (green and red)and i would like wen a note is playing, couple the lasers to have a powerfull ray. How i can make that? <br />Thanks a lot (and sorry for my english ^^')steinhttps://www.blogger.com/profile/06580050327367745905noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-81710836351456522832012-08-15T17:36:27.162-07:002012-08-15T17:36:27.162-07:00About price: you should be able to find a 300mW gr...About price: you should be able to find a 300mW green laser pointer for about US$40 here:<br /><br />http://www.dhgate.com/wholesale/search.do?act=search&supplierid=&isfactory=&sus=&searchkey=300mw+green+laser&catalog=#search<br /><br />or here:<br /><br />http://www.alibaba.com/trade/search?SearchText=300mw+green+laser+pointer&CatId=0&IndexArea=product_en&isExportPage=Y&sq=y&fsb=y<br /><br />P.S.: I am not afiliated with any of these vendors.Ruetehttps://www.blogger.com/profile/06859848791529435588noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-15798782120270779582012-08-15T17:35:57.127-07:002012-08-15T17:35:57.127-07:00Este comentário foi removido pelo autor.Ruetehttps://www.blogger.com/profile/06859848791529435588noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-37420994569981944312012-08-15T16:41:39.750-07:002012-08-15T16:41:39.750-07:00Here are some tips to choose a good laser to use w...Here are some tips to choose a good laser to use with this project:<br /><br />1) Green lasers are more cheap than other colors and you can see them a lot better. For exemple if you shine a 100mW green laser and a 100mW red laser, the green one will appear to be a lot more brighter. So I choose a green one.<br /><br />2) You must use some kind of fog to see it. This will depend on your budget. Here are a few options:<br />a) Fog machine (medium room to big room depending on the power of the machine).<br />b) Water Humidifier(will work only in a small room).<br />c) Turn your shower into hot position and wait... (will work on your bathroom ;) ) lol...<br /><br />Those little 5mw green laser pointers will not work. Dont waist you money and time with them.<br /><br />I used a 300mW green laser pen and a 1000mW green laser pen. Some people told me the label says it is rated 1000mW but it is not a REAL 1000mW laser.<br />I dont have a laser power meter so I cannot say if it outputs real 1000mW or not. But I can say it works. (You can see for yourself in the youtube video I posted in this blog. This one is the 1000mW used in a small room (my studio) with a water humidifier turned on.<br /><br />Try to get at least a 100mW green laser pen. (and dont forget to buy and use the safety googles too).<br />If you can afford a more expensive one, go and buy it.<br />Most people use a 300mW certified module (modules are a little more expensive then a laser pen).<br />I used a pen because it was more cheap and easy to use. (you see I am not a master at electronics, and I guess laser modules would be a little harder for me to use.)<br /><br />This was just a hobbie for me and but since I love Jean Michel Jarre music, I tryed until I eventualy succeed with it. <br /><br />Hope this helps! Cheers!<br /><br />Ruetehttps://www.blogger.com/profile/06859848791529435588noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-87389394937171239512012-08-15T02:39:54.088-07:002012-08-15T02:39:54.088-07:00Thanks... Yes we will now be getting ourselves som...Thanks... Yes we will now be getting ourselves some laser safety gogg'z. Anyway how powerful was a laser pen? Cost? Were the beams visible enough? (in smoke)Anonymoushttps://www.blogger.com/profile/15189770225669009804noreply@blogger.comtag:blogger.com,1999:blog-426654161750451120.post-49647934836487982692012-08-14T06:41:32.641-07:002012-08-14T06:41:32.641-07:00Just a reminder: be carefull with lasers. Always u...Just a reminder: be carefull with lasers. Always use safety goggles. It can really damage your eyes if it shines for a split second inside your eyes and you dont use them. Believe me it is worth to buy them.<br />Just search ebay.com for "laser safety goggles" and you will find them for less than US$10.<br />Here is an example of safety google for a green laser:<br /><br />http://www.ebay.com/itm/Protection-Goggles-Laser-Safety-Glasses-Green-Blue-/110607705525?pt=LH_DefaultDomain_0&hash=item19c0bba5b5#ht_4983wt_934<br /><br /><br />About burning a laser, I have burned a couple of them too... :(<br />Try searching for laser forums and most of them have a section where they explain in detail how much power you should use for a laser.<br /><br />Since I used a laser pen for this project, it was easy to just exchange the baterries that were used originally for a similar power supply.Ruetehttps://www.blogger.com/profile/06859848791529435588noreply@blogger.com