{"id":9,"date":"2011-07-09T06:50:11","date_gmt":"2011-07-09T06:50:11","guid":{"rendered":"http:\/\/swf.com.tw\/en\/?p=9"},"modified":"2011-08-05T15:08:26","modified_gmt":"2011-08-05T15:08:26","slug":"create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5","status":"publish","type":"post","link":"https:\/\/swf.com.tw\/en\/create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5\/","title":{"rendered":"Create a LEGO IR Remote Transmitter with headphone jack for Sony NEX-5"},"content":{"rendered":"<p><strong>Editor:<\/strong> <a href=\"http:\/\/nuts-bolts-nails.blogspot.com\/\" target=\"_blank\">Jim  kajpust<\/a><\/p>\n<p>I made an IR remote controller for NEX-5. Here is the picture:<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/hardware\/camera\/nex5\/LEGO_IR_transmitter_1.jpg\" alt=\"IR transmitter in a LEGO brick\" width=\"440\" height=\"330\" \/><\/p>\n<p>It&#8217;s actually a &#8220;<strong>sound wave to infrared signal converter<\/strong>&#8220;. Before using it to control the NEX-5, you&#8217;ll have to &#8220;record&#8221; the IR signal and convert it into a sound wave. For more information about the IR recording process, please read this blog: &#8220;<a href=\"http:\/\/jumpjack.wordpress.com\/2008\/05\/20\/worlds-cheapest-remote-control-replicator-just-1\/\" target=\"_blank\">World&#8217;s cheapest remote control replicator: just 1$ !&#8217; by jumpjack<\/a>&#8220;.<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/hardware\/camera\/nex5\/LEGO_IR_transmitter_2.jpg\" alt=\"IR transmitter in a LEGO brick\" width=\"440\" height=\"330\" \/><\/p>\n<p>I&#8217;ve already recorded the shutter release and the 2 second delay shutter release signal in WAV, AIFF and MP3 format (<a href=\"\/files\/Sony_NEX_Shutter_Controller.zip\">here is the zip compressed file<\/a>). You can play back the sound file from any MP3 player, iPod\/iPhone\/iPad, Android phone, PSP,\u2026 to control your NEX-5.<\/p>\n<p>Here is how the sound file looks like on the HTC Desire android phone:<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/hardware\/camera\/nex5\/android_shutter_controller.jpg\" alt=\"use android phone to control Sony NEX-5\" width=\"300\" height=\"400\" \/><\/p>\n<p>Of course, this &#8220;controller&#8221; can be used to control almost any IR device, as long as you have the proper IR signal in sound wave format.<\/p>\n<p>The schematic of the IR transmitter with \u00a0headphone jack is pretty simple, you only need two IR LEDs ( I got those from old remote controllers), and one stereo audio plug or jack:<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/hardware\/camera\/nex5\/IR_transmitter_schematic.png\" alt=\"IR Transmitter schematic\" width=\"275\" height=\"265\" \/><\/p>\n<p>By the way, there&#8217;s a problem with the IR port. If someone nearby is using a remote controller, your device might also react to the controller. That&#8217;s not good. Therefore, I think it&#8217;s better to make sure your controller is the only one that is commanding the device. My solution is simple: use a LEGO brick to cover the IR port, so it will not be interfered by other controllers.<\/p>\n<p>Fortunately, the IR port on NEX-5 is just about the height of one LEGO brick:<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/hardware\/camera\/nex5\/IR_sensor_port.jpg\" alt=\"IR transmitter holder construction\" width=\"440\" height=\"264\" \/><\/p>\n<p>We can put the IR LEDs below one brick, that&#8217;s the exact location of the IR sensor.<\/p>\n<p>Here are the parts I use:<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/hardware\/camera\/nex5\/LEGO_IR_parts.jpg\" alt=\"IR transmitter parts\" width=\"440\" height=\"330\" \/><\/p>\n<p>Here are the construction steps:<\/p>\n<p>Solder the IR LEDs to audio jack:<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/hardware\/camera\/nex5\/IR_LEDs_front.jpg\" alt=\"Solder the IR LEDs to audio jack\" width=\"440\" height=\"330\" \/><\/p>\n<p>The other side view:<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/hardware\/camera\/nex5\/IR_LEDs_rear.jpg\" alt=\"Solder the IR LEDs to audio jack\" width=\"440\" height=\"330\" \/><\/p>\n<p>Put them into one brick and stuff a small piece of eraser into the empty space behind the audio jack.<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/hardware\/camera\/nex5\/put_together.jpg\" alt=\"Put IR LED and audio jack into LEGO brick and stuff a small piece of eraser into the empty space\" width=\"440\" height=\"330\" \/><\/p>\n<p>Finally, connect a stereo cable to the LEGO IR controller and MP3 player or a countdown timer application.<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/hardware\/camera\/nex5\/IR_front_view.jpg\" alt=\"IR transmitter in action\" width=\"440\" height=\"331\" \/><\/p>\n<p>Here is the rear view of the construction:<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/hardware\/camera\/nex5\/IR_rear_view.jpg\" alt=\"IR transmitter in action\" width=\"440\" height=\"330\" \/><\/p>\n<p>I tried to connect the IR controller with a stereo Bluetooth headset to control NEX-5 wireless; however, it doesn&#8217;t work \ud83d\ude41<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/hardware\/camera\/nex5\/IR_bluetooth.jpg\" alt=\"IR transmitter with bluetooth receiever\" width=\"440\" height=\"331\" \/><\/p>\n<p>The ping pong ball diffuser is a replica of the idea from virodri in <a href=\"http:\/\/forums.dpreview.com\/forums\/forum.asp?forum=1042\" target=\"_blank\">dpreview foruum<\/a>, and it works great!<\/p>\n<h2>A simple Time-lapse solution and Long Exposure solution<\/h2>\n<p>If you want to take a series of time-lapse photos, such as taking photos every 5 seconds, you can use a Sound Editing tool, like the free and open source <a href=\"http:\/\/audacity.sourceforge.net\/\" target=\"_blank\">Audacity<\/a>, to add 5 seconds of silence (no sound) at the end of the IR sound wave.<\/p>\n<p>After that, use your MP3 device to loop-play the sound wave&#8230; tadaaa, you just made a time-lapse remote controller!<\/p>\n<p>For a long exposure, just set the alarm clock sound effect of your iPod or mobile phone to the IR wave file.<\/p>\n<p>And finally, I&#8217;ve made a <a href='\/en\/open-source-camera-ir-shutter-and-time-lapse-controller-for-android-smartphones\/'>EVILRemote controller for the Android phone<\/a> (Android 2.2 and above is required) which has to use with is IR device. The app is free and open source and you can compile the source code into iPhone \/ iPod touch app.<\/p>\n<p>Have fun!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve already recorded the shutter release and the 2 second delay shutter release signal in WAV, AIFF and MP3 format (here is the zip compressed file). You can play back the sound file from any MP3 player, iPod\/iPhone\/iPad, Android phone, PSP,\u2026 to control your Sony NEX-5 camera.<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/hardware\/camera\/nex5\/IR_rear_view.jpg\" alt=\"IR transmitter in action\" width=\"440\" height=\"330\" \/><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[8,6,5],"class_list":["post-9","post","type-post","status-publish","format-standard","hentry","category-camera-and-camcorder","category-diy-and-hardware","tag-ir-transmitter","tag-lego","tag-sony-nex"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Create a LEGO IR Remote Transmitter with headphone jack for Sony NEX-5 - Protag Multimedia<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/swf.com.tw\/en\/create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"cubie\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/swf.com.tw\/en\/create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5\/\",\"url\":\"https:\/\/swf.com.tw\/en\/create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5\/\",\"name\":\"Create a LEGO IR Remote Transmitter with headphone jack for Sony NEX-5 - Protag Multimedia\",\"isPartOf\":{\"@id\":\"https:\/\/swf.com.tw\/en\/#website\"},\"datePublished\":\"2011-07-09T06:50:11+00:00\",\"dateModified\":\"2011-08-05T15:08:26+00:00\",\"author\":{\"@id\":\"https:\/\/swf.com.tw\/en\/#\/schema\/person\/e0831f5095884d4ad2fc6179edb68e00\"},\"breadcrumb\":{\"@id\":\"https:\/\/swf.com.tw\/en\/create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/swf.com.tw\/en\/create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/swf.com.tw\/en\/create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/swf.com.tw\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a LEGO IR Remote Transmitter with headphone jack for Sony NEX-5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/swf.com.tw\/en\/#website\",\"url\":\"https:\/\/swf.com.tw\/en\/\",\"name\":\"Protag Multimedia\",\"description\":\"Just another WordPress site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/swf.com.tw\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/swf.com.tw\/en\/#\/schema\/person\/e0831f5095884d4ad2fc6179edb68e00\",\"name\":\"cubie\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/swf.com.tw\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c77b6f4d3b4ccdcdc343aeee53301c212f54787c43bd2ebf6648bf74ff59b474?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c77b6f4d3b4ccdcdc343aeee53301c212f54787c43bd2ebf6648bf74ff59b474?s=96&d=mm&r=g\",\"caption\":\"cubie\"},\"url\":\"https:\/\/swf.com.tw\/en\/author\/cubie\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create a LEGO IR Remote Transmitter with headphone jack for Sony NEX-5 - Protag Multimedia","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/swf.com.tw\/en\/create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5\/","twitter_misc":{"Written by":"cubie","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/swf.com.tw\/en\/create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5\/","url":"https:\/\/swf.com.tw\/en\/create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5\/","name":"Create a LEGO IR Remote Transmitter with headphone jack for Sony NEX-5 - Protag Multimedia","isPartOf":{"@id":"https:\/\/swf.com.tw\/en\/#website"},"datePublished":"2011-07-09T06:50:11+00:00","dateModified":"2011-08-05T15:08:26+00:00","author":{"@id":"https:\/\/swf.com.tw\/en\/#\/schema\/person\/e0831f5095884d4ad2fc6179edb68e00"},"breadcrumb":{"@id":"https:\/\/swf.com.tw\/en\/create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/swf.com.tw\/en\/create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/swf.com.tw\/en\/create-a-lego-ir-remote-transmitter-with-headphone-jack-for-sony-nex-5\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/swf.com.tw\/en\/"},{"@type":"ListItem","position":2,"name":"Create a LEGO IR Remote Transmitter with headphone jack for Sony NEX-5"}]},{"@type":"WebSite","@id":"https:\/\/swf.com.tw\/en\/#website","url":"https:\/\/swf.com.tw\/en\/","name":"Protag Multimedia","description":"Just another WordPress site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/swf.com.tw\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/swf.com.tw\/en\/#\/schema\/person\/e0831f5095884d4ad2fc6179edb68e00","name":"cubie","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/swf.com.tw\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c77b6f4d3b4ccdcdc343aeee53301c212f54787c43bd2ebf6648bf74ff59b474?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c77b6f4d3b4ccdcdc343aeee53301c212f54787c43bd2ebf6648bf74ff59b474?s=96&d=mm&r=g","caption":"cubie"},"url":"https:\/\/swf.com.tw\/en\/author\/cubie\/"}]}},"_links":{"self":[{"href":"https:\/\/swf.com.tw\/en\/wp-json\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swf.com.tw\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swf.com.tw\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swf.com.tw\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swf.com.tw\/en\/wp-json\/wp\/v2\/comments?post=9"}],"version-history":[{"count":5,"href":"https:\/\/swf.com.tw\/en\/wp-json\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":33,"href":"https:\/\/swf.com.tw\/en\/wp-json\/wp\/v2\/posts\/9\/revisions\/33"}],"wp:attachment":[{"href":"https:\/\/swf.com.tw\/en\/wp-json\/wp\/v2\/media?parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swf.com.tw\/en\/wp-json\/wp\/v2\/categories?post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swf.com.tw\/en\/wp-json\/wp\/v2\/tags?post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}