tag:blogger.com,1999:blog-12342504590610567972024-03-05T20:24:21.252-08:00Kurt's ProjectsKurt Larsonhttp://www.blogger.com/profile/11147952781243242180noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-1234250459061056797.post-40689861694964875972014-04-24T08:40:00.001-07:002014-04-24T08:40:12.782-07:00Cellular connected GPS trackerI wanted to make it easier to track my mileage for work, so I decided to build a GPS tracker using some off-the-shelf parts. I used a GPS enabled <a href="https://nimbelink.com/skywire/skywire-cellular-modem-evdo" target="_blank">Skywire EVDO modem from NimbeLink</a> and an Arduino to capture the GPS data and send it to the cloud(Exosite) over the Skywire cellular link. I put together a detailed, <a href="http://www.instructables.com/id/Cellular-GPS-tracker-with-Cloud-Maps/" target="_blank">step-by-step Instructable on how to do it so others can replicate.</a><br />
<br />
<div style="text-align: center;">
Here is the picture of the complete, simple setup, before putting on my car.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEPfb0R1c_TGiXNPVANFP9n4swLH4D8PKtoH35ArjdwOcbfkwJz3awhuHuOiPYn_k9V8u0YMpTajqiJ_88vcLgM6N0Dx9LM9kqQmiyhYWRtUTjgnhZ2sObr1tv0nMaWycPBokr867r2Blg/s1600/gps+tracker3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEPfb0R1c_TGiXNPVANFP9n4swLH4D8PKtoH35ArjdwOcbfkwJz3awhuHuOiPYn_k9V8u0YMpTajqiJ_88vcLgM6N0Dx9LM9kqQmiyhYWRtUTjgnhZ2sObr1tv0nMaWycPBokr867r2Blg/s1600/gps+tracker3.png" height="320" width="221" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
Here is a screen capture of the map it produced after a day of driving:</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAFmJUxQgSfKTwnvabwnDMdGUf5hSMbz8XnqQqIkDC92AOIQnXmxIpBpAkUsFecyIyLeV0lzgmsoJKWJSo0pl9I0Dg5M7xdRZ4XaO_UoV97XYNfAHfHH1F4iMfrsz3HvehiOyCqQfmIU-w/s1600/Exosite_trail_map_real_data.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAFmJUxQgSfKTwnvabwnDMdGUf5hSMbz8XnqQqIkDC92AOIQnXmxIpBpAkUsFecyIyLeV0lzgmsoJKWJSo0pl9I0Dg5M7xdRZ4XaO_UoV97XYNfAHfHH1F4iMfrsz3HvehiOyCqQfmIU-w/s1600/Exosite_trail_map_real_data.png" height="310" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
Here is a link to the live dashboard <a href="https://portals.exosite.com/views/1265154472/2460159184">https://portals.exosite.com/views/1265154472/2460159184</a></div>
<br />Kurt Larsonhttp://www.blogger.com/profile/11147952781243242180noreply@blogger.com4tag:blogger.com,1999:blog-1234250459061056797.post-30285333484729653532014-02-15T13:41:00.003-08:002014-02-16T19:04:00.844-08:00Get notified when your cookies are stolen!I bought a new <a href="https://nimbelink.com/products/embedded-products/skywire-cellular-modem-1xrtt" target="_blank">NL-SWDK-1xRTT-V</a> development kit and wanted to do something fun and quick to test it out, so I hooked up a simple magnetic reed switch to an Arduino Leo and modified the development kit sample code to send me an SMS whenever someone opens the cookie cupboard. The video and picture show you the pieces. The operation is pretty straightforward. You mount the magnetic switch near the edge of the door, and you mount a magnet on the door. You arm the system by plugging in power. The code takes a few seconds to initialize the modem, and then anytime the door opens in the future, I get a text message. My sample code is provided below so others can replicate or improve! <br />
<br />
There are a few cool things about the Skywire module:<br />
1) its small 33mm x 29mm<br />
2) its certified as an end-product on the Verizon network, so you can embed it into end products and skip the FCC and Carrier certification hassles found in typical product designs<br />
3) it conforms to the XBee formfactor, so you can plug it into many existing development tools and upgrade legacy low-power RF products to communicate over the cellular network without any hardware re-design<br />
4) the development kit is also an Arduino shield, so you can plug it right into your favorite Arduino and use the sample code to create something useful like this!<br />
5) NimbeLink provides low cost Verizon plans ($5/mo for SMS only, $10/mo for <1MB data plans) so you can get your device activated and running on the network the same day without having to go through Verizon!<br />
6) complete kit is only <a href="http://www.digikey.com/product-search/en?x=13&y=14&lang=en&site=us&KeyWords=NL-SWDK-1xRTT-V" target="_blank">$262 on Digikey.com</a><br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMQexK57EGNm_CPVBEHtPa951amRQjruKmzGpxTyK4Z4cR9sOLh_RxVBJAxRYW4vco6S5RR73ZdY8jCPj0IKIr1MEAWLQIh_sldv5xZKenOrhnTg80Q16Tzqb6BIH1XrRQgbYV_-F5igJ4/s1600/Cookie_jar_image.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMQexK57EGNm_CPVBEHtPa951amRQjruKmzGpxTyK4Z4cR9sOLh_RxVBJAxRYW4vco6S5RR73ZdY8jCPj0IKIr1MEAWLQIh_sldv5xZKenOrhnTg80Q16Tzqb6BIH1XrRQgbYV_-F5igJ4/s1600/Cookie_jar_image.jpg" height="340" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Development kit on Arduino Leonardo plus Antenna and open/close sensor.</td></tr>
</tbody></table>
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="315" src="//www.youtube.com/embed/LtRgd9-UGCk" width="560"></iframe>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9xeulPkGrW6-9v1KdjFn3vIjnEMLXjJX14IdOZxci2BKxv-skTwCtoT_RDIrVRzR8CvaXAipO2JCzE7lFU-1OWL48a6YkNRpi8BDlIpD-0F1NAAZ7VKj4zBiASLCyf0bJ1NzZo9bKNDaP/s1600/Alert+image2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9xeulPkGrW6-9v1KdjFn3vIjnEMLXjJX14IdOZxci2BKxv-skTwCtoT_RDIrVRzR8CvaXAipO2JCzE7lFU-1OWL48a6YkNRpi8BDlIpD-0F1NAAZ7VKj4zBiASLCyf0bJ1NzZo9bKNDaP/s1600/Alert+image2.png" height="320" width="213" /></a></div>
<br />
<br />
For more information, checkout the <a href="https://nimbelink.com/products/embedded-products/skywire-cellular-modem-1xrtt" target="_blank">Skywire product page here.</a><br />
<br />
<br />
<br />
<br />
<pre><span style="color: #7e7e7e;">/*</span>
<span style="color: #7e7e7e;">SMS Cookie alarm</span>
<span style="color: #7e7e7e;">This sketch is an example that sends SMS messages using the Telit CE910-DUAL modem.</span>
<span style="color: #7e7e7e;">Circuit:</span>
<span style="color: #7e7e7e;">* Arduino Leonardo</span>
<span style="color: #7e7e7e;">* Skywire development kit: NL-SWDK-1xRTT and NL-SW-1xRTT</span>
<span style="color: #7e7e7e;">created 2/15/2014</span>
<span style="color: #7e7e7e;">by Kurt Larson // NimbeLink.com</span>
<span style="color: #7e7e7e;">This example is in the public domain.</span>
<span style="color: #7e7e7e;">*/</span>
#define DESTINATION_PHONE_NUMBER <span style="color: #006699;">"15554443333"</span> <span style="color: #7e7e7e;">// destination phone number of 1-555-444-3333 should be formated like: 15554443333</span>
<span style="color: #cc6600;">String</span> SMS_MESSAGE = <span style="color: #006699;">"Cookies are under attack! Sent via Arduino & Skywire cellular modem!"</span>; <span style="color: #7e7e7e;">// SMS message you want to send, limited to 160 characters</span>
<span style="color: #cc6600;">void</span> <span style="color: #cc6600;"><b>setup</b></span>() <span style="color: #7e7e7e;">// Initializes the pins, serial ports, modem</span>
{
<span style="color: #cc6600;">pinMode</span>(10, <span style="color: #006699;">INPUT</span>); <span style="color: #7e7e7e;">// Set I/O pin 10 to input for door open/close sensor</span>
<span style="color: #cc6600;">pinMode</span>(13, <span style="color: #006699;">OUTPUT</span>); <span style="color: #7e7e7e;">// Set LED pin to output</span>
<span style="color: #cc6600;">digitalWrite</span>(12, <span style="color: #006699;">LOW</span>); <span style="color: #7e7e7e;">// Set I/O pin 12 to low</span>
<span style="color: #cc6600;">pinMode</span>(12, <span style="color: #006699;">OUTPUT</span>); <span style="color: #7e7e7e;">// Configure I/O pin 12 as output</span>
<span style="color: #cc6600;">digitalWrite</span>(12, <span style="color: #006699;">LOW</span>); <span style="color: #7e7e7e;">// Drive I/O pin 12 low</span>
<span style="color: #cc6600;">delay</span>(1100); <span style="color: #7e7e7e;">// modem requires >1s pulse</span>
<span style="color: #cc6600;">pinMode</span>(12, <span style="color: #006699;">INPUT</span>); <span style="color: #7e7e7e;">// Return I/O pin 12 to input/hi-Z state and wait >10 seconds for modem software to boot up </span>
<span style="color: #cc6600;">delay</span>(10000); <span style="color: #7e7e7e;">// modem documentation says wait 10 seconds</span>
<span style="color: #cc6600;"><b>Serial1</b></span>.<span style="color: #cc6600;">begin</span>(115200); <span style="color: #7e7e7e;">// Initialize serial port to communicate with modem</span>
<span style="color: #cc6600;">while</span> (!<span style="color: #cc6600;"><b>Serial1</b></span>) ;
<span style="color: #cc6600;"><b>Serial1</b></span>.<span style="color: #cc6600;">println</span>(<span style="color: #006699;">"AT+CMGF=1"</span>); <span style="color: #7e7e7e;">// put modem into text mode</span>
<span style="color: #cc6600;">delay</span>(250); <span style="color: #7e7e7e;">// wait for modem response</span>
}
<span style="color: #cc6600;">void</span> <span style="color: #cc6600;"><b>loop</b></span>()
{
<span style="color: #cc6600;">if</span> (<span style="color: #cc6600;">digitalRead</span>(10) == 1) { <span style="color: #7e7e7e;">// if the signal goes high, that means the open/close sensor is open, so send an alert</span>
<span style="color: #cc6600;">digitalWrite</span>(13, <span style="color: #006699;">LOW</span>);
<span style="color: #cc6600;"><b>Serial1</b></span>.<span style="color: #cc6600;">print</span>(<span style="color: #006699;">"AT+CMGS=\"+"</span>);
<span style="color: #cc6600;"><b>Serial1</b></span>.<span style="color: #cc6600;">print</span>(DESTINATION_PHONE_NUMBER);
<span style="color: #cc6600;"><b>Serial1</b></span>.<span style="color: #cc6600;">print</span>(<span style="color: #006699;">"\"\r"</span>);
<span style="color: #cc6600;">delay</span>(250);
<span style="color: #cc6600;"><b>Serial1</b></span>.<span style="color: #cc6600;">print</span>(SMS_MESSAGE);
<span style="color: #cc6600;"><b>Serial1</b></span>.<span style="color: #cc6600;">write</span>(26);
<span style="color: #cc6600;"><b>Serial1</b></span>.<span style="color: #cc6600;">write</span>(<span style="color: #006699;">"\r"</span>);
<span style="color: #cc6600;">delay</span>(300000); <span style="color: #7e7e7e;">// do not retrigger for 5 minutes</span>
}
}
<span style="font-family: 'Times New Roman'; white-space: normal;">For more information, checkout the </span><a href="https://nimbelink.com/products/embedded-products/skywire-cellular-modem-1xrtt" style="font-family: 'Times New Roman'; white-space: normal;" target="_blank">Skywire product page here.</a>
</pre>
Kurt Larsonhttp://www.blogger.com/profile/11147952781243242180noreply@blogger.com0tag:blogger.com,1999:blog-1234250459061056797.post-85601495442208488042013-10-31T16:04:00.000-07:002013-10-31T16:04:00.439-07:00Remote Control Lawn Mower<div style="text-align: center;">
Its hard to find people that actually WANT to mow their lawn. I am no different. I don't enjoy it. It takes me away from fiddling with electronics! My solution to the problem was to build a remote control lawn mower. It took a few months from start to finish, but its been a robust tool for our family. A video first, then the rest of this blog post documents all the major components and peels back the layers of the onion on how it works.</div>
<div style="text-align: center;">
</div>
<div style="text-align: center;">
<iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/461KQK6EgV4" width="420"></iframe><br /></div>
<div style="text-align: center;">
</div>
<div style="text-align: center;">
</div>
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9hg2bcc9CqHET8basHphQqv8COMnK4uDvkjPgNZ9drwhHd-KrxDhLTaIjcTMFNkz1R3WDkY9T8wh5y4DGYNWxY7eNHZH1LaGABQ8h8FgSssjAL_JwiS1OvzW6_euOTkdvAjoaYdSr4W12/s1600/photo+(37).JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9hg2bcc9CqHET8basHphQqv8COMnK4uDvkjPgNZ9drwhHd-KrxDhLTaIjcTMFNkz1R3WDkY9T8wh5y4DGYNWxY7eNHZH1LaGABQ8h8FgSssjAL_JwiS1OvzW6_euOTkdvAjoaYdSr4W12/s320/photo+(37).JPG" width="240" /></a></div>
<div style="text-align: center;">
</div>
<div style="text-align: center;">
I started with a standard 6HP push mower. I removed the front drive wheels and replaced them with mini-bike tires that had a built in gear tooth sprocket. I replaced the back wheels with large caster wheels so they could spin freely in 360 degrees. I used motors and gear boxes from National Power Chair -- the folks that sell components for motorized wheel chairs and combat robots. The motors are large DC 12-24V motors. </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiceT4WJqyp9qT8FNO93jNftLZbRMC0mVfhB29dJSHmJN5nyIQSz30ZH-UvtSfbmDfMLGHGXPVlCt4HpV60qSxGVL57-1vpZOPs7qF-hbFTbox0vsCuHS9WmIxpsu5-lwjzPOwIFhSU38E_/s1600/photo+(37)a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiceT4WJqyp9qT8FNO93jNftLZbRMC0mVfhB29dJSHmJN5nyIQSz30ZH-UvtSfbmDfMLGHGXPVlCt4HpV60qSxGVL57-1vpZOPs7qF-hbFTbox0vsCuHS9WmIxpsu5-lwjzPOwIFhSU38E_/s320/photo+(37)a.jpg" width="236" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHE5aAN3ktDNT2PjVVZMuM649HGnfwiNYt7DAFR6OipSeBL7hvAXBi3UOm4PaTyd5pkjWCwbcMpRz4pf_XCP_VAq9eXdzqavUko70iu6sh3BAeNRAp0w1Ad9Jgp4bVHiXDBvbhUC7g_t64/s1600/image+(14)a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHE5aAN3ktDNT2PjVVZMuM649HGnfwiNYt7DAFR6OipSeBL7hvAXBi3UOm4PaTyd5pkjWCwbcMpRz4pf_XCP_VAq9eXdzqavUko70iu6sh3BAeNRAp0w1Ad9Jgp4bVHiXDBvbhUC7g_t64/s320/image+(14)a.jpg" width="240" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
I use a Futaba remote control transmitter and receiver to send signals from me to the lawn mower. </div>
<div style="text-align: center;">
You can see me holding it in the video. To drive the motors, I use a Vantec speed controller. It takes the RC signals and converts them to PWM DC forward and reverse controls to each motor. The two motors drive the two front wheels independently, so the driving experience is kind of like driving a tank with skid steering. </div>
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihsIBUmanhI-WS58m1DmeoaSYasfgcGiITQUpbjFSl-V_QcaIqTefG7v55DXrW1wP7xJFiJlPDbn6yUnY2Kqc1ivc2PjudOXGcNoijjkqReKZilr3JY7NgDvtIHFOHjqoDs1oTD2vcdSaz/s1600/image+(13)a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihsIBUmanhI-WS58m1DmeoaSYasfgcGiITQUpbjFSl-V_QcaIqTefG7v55DXrW1wP7xJFiJlPDbn6yUnY2Kqc1ivc2PjudOXGcNoijjkqReKZilr3JY7NgDvtIHFOHjqoDs1oTD2vcdSaz/s320/image+(13)a.jpg" width="240" /></a></div>
<div style="text-align: center;">
The power system is a little complicated. In order to have enough energy to drive the lawn mower long enough to mow the lawn, you need multiple large 12V lead acid batteries, but there is no room for them, and the weight would kill the mower's speed, so I decided to copy what they do in automobiles. I bought the cheapest alternator I could from the local auto parts store. One for a 1979 Ford Pinto! I added a pulley wheel to the mower's gas engine output shaft, and used a rubber belt to drive the alternator shaft. This allowed me to use a single, smaller battery in the system. </div>
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPy-Lp23HJbfrvSCMagZn6HJPfIONqhyILU3ZWGEf3jNjulpTqO2D8UAb7oCexGwWivLlk54SZvf6f3_wEiacvU6z26PwcVLcJV-HfygDLwBSa-3Bwqm4-v5YvtcYm2IrkDwD1k-MjYLz6/s1600/image+(12)a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPy-Lp23HJbfrvSCMagZn6HJPfIONqhyILU3ZWGEf3jNjulpTqO2D8UAb7oCexGwWivLlk54SZvf6f3_wEiacvU6z26PwcVLcJV-HfygDLwBSa-3Bwqm4-v5YvtcYm2IrkDwD1k-MjYLz6/s320/image+(12)a.jpg" width="240" /></a></div>
<div style="text-align: center;">
I used a 12V lead acid battery designed for motorcycles, the size was a good fit right in the front where the weight helps with the traction.</div>
<div style="text-align: center;">
</div>
<div style="text-align: center;">
It took me a few months to perfect the system, but once it was working good, and I had some practice driving, I was able to mow the lawn consistently in about 45 minutes. I used the mower for a few years, but eventually starting paying the neighbor kids to do it for me.</div>
<div style="text-align: center;">
</div>
<div style="text-align: center;">
Here is a video from a few years ago showing how it works. Its pretty quick and spins around quickly on the cement where there is no grass slowing it down!</div>
<div style="text-align: center;">
</div>
<div style="text-align: center;">
<iframe allowfullscreen="" frameborder="0" height="315" src="//www.youtube.com/embed/461KQK6EgV4" width="420"></iframe><br /></div>
<div style="text-align: center;">
</div>
<div style="text-align: left;">
</div>
Kurt Larsonhttp://www.blogger.com/profile/11147952781243242180noreply@blogger.com17tag:blogger.com,1999:blog-1234250459061056797.post-30801028311993918072013-09-18T15:00:00.000-07:002013-09-20T21:52:13.373-07:00Laminar Flow NozzleA few years ago, Hackaday, my favorite website, posted a <a href="http://hackaday.com/2010/08/22/laminar-water-jet-explained/" target="_blank">l</a><a href="http://hackaday.com/2010/08/22/laminar-water-jet-explained/" target="_blank">aminar water jet project</a>, and it inspired me to create my own. My goal is to create nighttime light shows with computer control of the water color by driving red, green, and blue lights at different intensities throughout a musical sequence. So far, I have built up the blue and green solution, and this video is the outcome of the testing. More details below on the construction.<br />
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<iframe allowfullscreen="" frameborder="0" height="315" src="//www.youtube.com/embed/rKGy0tvfpZ0?rel=0" width="560"></iframe>
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
The laminar nozzle is built with roughly 800 drinking straws all placed in parallel inside a 4" PVC pipe. The water input is a 3/4" garden hose adapter, perpendicular to the flow of the output nozzle. The construction consists of some cleaning sponges near the water inlet, followed by the 800 straws, a couple inch gap between the end of the straws, and finally the end cap. The exit nozzle is a critical component. The sharper the edge on the water exit nozzle, the better the quality of the laminar flow leaving the nozzle. To create mine, I purchased a brass pipe end cap from Home Depot, drilled a hole in it, and tapered the rest of the exit material so the water would not touch it. I then sanded using 600ish grit sand paper to create, literally, a sharp inner edge.</div>
<div class="separator" style="clear: both; text-align: center;">
To get the colored light to shine down the laminar flow, I fed three fiber optic cables up the center of the PVC pipe, all the way to about one inch before the exit nozzle. </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhJZh2psEHhmlmcKLxiy5_zjmQDgo8WPzIulP4zx0vTRflIALfHbTGfFja50fxbtVyZkK1qlfF7WrfUqcJWNPK0XekKIc7RJnlkp8Eszq_uzaAk6B5jHWQyanr6UaUZCAcc_rP9bvWXi63/s1600/image+(8).jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhJZh2psEHhmlmcKLxiy5_zjmQDgo8WPzIulP4zx0vTRflIALfHbTGfFja50fxbtVyZkK1qlfF7WrfUqcJWNPK0XekKIc7RJnlkp8Eszq_uzaAk6B5jHWQyanr6UaUZCAcc_rP9bvWXi63/s320/image+(8).jpeg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
To create the light, I used 2 separate high power LEDs. I used one blue and one green PT-54 Phlatlight LEDs which I drove at around 5Watts. The pictures below show how I mounted the LEDs to individual black CPU heatsinks, and held them in place with a piece of aluminum, similar to U channel, but with 2 extra strips down the center. I cut out custom notches to keep pressure on the LEDs for good connection to the heat sinks below. I also drilled a hole through the U channel to hold fiber optic cable. </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ6orbDedlD-mWhkBF-CTRYldEzYmZ7rh3o07InnnfXPkhyuDMYFdZ-PDGL2pHdTq0egFPrv9wOlY_ogS7J7Yg8WpiVsPDSD14uOKsjqwnLDjkmQTsPN3n_KfK5gs0txRH0flIFLp_Vy1B/s1600/image+(9).jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ6orbDedlD-mWhkBF-CTRYldEzYmZ7rh3o07InnnfXPkhyuDMYFdZ-PDGL2pHdTq0egFPrv9wOlY_ogS7J7Yg8WpiVsPDSD14uOKsjqwnLDjkmQTsPN3n_KfK5gs0txRH0flIFLp_Vy1B/s320/image+(9).jpeg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
The cable I used is 3.0mm PMMA cable. If you haven't used fiber optic cable before, you need to create clean cuts and polish both ends to get a good amount of light to pass through. I cut the cables and found some online guides for how to polish the ends. You basically use increasing grades of sand paper to sand out any defects at the end of the cable. I had to go to a special wood shop to get sand paper that was 3000, 5000, and 8000 grit to get the fiber optic ends square and smooth. I wasn't sure how much the sanding would help, so I used a light intensity meter (lumens/lux) and was surprised there was about 4x improvement in number of lumens that made it through the cable after they were polished!</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
The interface between the LED and fiber optic cable was nothing special. I pushed the fiber directly onto the surface of the LED, and that was it.</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0V89bgKDa8l_MXFiD5ZHGndAlyCXO7W99T_eTYtcClGAHagXhRUh28XNc_vxdGyWKHSdHZoE_jslyeoq-eDBRjhPo-j2WBsHRmMT_EUrUFT_MWIJshStnDIlju5WS1awQYoXPCi2-4ccO/s1600/image+(9a).jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="251" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0V89bgKDa8l_MXFiD5ZHGndAlyCXO7W99T_eTYtcClGAHagXhRUh28XNc_vxdGyWKHSdHZoE_jslyeoq-eDBRjhPo-j2WBsHRmMT_EUrUFT_MWIJshStnDIlju5WS1awQYoXPCi2-4ccO/s320/image+(9a).jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
To drive the LEDs, I needed a high power, constant current source, so I wired up a current source using an LM388, some power resistors, and heatsinks. For the simple experiment shown in the video, I used push buttons to activate the current source for each LED. With this simple setup, I can create 3 colors: blue, green, and green+blue. The long term goal is to drive each LED power source with a PWM signal with duty cycle control via an MCU so I can adjust the perceived intensity of each color individually.</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoUtDm7CNn2mns_0nClc-joKj8L4ypGImvC1UXz2li52urvZDX6wNYj8F1_7ucSklgoLuLtFKBSgxMnjCeXISfMKET7VbBVVswBWrQ3o8uulYXyZQZinK58sevLD8RFh_vFnkOpVjaFvRP/s1600/photo+(36).JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="311" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoUtDm7CNn2mns_0nClc-joKj8L4ypGImvC1UXz2li52urvZDX6wNYj8F1_7ucSklgoLuLtFKBSgxMnjCeXISfMKET7VbBVVswBWrQ3o8uulYXyZQZinK58sevLD8RFh_vFnkOpVjaFvRP/s320/photo+(36).JPG" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />Kurt Larsonhttp://www.blogger.com/profile/11147952781243242180noreply@blogger.com1