<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6460622983818339443</id><updated>2011-07-08T04:05:10.142-07:00</updated><title type='text'>Strings and Snow</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://stringsandsnow.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6460622983818339443/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://stringsandsnow.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>stringsandsnow</name><uri>http://www.blogger.com/profile/12835735088997070307</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6460622983818339443.post-7705988953185714405</id><published>2009-12-11T14:34:00.001-08:00</published><updated>2009-12-11T19:46:26.422-08:00</updated><title type='text'>Christmas Light Control On Your Phone!</title><content type='html'>&lt;object width="400" height="224" &gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="movie" value="http://www.facebook.com/v/822728194041" /&gt;&lt;embed src="http://www.facebook.com/v/822728194041" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="224"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;About a year ago I bought an &lt;a href="http://www.iobridge.com/store/"&gt;ioBridge module&lt;/a&gt;  from ioBridge. The ioBridge acts as a stand-alone interface between the internet and various sensors and devices. I've used it for a variety of purposes in the past, mostly data logging, but found a new use for it during the holidays. I purchased several mechanical relays which I used to take digital output (1's and 0's) from the ioBridge, and switch an AC current. You can make the relay boards yourself very simply by doing a search on google. ioBridge also offers pre-built relay boards on their website. I won't go into details about the relay boards here. In short, I spliced open an electrical cord, hooked it up to the relay, and plugged a power strip into the electrical cord. It is into the power strip that the christmas lights connect.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_9qiFDNMRLSE/SyLhhxfk8wI/AAAAAAAAAAU/0O-cxDp9QKI/s1600-h/IO-204C_H.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 258px;" src="http://4.bp.blogspot.com/_9qiFDNMRLSE/SyLhhxfk8wI/AAAAAAAAAAU/0O-cxDp9QKI/s320/IO-204C_H.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5414137672390472450" /&gt;&lt;/a&gt;&lt;br /&gt;Now turning the lights on and off is simply a matter of sending a signal to the channel to which the relay is connected. ioBridge offers an web interface in which you can create simple "widgets" to control/monitor your sensors and devices. They also have &lt;a href="http://www.iobridge.net/wiki/api/php-widget-control-api"&gt;API support&lt;/a&gt; so that you can use other web-based programming languages to interface with your devices on your own server.&lt;br /&gt;&lt;br /&gt;For my purposes, I took advantage of a php proxy script ioBridge offers on their website. The script functions as an easy way to use HTML links to communicate with the ioBridge module. The script is called iobridge-proxy.php and lies in any folder on your host server. Then you can use a hyperlink of the form:&lt;br /&gt;&lt;br /&gt;http:\\www.yorserver.com\iobridge-proxy.php?widgetID=#########&amp;amp;state=1&lt;br /&gt;&lt;br /&gt;Where in place of the ######### would be the ID number for the widget you created on the ioBridge website for your device. In the example above, I switch the digital output to "1". I could switch it to "0" also. &lt;br /&gt;&lt;br /&gt;Now if you have a iPhone, or any other phone with web browsing capability, you can just type in the link in your browser to control your devices.&lt;br /&gt;&lt;br /&gt;&lt;object width="400" height="224"&gt;&lt;param name="movie" value="http://www.youtube.com/v/eW1b7FM22yM&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;hd=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/eW1b7FM22yM&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;That's it! Now, I admit it's not the "cheapest" option since the ioBridge runs for $99. However, the ioBridge is a very flexibile platform that you can use to interface with almost any electrical device you can think of, including microcontroller projects.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6460622983818339443-7705988953185714405?l=stringsandsnow.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://stringsandsnow.blogspot.com/feeds/7705988953185714405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://stringsandsnow.blogspot.com/2009/12/christmas-light-control-on-your-phone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6460622983818339443/posts/default/7705988953185714405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6460622983818339443/posts/default/7705988953185714405'/><link rel='alternate' type='text/html' href='http://stringsandsnow.blogspot.com/2009/12/christmas-light-control-on-your-phone.html' title='Christmas Light Control On Your Phone!'/><author><name>stringsandsnow</name><uri>http://www.blogger.com/profile/12835735088997070307</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_9qiFDNMRLSE/SyLhhxfk8wI/AAAAAAAAAAU/0O-cxDp9QKI/s72-c/IO-204C_H.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
