{"id":98,"date":"2012-01-04T08:13:21","date_gmt":"2012-01-04T08:13:21","guid":{"rendered":"http:\/\/www.ryankirkbride.com\/?p=98"},"modified":"2012-01-04T08:32:47","modified_gmt":"2012-01-04T08:32:47","slug":"of-lasers-and-servos-and-crow-retinas","status":"publish","type":"post","link":"http:\/\/www.ryankirkbride.com\/?p=98","title":{"rendered":"Of lasers and servos&#8230; and crow retinas."},"content":{"rendered":"<p>Last week I saw a nice art project posted over on Engadget: <a href=\"http:\/\/www.engadget.com\/2011\/12\/26\/matt-richardson-turns-arduino-twitter-and-lasers-into-art-vide\/\">Matt Richardson&#8217;s &#8220;Fade Away&#8221;.<\/a>\u00a0It uses a servo-powered pan-tilt arrangement and laser to write out tweets that contain the text &#8220;Fade Away&#8221; on a phosphorescent sheet.<\/p>\n<p>It is a very clever and beautiful piece of art, and struck me because it is so much better than a \u00a0laser pan-tilt rig I am building an attempt to solve a more practical problem: The <a href=\"http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/IMG_1045.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-99\" title=\"IMG_1045\" src=\"http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/IMG_1045-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/IMG_1045-300x225.jpg 300w, http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/IMG_1045-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>biblical plague of crows that invade campus each night in the fall and winter, and then spend the next few months defecating on everything in sight.<\/p>\n<p>One of my discoveries a while back is that I could drive off the crows from my lab window using my green laser pointer. The crows <em>really<\/em> don&#8217;t like it.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><!--more--><\/p>\n<p>At one point we tried developing a Rube-Goldberg style apparatus using a laser pointer and mirror ball as a crow\u00a0deterrent, to no avail. The result was to diffuse, and I was worried an errant light pluse might blind a motorist in the parking garage. It was a bit random and clumsy, not to mention ineffective.<\/p>\n<p>My solution to the \u00a0moved by a pair of servos all under the control of an <a href=\"http:\/\/www.arduino.cc\/\">Arduino<\/a> microcontroller. I went with a nice red laser since it had TTL control in case I ever wanted to do something crazy like make a laser-based communication device out of it. This will be important later.<\/p>\n<p>I had the rig together for sometime, and was able to test it out. I was able to make the laser draw a simple grid and using a darkened room and a long exposure to catch the progression of the laser. \u00a0Note, each line is a fixed number of degrees of pan an tilt, the stretching at the top<a href=\"http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/IMG_0904.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-101\" title=\"IMG_0904\" src=\"http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/IMG_0904-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/IMG_0904-300x225.jpg 300w, http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/IMG_0904-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> is because I&#8217;m not projecting on the surface of a sphere or breaking out the trig to correct\u00a0the spacing. Anyhow, it worked okay, but the quality of the servos and mount don&#8217;t allow me the type of precise control Richardson is getting- you can see alignment problems at the left hand size and top right, even though those lines should be overlapping.<\/p>\n<p>You can watch a video of it in motion here:\u00a0<a href=\"http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/MVI_0906.avi\">MVI_0906<\/a>. I think it is kind of adorable.<\/p>\n<p><a href=\"http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/IMG_1054.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-103\" title=\"IMG_1054\" src=\"http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/IMG_1054-300x245.jpg\" alt=\"\" width=\"300\" height=\"245\" srcset=\"http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/IMG_1054-300x245.jpg 300w, http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/IMG_1054-1024x837.jpg 1024w, http:\/\/www.ryankirkbride.com\/wp-content\/uploads\/2012\/01\/IMG_1054.jpg 1536w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>So, after playing with it at home, it was time for a proper field test. One change that had to be made were the proper safety warnings of course.<\/p>\n<p>And that is where the problem arises. Turns out the crows, while were easily perturbed my the green laser pointer, were essentially immune to the red laser pointer. Here&#8217;s why:<\/p>\n<p>The red laser I purchased from Sparkfun emits at\u00a0654.5 nm, which is probably good if you are trying to light up <a href=\"http:\/\/en.wikipedia.org\/wiki\/Cy5\">Cy5<\/a>, but turns out not to be so hot for the wavelengths absorbed by bird&#8217;s eyes (see\u00a0<a href=\"http:\/\/www.uq.edu.au\/~uqnhart\/Hart_finches.pdf\">http:\/\/www.uq.edu.au\/~uqnhart\/Hart_finches.pdf<\/a>, figure 1a). In fact, based on that paper the cone cells of birds eyes should be orders of\u00a0magnitude\u00a0better at absorbing green light as opposed to red light. Which explains the difference: green laser= irritated departure of crows, red laser= indifference.<\/p>\n<p>Not that human eyes are actually all that great at absorbing light at 654.5 nm either. Humans are most sensitive to green wavelengths light. Which is why the night vision light amplification systems work in the green spectrum: our eyes are better at picking up photons in the green spectrum than any other, and are these more sensitive.<\/p>\n<p>Birds do have UV sensitive cones&#8230;. which might be a useful alternative. Bother the birds, but invisible to humans. Time to go look up UV lasers and their potential risks to human vision&#8230;.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I saw a nice art project posted over on Engadget: Matt Richardson&#8217;s &#8220;Fade Away&#8221;.\u00a0It uses a servo-powered pan-tilt arrangement and laser to write out tweets that contain the text &#8220;Fade Away&#8221; on a phosphorescent sheet. It is a &hellip; <a href=\"http:\/\/www.ryankirkbride.com\/?p=98\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.ryankirkbride.com\/index.php?rest_route=\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ryankirkbride.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ryankirkbride.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ryankirkbride.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ryankirkbride.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=98"}],"version-history":[{"count":14,"href":"http:\/\/www.ryankirkbride.com\/index.php?rest_route=\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":118,"href":"http:\/\/www.ryankirkbride.com\/index.php?rest_route=\/wp\/v2\/posts\/98\/revisions\/118"}],"wp:attachment":[{"href":"http:\/\/www.ryankirkbride.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ryankirkbride.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ryankirkbride.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}