<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>benjohansen.com &#187; Blog</title>
	<atom:link href="http://www.benjohansen.com/archives/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.benjohansen.com</link>
	<description></description>
	<lastBuildDate>Sun, 22 Aug 2010 20:58:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Great Josef Albers Quote</title>
		<link>http://www.benjohansen.com/archives/920</link>
		<comments>http://www.benjohansen.com/archives/920#comments</comments>
		<pubDate>Sun, 22 Aug 2010 20:58:19 +0000</pubDate>
		<dc:creator>Ben Johansen</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.benjohansen.com/?p=920</guid>
		<description><![CDATA[The following is quoted from Josef Albers&#8217;s Search Versus Re-Search (Hartford: Trinity College Press, 1969), pg. 12-13: Why did the masters become masters? And why are the great ones great? Because they tried to say something other than their masters had, not only different and new, but alive and ahead. Therefore they chose to follow [...]]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;">The following is quoted from Josef Albers&#8217;s <em>Search Versus Re-Search</em> (Hartford: Trinity College Press, 1969), pg. 12-13:</span></p>
<p>Why did the masters become masters? And why are the great ones great? Because they tried to say something other than <em>their </em>masters had, not only different and new, but alive and ahead. Therefore they chose to follow themselves and search, not re-search; to move forward rather than backward.</p>
<p>And they kept away (please listen), they kept away from the bandwagon. They became aware that old is not <em>per se</em> better than new and young. They would agree that handmade is not necessarily better than machinemade. For a similar reason the advice of a professor to a young writer to read first many comedies before writing one himself reveals only helpless impotence.</p>
<p>. . .</p>
<p>With such statements, some people become afraid of losing tradition. History and psychology show that there is no abrupt change or sudden break in human mentality, except through mental illness. It is unfortunate that the common understanding of tradition is developed more by fear than by action. To quote myself, &#8220;Tradition in art is to create, not to revive.&#8221;</p>
<p>- Josef Albers</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benjohansen.com/archives/920/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;indeterminacy&#8221; in Monteverdi</title>
		<link>http://www.benjohansen.com/archives/874</link>
		<comments>http://www.benjohansen.com/archives/874#comments</comments>
		<pubDate>Fri, 09 Jul 2010 21:42:33 +0000</pubDate>
		<dc:creator>Ben Johansen</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://www.benjohansen.com/?p=874</guid>
		<description><![CDATA[Monteverdi wrote instructions in his &#8220;Sfogava con le stella&#8221; indicating the singers to figure out the rhythm themselves (sort of like sprechstimme).]]></description>
			<content:encoded><![CDATA[<p>Monteverdi wrote instructions in his &#8220;<a href="http://www2.cpdl.org/wiki/index.php/Sfogava_con_le_stelle_%28Claudio_Monteverdi%29">Sfogava con le stella</a>&#8221; indicating the singers to figure out the rhythm themselves (sort of like sprechstimme).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benjohansen.com/archives/874/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interning Currents2010 (video art show) &#8211; a documentation</title>
		<link>http://www.benjohansen.com/archives/875</link>
		<comments>http://www.benjohansen.com/archives/875#comments</comments>
		<pubDate>Thu, 08 Jul 2010 22:53:50 +0000</pubDate>
		<dc:creator>Ben Johansen</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[video art]]></category>

		<guid isPermaLink="false">http://www.benjohansen.com/?p=875</guid>
		<description><![CDATA[A few weeks ago, I packed my car and drove from Denton, TX to Santa Fe, NM to help setup Currents2010, a video art gallery open to the public for almost 10 days (June 18-27). During its opening, 2000 people traveled through the free exhibit to see video art from the available 82 artists&#8217; work [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago, I packed my car and drove from Denton, TX to Santa Fe, NM to help setup <a href="http://www.currents2010.com/">Currents2010</a>, a video art gallery open to the public for almost 10 days (June 18-27). During its opening, 2000 people traveled through the free exhibit to see video art from the available 82 artists&#8217; work presented.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="480" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2Fbenjohansen%2Fsets%2F72157624402170018%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2Fbenjohansen%2Fsets%2F72157624402170018%2F&amp;set_id=72157624402170018&amp;jump_to=" /><param name="allowFullScreen" value="true" /><param name="src" value="http://www.flickr.com/apps/slideshow/show.swf?v=71649" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="480" src="http://www.flickr.com/apps/slideshow/show.swf?v=71649" allowfullscreen="true" flashvars="offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2Fbenjohansen%2Fsets%2F72157624402170018%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2Fbenjohansen%2Fsets%2F72157624402170018%2F&amp;set_id=72157624402170018&amp;jump_to="></embed></object></p>
<p>I arrived to Santa Fe Sunday evening (June 13).  Monday morning, Jordan Glazer, a colleague and fellow intern, and I met our professor, <a href="http://music.unt.edu/faculty-and-staff/detail/265">David Stout</a>, and the other member of the <a href="http://www.noisefold.com">Noisefold</a> duo, <a href="http://www.noisefold.com/nfoldpg3bbiocory.html">Cory Metcalf</a>, at the <a href="http://www.ccasantafe.org/">Center for Contemporary Arts</a> (<a href="http://farm5.static.flickr.com/4082/4753423154_9ec822933d_z.jpg" rel="lightbox[875]">photo</a>) where they rehearsed for their June 19th concert. We promptly drove to <a href="http://www.elmuseocultural.org/">El Museo Cultural de Santa Fe</a> to get acquainted with the volunteers setting up Currents2010 and begin work. It was apparent right off that the artists and volunteers setting up the show had an incredible work ethic and were all very friendly and courteous. I came to find out a few days later, while interviewing Mariannah Amster and Frank Ragano (the curators of  Currents2010 and founders of <a href="http://www.parallelstudios.com/">Parallel Studios</a>), that the kind atmosphere was not a product of chance. Frank and Mariannah explained that they did not include artists in the show solely based on their work. They received enough entries through <a href="http://www.rhizome.org/">Rhizome</a> that they made it a point to know an artist personally, via email and Skype, before accepting them into the show. Frank and Mariannah find it very important to keep personal contact with  each person involved in their projects: everyone is treated equally  (volunteers, exhibit visitors, artists, etc.) which means emails, phone  calls, texts, etc. are always answered immediately = everyone is  important. Because Currents2010 had a very limited budget and most artists would be traveling to Santa Fe to setup their own work, Frank and Mariannah wanted to make sure everyone would get along well and have an enjoyable time together. Frank has no problem with words like &#8220;entertainment&#8221; and &#8220;fun&#8221; as other &#8220;snooty&#8221; (that was my word) artist may. The point of putting on a show like Currents2010 is to provide entertainment (a good time!) in addition to education, so people enjoy themselves while experiencing new things.</p>
<p>In the interview with Frank and Mariannah, we got into a conversation about the current art world. They are both interested in changing the current mentality of the stereotypical art world by providing another option. That conversation made the distinction between many of the galleries I had visited during my stay in Santa Fe. It is sad that some organizations cater to donors and put on an air of elitism. Art can easily become a privileged &#8220;object&#8221; reserved for the rich and scholarly rather than for all to experience and enjoy. I was blown off at one gallery by an artist that obviously thought I was an inferior, but I felt very welcome at other galleries (such as <a href="http://meowwolf.com/">meow wolf</a>) that seemed excited to have a &#8220;the public&#8221; visit their work.</p>
<p>I was fortunate to talk to many artists and organizers like Frank and Mariannah during my time in Santa Fe, but Monday morning (June 14) Jordan and I began to setup our own professor&#8217;s work, and installation piece by Stout and Metcalf called &#8220;<a href="http://www.noisefold.com/nfoldpg2cdiii.html">iIi</a>&#8220;. One of the best parts of my Santa Fe experience was seeing how different artists and builders displayed the work. Frank, an artist and contractor, had devised an idea of hanging projectors from the 22-foot ceiling using metal piping supported by c-clamping a mount he welded to the building&#8217;s frame. Frank generously gave Jordan and I three of the welded mounts, but we had to go to the hardware store for pipe and c-clamps. Because he specially made wooden plates to mount any projector mount on allow for the placement of a DVD player above the projector (<a href="http://farm5.static.flickr.com/4076/4753423750_498fcdca95_z.jpg" rel="lightbox[875]">photo</a>), we had to come up with another solution for our projectors: a simple plastic PVC pipe adapter attached to our proprietary projector mounts (<a href="http://farm5.static.flickr.com/4096/4752782995_ea4c7b5f3d_z.jpg" rel="lightbox[875]">photo</a>).</p>
<p>Once &#8220;iIi&#8221; was installed and VGA cable problems were troubleshot, Jordan and I began helping install other works by running power and audio cables, hanging projectors and screens, and painting walls and divisions. It was helpful to me, as someone looking toward curating one day, to see and work with many artists&#8217; solutions to material onto which to project. Three artists chose to project onto material that could be viewed from either side, a great solution to an open space such as that of El Museo: Jim Coker&#8217;s &#8220;Kingfisher&#8221; (<a href="http://farm5.static.flickr.com/4073/4752785615_b978b41fd4_z.jpg" rel="lightbox[875]">photo</a>), the Vasulkas&#8217; and Rob Shaw&#8217;s &#8220;untitled&#8221; (<a href="http://farm5.static.flickr.com/4114/4752787845_0eb147e46a_z.jpg" rel="lightbox[875]">photo</a>), and Carlisle&#8217;s and Hamilton&#8217;s &#8220;Displacements&#8221; (<a href="http://farm5.static.flickr.com/4122/4752785799_04f393c626_z.jpg" rel="lightbox[875]">photo</a>). Many of the artists&#8217; work were projected onto gator board (a thick, very reflective foam core board), which could be cut to fit most of the artists&#8217; needs (here is an example: <a href="http://farm5.static.flickr.com/4101/4753424482_a5daec5be5_z.jpg" rel="lightbox[875]">Hisao Ihara&#8217;s &#8220;Continuum&#8221; during installation</a>). One of the most interesting materials on which an artist projected was glass. Robert Campbell projected onto five glass circles hung in a row with matte rings forming what looked like a target (<a href="http://farm5.static.flickr.com/4095/4752782813_19f025dc6f_z.jpg" rel="lightbox[875]">photo</a> of installing the work, <a href="http://farm5.static.flickr.com/4081/4753428216_8c8de163d5_z.jpg" rel="lightbox[875]">photo</a> with projections). Campbell&#8217;s work was very compelling and memorizing to watch. One needs to get a full explanation of the work from Campbell&#8217;s point of view in order to fully realize it (it has to do with genetics and yellow florescent proteins). Another interesting method of projection was seen in Robert Drummond&#8217;s work &#8220;Projection Anaphoric&#8221; in which he projected from the ceiling (<a href="http://farm5.static.flickr.com/4115/4752786617_90b4882a7e_z.jpg" rel="lightbox[875]">photo</a>) onto the floor (<a href="http://farm5.static.flickr.com/4074/4752783299_b2fca3dcaf_z.jpg" rel="lightbox[875]">photo</a>). What the viewer sees is a morphed video on the floor corrected visually by a cylindrical mirror (<a href="http://farm5.static.flickr.com/4097/4752786589_7030252ba4_z.jpg" rel="lightbox[875]">photo</a>).</p>
<p>Overall, I was able to see a larger variety of video art than I had ever seen before. Frank and Mariannah expressed to me that they consciously decided not to give Currents2010 a theme so they could present a large variety of works. I would have liked to have seen more interactive works; the two Currents2010 did have, <a href="http://blog.drwoohoo.com/">Dr. Whoohoo!</a>&#8216;s &#8220;Walking Threw Dandelions&#8221; (<a href="http://farm5.static.flickr.com/4114/4753427218_18e2bd1e42_z.jpg" rel="lightbox[875]">photo</a>) and the Vasulka&#8217;s &#8220;untitled&#8221; (<a href="http://farm5.static.flickr.com/4120/4752787995_d26760c1cb_z.jpg" rel="lightbox[875]">photo</a>), were great pieces and the virtual graffiti (<a href="http://farm5.static.flickr.com/4101/4752784909_08ef48d7d8_z.jpg" rel="lightbox[875]">photo</a>) outside was a great touch though. One could spend hours in the Currents2010 exhibit trying to view all the works. Not only were there a few projectors showing more than one work such as Hillerbrand+Magsamen&#8217;s &#8220;Four Place Setting&#8221; (<a href="http://farm5.static.flickr.com/4102/4752786723_7fa40260cd_z.jpg" rel="lightbox[875]">photo</a>), but there were screening rooms (<a href="http://farm5.static.flickr.com/4118/4752783659_e17a977d87_z.jpg" rel="lightbox[875]">photo</a>) showing single channel works ranging from those of high school students to those of professional video artists. The unique and inspiring ideas, such as Novakova&#8217;s prisms (<a href="http://farm5.static.flickr.com/4143/4752786149_e6e7eefa2b_z.jpg" rel="lightbox[875]">photo</a>) and David Webber&#8217;s cathode ray four channel piece (<a href="http://farm5.static.flickr.com/4100/4752789685_712458da39_z.jpg" rel="lightbox[875]">photo</a>), provided an additional angle to video art to soak in.</p>
<p>If you want to get a better feel for what Currents2010 was like, go through my flickr album embedded above. I included the map of the exhibit and reference the letter labels on the map in my descriptions below each picture when applicable.</p>
<p>For my own record and further study: Some artists I talked to during my stay told me to look up the following = Gary Hill (video artist), David Jones (video synth), Janet Cardiff (sound installation), artbots (art robot competition), Koyaanisqatsi (Philip Glass film), Joanne Lefrak (scratched glass), Douglas Henderson (sound artist), Michael Snow (tracking shot), Patrick Wilkanowski (longue ???), and David Lynch (specifically Mulholland Drive).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benjohansen.com/archives/875/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My next project</title>
		<link>http://www.benjohansen.com/archives/817</link>
		<comments>http://www.benjohansen.com/archives/817#comments</comments>
		<pubDate>Sat, 03 Apr 2010 03:55:11 +0000</pubDate>
		<dc:creator>Ben Johansen</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.benjohansen.com/archives/817</guid>
		<description><![CDATA[I think I am going to make a video switcher for composite video. I want to switch between multiple video cameras that have composite outputs (using an arduino) and send their signals to my computer so I can manipulate them live with Isadora. Here is the IC I think I&#8217;m going the try &#8211; the [...]]]></description>
			<content:encoded><![CDATA[<p>I think I am going to make a video switcher for composite video.  I want to switch between multiple video cameras that have composite outputs (using an arduino) and send their signals to my computer so I can manipulate them live with Isadora.  Here is the IC I think I&#8217;m going the try &#8211; the circuit looks simple:<br />
<a href="http://www.benjohansen.com/wp-content/uploads/2010/04/NJM2595.png" rel="lightbox[817]"><img src="http://www.benjohansen.com/wp-content/uploads/2010/04/NJM2595.png" alt="" title="NJM2595" width="640" height="568" class="aligncenter size-full wp-image-816" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benjohansen.com/archives/817/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>recycled sound setup</title>
		<link>http://www.benjohansen.com/archives/799</link>
		<comments>http://www.benjohansen.com/archives/799#comments</comments>
		<pubDate>Mon, 22 Mar 2010 07:25:56 +0000</pubDate>
		<dc:creator>Ben Johansen</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Installation Art]]></category>
		<category><![CDATA[Music Composition]]></category>
		<category><![CDATA[Sound Sculpture]]></category>
		<category><![CDATA[physical computing]]></category>

		<guid isPermaLink="false">http://www.benjohansen.com/?p=799</guid>
		<description><![CDATA[[I will edit this post soon to be more detailed] I am posting my scratchy sketch of the pitches I am using for Recycled Sound. Click on the picture to see a larger version. Branches with two notes means it will alternate between the two pitches (it should should like it is always progressing between [...]]]></description>
			<content:encoded><![CDATA[<p>[I will edit this post soon to be more detailed]</p>
<p>I am posting my scratchy sketch of the pitches I am using for <a href="http://www.benjohansen.com/recycled-sound">Recycled Sound</a>. Click on the picture to see a larger version. Branches with two notes means it will alternate between the two pitches (it should should like it is always progressing between two chords). The purple wiggly lines indicate the ratchet sound makers.</p>
<p style="text-align: left;"><a href="http://www.benjohansen.com/wp-content/uploads/2010/03/recycled-sound-setup.jpg" rel="lightbox[799]"><img class="size-medium wp-image-800  aligncenter" title="recycled-sound-setup" src="http://www.benjohansen.com/wp-content/uploads/2010/03/recycled-sound-setup-300x212.jpg" alt="" width="300" height="212" /></a><br />
Here is a picture of the electronics and the sound makers in a very small version of the circle they will be in:</p>
<p><img class="aligncenter size-full wp-image-797" title="CRW_7796" src="http://www.benjohansen.com/wp-content/uploads/2010/03/CRW_7796.jpg" alt="" width="640" height="532" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benjohansen.com/archives/799/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>construction of sounds for Recycled Sound</title>
		<link>http://www.benjohansen.com/archives/784</link>
		<comments>http://www.benjohansen.com/archives/784#comments</comments>
		<pubDate>Mon, 22 Mar 2010 07:00:07 +0000</pubDate>
		<dc:creator>Ben Johansen</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Installation Art]]></category>
		<category><![CDATA[Music Composition]]></category>
		<category><![CDATA[Sound Sculpture]]></category>
		<category><![CDATA[physical computing]]></category>

		<guid isPermaLink="false">http://www.benjohansen.com/?p=784</guid>
		<description><![CDATA[Here are some pictures of the construction of the &#8220;sound makers&#8221; for Recycled Sound. I took apart an old set of student bells (used by junior high students learning to play keyboard percussion) and constructed something to hold a motor with a chain attached.  When the motor turns, the chain hits the bell (it sounds [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some pictures of the construction of the &#8220;sound makers&#8221; for <a href="http://www.benjohansen.com/recycled-sound">Recycled Sound</a>. I took apart an old set of student bells (used by junior high students learning to play keyboard percussion) and constructed something to hold a motor with a chain attached.  When the motor turns, the chain hits the bell (it sounds like an old telephone &#8211; but specifically pitched).  The other objects I made sound like a very loud ratchet.  The pipe extension amplifies the sound (they do not really have any particular pitch).  Other motors with chains will be mounted to the sculptures Jonathon is making &#8211; they should all sound a bit different.</p>
<p><img class="aligncenter size-full wp-image-785" title="construction" src="http://www.benjohansen.com/wp-content/uploads/2010/03/construction.jpg" alt="" width="640" height="427" /><img class="aligncenter size-full wp-image-786" title="CRW_7790" src="http://www.benjohansen.com/wp-content/uploads/2010/03/CRW_7790.jpg" alt="" width="640" height="427" /><img class="aligncenter size-full wp-image-787" title="CRW_7791" src="http://www.benjohansen.com/wp-content/uploads/2010/03/CRW_7791.jpg" alt="" width="640" height="655" /><img class="aligncenter size-full wp-image-788" title="CRW_7792" src="http://www.benjohansen.com/wp-content/uploads/2010/03/CRW_7792.jpg" alt="" width="640" height="397" /><img class="aligncenter size-full wp-image-789" title="CRW_7793" src="http://www.benjohansen.com/wp-content/uploads/2010/03/CRW_7793.jpg" alt="" width="640" height="427" /><img class="aligncenter size-full wp-image-790" title="CRW_7799" src="http://www.benjohansen.com/wp-content/uploads/2010/03/CRW_7799.jpg" alt="" width="640" height="427" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benjohansen.com/archives/784/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new batteries!</title>
		<link>http://www.benjohansen.com/archives/759</link>
		<comments>http://www.benjohansen.com/archives/759#comments</comments>
		<pubDate>Tue, 09 Mar 2010 15:09:52 +0000</pubDate>
		<dc:creator>Ben Johansen</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Installation Art]]></category>
		<category><![CDATA[Sound Sculpture]]></category>
		<category><![CDATA[physical computing]]></category>

		<guid isPermaLink="false">http://www.benjohansen.com/?p=759</guid>
		<description><![CDATA[I just bought 12 great batteries (Werker 12V 7.5ah) from BatteriesPlus for only $15/each &#8212; that&#8217;s over half off!  Thank you BatteriesPlus! I&#8217;ll be charging the batteries in parallel using the Schumacher 2/4/6 Speed Charge. I put a picture below of how to charge in parallel (the guy at BatteriesPlus said to think of a [...]]]></description>
			<content:encoded><![CDATA[<p>I just bought 12 great batteries (Werker 12V 7.5ah) from BatteriesPlus for only $15/each &#8212; that&#8217;s over half off!  Thank you BatteriesPlus! I&#8217;ll be charging the batteries in parallel using the Schumacher 2/4/6 Speed Charge.  I put a picture below of how to charge in parallel (the guy at BatteriesPlus said to think of a ladder to remember it = great tip).<br />
<img class="alignnone" title="WKA12-7.5F" src="http://www.batteriesplus.com/images/Product/medium/32634.jpg" alt="" width="175" height="175" /><img class="alignnone" title="charger" src="http://i.walmartimages.com/i/p/00/02/66/66/70/0002666670804_500X500.jpg" alt="" width="243" height="243" /><img class="alignnone" title="charging" src="http://www.batteryminders.com/images/12V_Diagram_b.gif" alt="" width="180" height="227" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benjohansen.com/archives/759/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wireless RF Arduino with digital compass</title>
		<link>http://www.benjohansen.com/archives/736</link>
		<comments>http://www.benjohansen.com/archives/736#comments</comments>
		<pubDate>Sat, 06 Feb 2010 05:13:49 +0000</pubDate>
		<dc:creator>Ben Johansen</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Installation Art]]></category>
		<category><![CDATA[Sound Sculpture]]></category>
		<category><![CDATA[physical computing]]></category>

		<guid isPermaLink="false">http://www.benjohansen.com/?p=736</guid>
		<description><![CDATA[I just wrote and tried out the code with hardware for wireless (RF) transmitting from an Arduino with a digital compass to other arduinos with LEDs. Here is the code for the transmitter (sending to 3 different Arduinos).  The code is set up (the x and y variables) to only send a message out for [...]]]></description>
			<content:encoded><![CDATA[<p>I just wrote and tried out the code with hardware for wireless (RF) transmitting from an Arduino with a digital compass to other arduinos with LEDs.</p>
<p>Here is the code for the transmitter (sending to 3 different Arduinos).  The code is set up (the <em>x </em>and <em>y</em> variables) to only send a message out for a given degree range once . . . so you must go to another degree range and come back for the message to be sent again from a given degree range.  This insures that LEDs (or solenoids in the instance of my installation work) are not continuously fired when the compass is left facing one direction with no one around turning it.</p>
<pre>#include &lt;Wire.h&gt;
#include &lt;VirtualWire.h&gt; // http://www.open.com.au/mikem/arduino/VirtualWire-1.4.zip

int HMC6352Address = 0x42;
// This is calculated in the setup() function
int slaveAddress;
int ledPin = 13;
boolean ledState = false;
byte headingData[2];
int i, headingValue;

int x = 0;
int y = 0;

void setup()
{
//digital compass setup
// Shift the device's documented slave address (0x42) 1 bit right
// This compensates for how the TWI library only wants the
// 7 most significant bits (with the high bit padded with 0)
slaveAddress = HMC6352Address &gt;&gt; 1;   // This results in 0x21 as the address to pass to TWI
//Serial.begin(9600);
pinMode(ledPin, OUTPUT);      // Set the LED pin as output
Wire.begin();

//transmitter setup
vw_setup(2000);     // Bits per sec
}

void loop()
{
 // Flash the LED on pin 13 just to show that something is happening
 // Also serves as an indication that we're not "stuck" waiting for TWI data
 ledState = !ledState;
 if (ledState) {
 digitalWrite(ledPin,HIGH);
 }
 else
 {
 digitalWrite(ledPin,LOW);
 }
 // Send a "A" command to the HMC6352
 // This requests the current heading data
 Wire.beginTransmission(slaveAddress);
 Wire.send("A");              // The "Get Data" command
 Wire.endTransmission();
 delay(10);                   // The HMC6352 needs at least a 70us (microsecond) delay
 // after this command.  Using 10ms just makes it safe
 // Read the 2 heading bytes, MSB first
 // The resulting 16bit word is the compass heading in 10th's of a degree
 // For example: a heading of 1345 would be 134.5 degrees
 Wire.requestFrom(slaveAddress, 2);        // Request the 2 byte heading (MSB comes first)
 i = 0;
 while(Wire.available() &amp;&amp; i &lt; 2)
 {
 headingData[i] = Wire.receive();
 i++;
 }
 headingValue = headingData[0]*256 + headingData[1];  // Put the MSB and LSB together
 /*
 Serial.print("Current heading: ");
 Serial.print(int (headingValue / 10));     // The whole number part of the heading
 Serial.print(".");
 Serial.print(int (headingValue % 10));     // The fractional part of the heading
 Serial.println(" degrees");
 */
 headingValue = (int (headingValue / 10));
 //Serial.println(int (headingValue)); //debugging

 const char *mymessage = "Z";

 if ((headingValue &gt;= 1) &amp;&amp; (headingValue &lt;= 179)){
 mymessage = "A";
 y = 1;
 }
 else if ((headingValue &gt;= 180) &amp;&amp; (headingValue &lt;= 250)){
 mymessage = "B";
 y = 2;
 }
 else {
 mymessage = "C";
 y = 3;
 }

 if (x != y){
 digitalWrite(13, true);  // turn on LED to show transmitting
 vw_send((uint8_t *)mymessage, strlen(mymessage));  // transmit message
 vw_wait_tx(); // Wait until the whole message is gone
 digitalWrite(13, false);  // turn off LED to show transmitting is done
 x = y;
 //Serial.println(mymessage); //debugging
 }
 else{
 }

 delay(100);   //not sure how short I can make this yet???
}
</pre>
<p>=======================================================</p>
<p>Here is the code for the receivers (change what is commented out, &#8216;A&#8217;, &#8216;B&#8217;, or &#8216;C&#8217; message at the end, according to which of the three Arduinos you load the sketch up to):</p>
<pre>// receiver.pde

#include &lt;VirtualWire.h&gt; // http://www.open.com.au/mikem/arduino/VirtualWire-1.4.zip

char inString[32];
int inCount;

void setup()
{

 pinMode(9, OUTPUT);        // sets the LED pin to be an output

 ////// serial code is commented out because this application does  //////
 ////// not require a computer - remove comment to send to computer //////
 //Serial.begin(9600);    
 //Serial.println("setup");

 vw_setup(2000);     // Bits per sec

 vw_rx_start();       // Start the receiver PLL running
}

void loop()
{

 uint8_t buf[VW_MAX_MESSAGE_LEN];
 uint8_t buflen = VW_MAX_MESSAGE_LEN;
 inCount = 0;

 if (vw_get_message(buf, &amp;buflen)) // Non-blocking
 {
 int i;
 digitalWrite(13, true); // turn on LED to show received good message
 // Message with a good checksum received, dump it.
 //Serial.print("Got: ");    
 for (i = 0; i &lt; buflen; i++)
 {
 //Serial.print(buf[i]);
 //Serial.print(" ");
 inString[inCount] = buf[i];
 inCount++;
 }
 //Serial.println("");

 ////// if statements comparing incoming message //////
 ////// comment out letters for different sculptures //////
/*
 if (strcmp(inString, "A") == 0){
 digitalWrite(9, true);
 delay (500);
 digitalWrite(9, false);
 }

 if (strcmp(inString, "B") == 0){
 digitalWrite(9, true);
 delay (500);
 digitalWrite(9, false);
 }
*/        
 if (strcmp(inString, "C") == 0){
 digitalWrite(9, true);
 delay (500);
 digitalWrite(9, false);
 }

 digitalWrite(13, false); // turn off LED to show done
 }
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.benjohansen.com/archives/736/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First draft of the installation</title>
		<link>http://www.benjohansen.com/archives/728</link>
		<comments>http://www.benjohansen.com/archives/728#comments</comments>
		<pubDate>Mon, 01 Feb 2010 02:18:43 +0000</pubDate>
		<dc:creator>Ben Johansen</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Installation Art]]></category>

		<guid isPermaLink="false">http://www.benjohansen.com/?p=728</guid>
		<description><![CDATA[Jonathan just completed the first draft of what we project the installation to look like (click on the picture to see a larger version):]]></description>
			<content:encoded><![CDATA[<p>Jonathan just completed the first draft of what we project the installation to look like (click on the picture to see a larger version):</p>
<p><a href="http://www.benjohansen.com/wp-content/uploads/2010/01/Recycled_Sound.jpg" rel="lightbox[728]"><img class="aligncenter size-full wp-image-714" title="Recycled_Sound-small" src="http://www.benjohansen.com/wp-content/uploads/2010/01/Recycled_Sound-small.jpg" alt="" width="640" height="353" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benjohansen.com/archives/728/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>digital compass and arduino &#8211; HMC6352 from Sparkfun.com</title>
		<link>http://www.benjohansen.com/archives/707</link>
		<comments>http://www.benjohansen.com/archives/707#comments</comments>
		<pubDate>Sun, 31 Jan 2010 06:57:40 +0000</pubDate>
		<dc:creator>Ben Johansen</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Installation Art]]></category>

		<guid isPermaLink="false">http://www.benjohansen.com/?p=707</guid>
		<description><![CDATA[I&#8217;ll clean this post up more later &#8211; I&#8217;m using it more as notes to myself right now. I hooked up the HMC6352 digital compass from Sparkfun using a voltage divider in order to get it 3.3v from the 5v supply from the arduino.  I used my multimeter and tried a number of different resistors.  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll clean this post up more later &#8211; I&#8217;m using it more as notes to myself right now.</p>
<p>I hooked up the <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=7915">HMC6352 digital compass from Sparkfun</a> using a <a href="http://www.physicsconsortium.com/electronics/3-basics/3-voltage-dividers">voltage divider</a> in order to get it 3.3v from the 5v supply from the arduino.  I used my multimeter and tried a number of different resistors.  I came up with using the following:</p>
<p>5V<br />
|<br />
10K resistor<br />
|<br />
=========== about 3.3V output<br />
|<br />
10K resistor<br />
5.6K resistor<br />
5.6K resistor<br />
|<br />
GND</p>
<p><a href="http://recombine.net/blog/article/49/hmc6352-sparkfun-compass-and-arduino">I used this great website</a> to wire up the unit (SDA to arduino analog pin 4 and SCL to arduino analog pin 5).  I used the code posted on the site and it worked great (I posted it below). Next, I will include the code in my transmitter code and translate degrees to trigger the sculptures.</p>
<pre>#include &lt;Wire.h&gt;
int HMC6352Address = 0x42;
// This is calculated in the setup() function
int slaveAddress;
int ledPin = 13;
boolean ledState = false;
byte headingData[2];
int i, headingValue;
void setup()
{
// Shift the device's documented slave address (0x42) 1 bit right
// This compensates for how the TWI library only wants the
// 7 most significant bits (with the high bit padded with 0)
slaveAddress = HMC6352Address &gt;&gt; 1;   // This results in 0x21 as the address to pass to TWI
Serial.begin(9600);
pinMode(ledPin, OUTPUT);      // Set the LED pin as output
Wire.begin();
}
void loop()
{
  // Flash the LED on pin 13 just to show that something is happening
  // Also serves as an indication that we're not "stuck" waiting for TWI data
  ledState = !ledState;
  if (ledState) {
    digitalWrite(ledPin,HIGH);
  }
  else
  {
    digitalWrite(ledPin,LOW);
  }
  // Send a "A" command to the HMC6352
  // This requests the current heading data
  Wire.beginTransmission(slaveAddress);
  Wire.send("A");              // The "Get Data" command
  Wire.endTransmission();
  delay(10);                   // The HMC6352 needs at least a 70us (microsecond) delay
  // after this command.  Using 10ms just makes it safe
  // Read the 2 heading bytes, MSB first
  // The resulting 16bit word is the compass heading in 10th's of a degree
  // For example: a heading of 1345 would be 134.5 degrees
  Wire.requestFrom(slaveAddress, 2);        // Request the 2 byte heading (MSB comes first)
  i = 0;
  while(Wire.available() &amp;&amp; i &lt; 2)
  {
    headingData[i] = Wire.receive();
    i++;
  }
  headingValue = headingData[0]*256 + headingData[1];  // Put the MSB and LSB together
  Serial.print("Current heading: ");
  Serial.print(int (headingValue / 10));     // The whole number part of the heading
  Serial.print(".");
  Serial.print(int (headingValue % 10));     // The fractional part of the heading
  Serial.println(" degrees");
  delay(500);
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.benjohansen.com/archives/707/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
