<?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>Hive76 &#187; kinetic art</title>
	<atom:link href="http://www.hive76.org/category/kinetic-art/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hive76.org</link>
	<description>Making Things Awesome, Making Awesome Things</description>
	<lastBuildDate>Fri, 10 May 2013 13:53:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Maker Collider Event with NextFab Studio: TUESDAY</title>
		<link>http://www.hive76.org/maker-collider-event-with-nextfab-studio-tuesday</link>
		<comments>http://www.hive76.org/maker-collider-event-with-nextfab-studio-tuesday#comments</comments>
		<pubDate>Mon, 19 Dec 2011 05:54:26 +0000</pubDate>
		<dc:creator>jmil</dc:creator>
				<category><![CDATA[3D Printing]]></category>
		<category><![CDATA[artists]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Cool Projects]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[Hackerspaces]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Instructionals]]></category>
		<category><![CDATA[kinetic art]]></category>
		<category><![CDATA[Making Makers]]></category>
		<category><![CDATA[Organization]]></category>
		<category><![CDATA[Philadelphia]]></category>

		<guid isPermaLink="false">http://www.hive76.org/?p=3033</guid>
		<description><![CDATA[Join us on TUESDAY, December 20th, 7 pm &#8211; Midnight Meet-and-Make, Hive76 and NextFab Studio Members @ http://NextFabStudio.com/ @ 3711 Market Street This &#8220;Maker Collider&#8221; event will be a great opportunity to make awesome stuff. We had proposed these projects: All details are here on the Wiki After reviewing the projects here and those proposed [...]]]></description>
				<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 210px"><a href="http://wiki.hive76.org/index.php?title=OpenHouseAtNextFabStudio#Proposal_3_by_Eagleapex"><img alt="Option 1) Lasercut, Laser engrave, and LED-light-up your very own Snowflake" src="http://wiki.hive76.org/images/1/1d/Snowflake.jpg" title="Snowflake" width="200" /></a><p class="wp-caption-text">Option 1) Lasercut, Laser engrave, and LED-light-up your very own Snowflake</p></div>
<p>Join us on TUESDAY, December 20th, 7 pm &#8211; Midnight</p>
<p>Meet-and-Make, Hive76 and NextFab Studio Members<br />
@ <a href="http://www.NextFabStudio.com/" title="NextFabStudio" target="_blank">http://NextFabStudio.com/</a> @ 3711 Market Street</p>
<p>This &#8220;Maker Collider&#8221; event will be a great opportunity to make awesome stuff.</p>
<p>We had proposed these projects:<br />
<a href="http://wiki.hive76.org/OpenHouseAtNextFabStudio " title="Open House at NextFab Studio">All details are here on the Wiki</a></p>
<p>After reviewing the projects here and those proposed by NextFab members it sounds like we will be doing some form of the Chess boards, the snowflakes, some robotics, and a bunch of laser-engraving. But what if you don&#8217;t like those? Come by anyway and you can rally troops for helping you on your own project(s).</p>
<p>NextFab Studio will have these staff members on hand throughout the event:<br />
Chrinstine : Textile and Industrial Design ( fabric knowledge, product design,cad, sewing )<br />
Ian : Electronics (pcb design/fabrication, coding, wiring, soldering, etc.)<br />
Seth : Mechanical Engineer (handtools, cad, product design)<br />
Brandon : Multi-Media Designer ( 3d printing, graphic design, product design, cinematography, cad)</p>
<p>Anything you want to do, you can do. AWESOME.</p>
<p><a href="http://www.nextfabstudio.com/about/equipment-list" title="NextFabStudio Equipment" target="_blank">Check out all their equipment.</a></p>
<p>Oh, and there will be food too. Be there at 7 pm!!</p>
<p><a href="http://groups.google.com/group/hive76-discussion" title="Join our mailing list" target="_blank">To Join in on the Discussion, please join our mailing list</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hive76.org/maker-collider-event-with-nextfab-studio-tuesday/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hive76 Open House at NextFab Studio &#8212; A very Hacking Wintertime</title>
		<link>http://www.hive76.org/hive76-open-house-at-nextfab-studio-a-very-hacking-wintertime</link>
		<comments>http://www.hive76.org/hive76-open-house-at-nextfab-studio-a-very-hacking-wintertime#comments</comments>
		<pubDate>Fri, 18 Nov 2011 18:20:07 +0000</pubDate>
		<dc:creator>jmil</dc:creator>
				<category><![CDATA[3D Printing]]></category>
		<category><![CDATA[artists]]></category>
		<category><![CDATA[Cool Projects]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[Hackerspaces]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HiveBot]]></category>
		<category><![CDATA[kinetic art]]></category>

		<guid isPermaLink="false">http://www.hive76.org/?p=2921</guid>
		<description><![CDATA[We are excited to announce a very hacking winter-time Hive76 open-house hosted by NextFabStudio: Hive76 Open House December 20th, 7pm &#8211; Midnight @ http://NextFabStudio.com/ @ 3711 Market Street This Hack-tacular event will be at NextFabStudio and will get us free access for the night to some of their most awesome tools, such as: CNC plasma, [...]]]></description>
				<content:encoded><![CDATA[<p>We are excited to announce a very hacking winter-time Hive76 open-house hosted by NextFabStudio:</p>
<p>Hive76 Open House<br />
December 20th, 7pm &#8211; Midnight<br />
@ <a href="http://www.NextFabStudio.com/" title="NextFabStudio" target="_blank">http://NextFabStudio.com/</a> @ 3711 Market Street</p>
<p>This Hack-tacular event will be at NextFabStudio and will get us free access for the night to some of their most awesome tools, such as: CNC plasma, CNC embroidery, e-textiles, electronics, 3D printers, shop bots&#8230; <a href="http://www.nextfabstudio.com/about/equipment-list" title="NextFabStudio Equipment" target="_blank">Check out all their equipment.</a></p>
<p>There will be food too.</p>
<p>So Awesome.</p>
<p>Now we need to brainstorm project ideas, let&#8217;s start things off in this email thread. Please reply-all so the proper NextFab people (cc&#8217;ed above) can tell us if this is possible and, if so, the logistics for how to make it happen.</p>
<p><a href="http://wiki.hive76.org/OpenHouseAtNextFabStudio " title="Open House at NextFab Studio">All details are here on the Wiki</a></p>
<p><a href="http://www.hive76.org/wp-content/uploads/2011/11/GangstaChessRendering.png"><img src="http://www.hive76.org/wp-content/uploads/2011/11/GangstaChessRendering-300x168.png" alt="" title="GangstaChessRendering" width="300" height="168" class="alignright size-medium wp-image-2922" /></a></p>
<p><a href="http://www.hive76.org/wp-content/uploads/2011/11/image-1.jpeg"><img src="http://www.hive76.org/wp-content/uploads/2011/11/image-1-300x225.jpg" alt="" title="3D printed Gangsta Chess set" width="300" height="225" class="alignright size-medium wp-image-2923" /></a></p>
<p>I&#8217;m proposing the first project (we can have many of them!!)&#8230;</p>
<p>A double-set of Hive76 chess pieces and boards. This will make use of their lasercutters, embroidery equipment, and possibly the electronics and 3D printers too. I really want a double-set (4 different colors) so we can play <a href="http://en.wikipedia.org/wiki/Bughouse_chess" title="BugHouse Chess">Bughouse Chess</a> (You will love this game)</p>
<p>If we get really creative maybe some magnetics and electronics could be enabled as well.</p>
<p>Let&#8217;s get hacking!</p>
<p><a href="http://groups.google.com/group/hive76-discussion" title="Join our mailing list" target="_blank">To Join in on the Discussion, please join our mailing list</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hive76.org/hive76-open-house-at-nextfab-studio-a-very-hacking-wintertime/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Monthly Monday Microcontroller Madness: Motors!</title>
		<link>http://www.hive76.org/monthly-monday-microcontroller-madness-motors</link>
		<comments>http://www.hive76.org/monthly-monday-microcontroller-madness-motors#comments</comments>
		<pubDate>Fri, 09 Sep 2011 16:47:26 +0000</pubDate>
		<dc:creator>pez</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[artists]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[kinetic art]]></category>
		<category><![CDATA[MSP430]]></category>
		<category><![CDATA[Study Groups]]></category>

		<guid isPermaLink="false">http://www.hive76.org/?p=2738</guid>
		<description><![CDATA[After speaking to a few folks that expressed an interest in the MMMM workshop, it became apparent (a) most folks were newbs who want to learn the basics and (b) everyone wants to control motors.  Excellent!  We&#8217;ll do that. Although motor control is potentially a vast and complex topic, with highly specialized branches, the basics [...]]]></description>
				<content:encoded><![CDATA[<p><iframe width="420" height="345" src="http://www.youtube.com/embed/XQgIEHk7aqo" frameborder="0" allowfullscreen></iframe><br />
After speaking to a few folks that expressed an interest in the MMMM workshop, it became apparent (a) most folks were newbs who want to learn the basics and (b) everyone wants to control motors.  Excellent!  We&#8217;ll do that.</p>
<p>Although motor control is potentially a vast and complex topic, with highly specialized branches, the basics are fairly easy to learn &#8212; and they&#8217;ll take you pretty far.   So &#8230; we&#8217;ll be prepared to present the following items:</p>
<ul>
<li>DC motors</li>
<li>H-bridge circuits &#8212; these let puny microcontrollers run fairly powerful motors</li>
<li>Stepper motors &#8212; just a little more complex to program than DC motors and they use H-bridge circuits too</li>
<li>Quadrature Encoders &#8212; these are a  simple and accurate way to read the position of something</li>
</ul>
<p>We&#8217;ll also try to discuss some organizational items &#8212; like the logistics of future workshops and the use of the MMMM GitHub, so that we can build up assets collectively, share them with the world and manage changes and contributions in a free-and-easy-but-organized way.</p>
<p>If you are coming , please bring:</p>
<ul>
<li>Yourself &#8212; If you&#8217;re a newb, welcome &#8212; If you&#8217;re an MCU Yoda, then attend you must and wisdom to newbs impart</li>
<li>Some ideas</li>
<li>A laptop if you have one</li>
<ul>
<li>You may want to install VMWare Player or VMWare Fusion before you arrive</li>
</ul>
<li>An MCU development kit if you have one or &#8230;</li>
<li>Some money if you don&#8217;t.  We&#8217;ll have some development kits that you can buy.  Plan on at least $10 for the kits and some parts that you can use for small learning projects.</li>
<li>A bread-board if you want to build some live circuits to keep.  We&#8217;ll have breadboards to loan, but if you want to take one home, it has to be one that arrived with you.</li>
</ul>
<p>That&#8217;s about it &#8212; see you all Monday.  To whet your appetite, there is some prototype code below for reading a quadrature encoded position detector (not really elegant enough for a final effort, but it&#8217;s a start).  We&#8217;ll have you writing stuff like this in no-time.</p>
<p><span id="more-2738"></span></p>
<p>This code is part of an effort to turn salvaged InkJet printers into motion controllers.  Most of these positioners let you position an InkJet head to within 1/600 inch &#8212; they&#8217;re fast, accurate, compact, surprisingly strong &#8230; and dirt-cheap.</p>
<pre>#include  <span style="color: blue; font-size: xx-small;">&lt;</span>msp430x20x2.h<span style="color: blue; font-size: xx-small;">&gt;</span>

#define LED0 BIT0
#define LED1 BIT6
#define PHASE1 BIT1
#define PHASE2 BIT2
#define PHASE_MASK <span style="color: brown;">6</span>
#define PHASE_SHIFT <span style="color: brown;">1</span>

<span style="color: red;"><strong>int</strong></span> state<span style="color: blue; font-size: xx-small;"><strong>;</strong></span>     <span style="color: green;"><em>// used to hold current state of encoder bits (00, 01, 10 or 11) </em></span><span style="color: red;"><strong>
int</strong></span> lastState<span style="color: blue; font-size: xx-small;"><strong>;</strong></span><span style="color: green;"><em> // used to hold previous state of encoder bits (00, 01, 10 or 11) 
</em></span><span style="color: red;"><strong>int</strong></span> pos<span style="color: blue; font-size: xx-small;"><strong>;</strong></span> <span style="color: green;"><em> // used to count steps. A 1/150" encoder (the most common kind) yields 600 steps per inck. </em></span>

<span style="color: green;"><em>// -- prototype of common bit of code used to compute the present state value </em></span><span style="color: red;"><strong>
void</strong></span> updateState<span style="color: blue; font-size: xx-small;"><strong>(</strong></span><span style="color: red;"><strong>void</strong></span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span>

<span style="color: red;"><strong>int</strong></span> main<span style="color: blue; font-size: xx-small;"><strong>(</strong></span><span style="color: red;"><strong>void</strong></span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span>
<span style="color: blue; font-size: xx-small;"><strong>{</strong></span>
	WDTCTL <span style="color: blue; font-size: xx-small;">=</span> WDTPW <span style="color: blue; font-size: xx-small;">+</span> WDTHOLD<span style="color: blue; font-size: xx-small;"><strong>;</strong></span> <span style="color: green;"><em>// Stop watchdog timer </em></span>
	<span style="color: green;"><em>// --- set up some initial values </em></span>	
        pos <span style="color: blue; font-size: xx-small;">=</span> <span style="color: brown;">0</span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span>
	P1DIR <span style="color: blue; font-size: xx-small;">&amp;</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: blue; font-size: xx-small;">~</span><span style="color: blue; font-size: xx-small;"><strong>(</strong></span>PHASE1 <span style="color: blue; font-size: xx-small;">+</span> PHASE2<span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span> <span style="color: green;"><em>// Set P1.1 and P1.2 as inputs </em></span>	
        P1DIR <span style="color: blue; font-size: xx-small;">|</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: blue; font-size: xx-small;"><strong>(</strong></span>LED0 <span style="color: blue; font-size: xx-small;">+</span> LED1<span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span> <span style="color: green;"><em>// Set P1.0 and P1.6 to outputs. These are the LEDs on a LaunchPad. 

</em></span>	<span style="color: green;"><em>// --- get initial conditions so that the first interrupt </em></span>	<span style="color: green;"><em>
 // has the right "edge" values and so that position calculations are based on feasible transitions </em></span>	
        updateState<span style="color: blue; font-size: xx-small;"><strong>(</strong></span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span>
	lastState <span style="color: blue; font-size: xx-small;">=</span> state<span style="color: blue; font-size: xx-small;"><strong>;</strong></span>

	P1IFG <span style="color: blue; font-size: xx-small;">&amp;</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: blue; font-size: xx-small;">~</span><span style="color: blue; font-size: xx-small;"><strong>(</strong></span>PHASE1 <span style="color: blue; font-size: xx-small;">|</span> PHASE2<span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span> <span style="color: green;"><em>// clear interrupt flags for P1.1 and P1.2 </em></span>	
        P1IE <span style="color: blue; font-size: xx-small;">|</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: blue; font-size: xx-small;"><strong>(</strong></span>PHASE1 <span style="color: blue; font-size: xx-small;">|</span> PHASE2<span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span> <span style="color: green;"><em>// P1.1 and P1.2 interrupt enabled </em></span>
	__enable_interrupt<span style="color: blue; font-size: xx-small;"><strong>(</strong></span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span> <span style="color: green;"><em>// enable all interrupts </em></span>	<span style="color: red;"><strong>
 for</strong></span><span style="color: blue; font-size: xx-small;"><strong>(</strong></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span>
	<span style="color: blue; font-size: xx-small;"><strong>{</strong></span> <span style="color: green;"><em>/* just loop forever and let the interrupts do all the work */</em></span> <span style="color: blue; font-size: xx-small;"><strong>}</strong></span>
<span style="color: blue; font-size: xx-small;"><strong>}</strong></span>

<span style="color: green;"><em>// updateState() calculates updates for the edge detectors used in the interrupts </em></span><span style="color: green;"><em>
// and also updates the "lastState" variable 
</em></span><span style="color: red;"><strong>void</strong></span> updateState<span style="color: blue; font-size: xx-small;"><strong>(</strong></span><span style="color: red;"><strong>void</strong></span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>{</strong></span>
	state <span style="color: blue; font-size: xx-small;">=</span> P1IN <span style="color: blue; font-size: xx-small;">&amp;</span> PHASE_MASK<span style="color: blue; font-size: xx-small;"><strong>;</strong></span>

	<span style="color: red;"><strong>if</strong></span> <span style="color: blue; font-size: xx-small;"><strong>(</strong></span>state <span style="color: blue; font-size: xx-small;">&amp;</span> PHASE1<span style="color: blue; font-size: xx-small;"><strong>)</strong></span>
		P1IES <span style="color: blue; font-size: xx-small;">|</span><span style="color: blue; font-size: xx-small;">=</span> PHASE1<span style="color: blue; font-size: xx-small;"><strong>;</strong></span> <span style="color: green;"><em>// PHASE1 high, then interrupt on falling edge </em></span>	
        <span style="color: red;"><strong>else</strong></span>
		P1IES <span style="color: blue; font-size: xx-small;">&amp;</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: blue; font-size: xx-small;">~</span>PHASE1<span style="color: blue; font-size: xx-small;"><strong>;</strong></span> <span style="color: green;"><em>// PHASE1 low, then interrupt on rising edge </em></span>
	<span style="color: red;"><strong>if</strong></span> <span style="color: blue; font-size: xx-small;"><strong>(</strong></span>state <span style="color: blue; font-size: xx-small;">&amp;</span> PHASE2<span style="color: blue; font-size: xx-small;"><strong>)</strong></span>
		P1IES <span style="color: blue; font-size: xx-small;">|</span><span style="color: blue; font-size: xx-small;">=</span> PHASE2<span style="color: blue; font-size: xx-small;"><strong>;</strong></span> <span style="color: green;"><em>// PHASE2 high, then interrupt on falling edge </em></span>	
        <span style="color: red;"><strong>else</strong></span>
		P1IES <span style="color: blue; font-size: xx-small;">&amp;</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: blue; font-size: xx-small;">~</span>PHASE2<span style="color: blue; font-size: xx-small;"><strong>;</strong></span> <span style="color: green;"><em>// PHASE2 low, then interrupt on rising edge </em></span>

	<span style="color: green;"><em>// ---"right-justify" state so that it is in the range 0..3</em></span>	
       state <span style="color: blue; font-size: xx-small;">=</span>  <span style="color: blue; font-size: xx-small;"><strong>(</strong></span>state <span style="color: blue; font-size: xx-small;">&gt;</span><span style="color: blue; font-size: xx-small;">&gt;</span> PHASE_SHIFT<span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span>
<span style="color: blue; font-size: xx-small;"><strong>}</strong></span>

<span style="color: green;"><em>// Port 1 interrupt service routine </em></span>#pragma vector<span style="color: blue; font-size: xx-small;">=</span>PORT1_VECTOR
__interrupt <span style="color: red;"><strong>void</strong></span> Port_1<span style="color: blue; font-size: xx-small;"><strong>(</strong></span><span style="color: red;"><strong>void</strong></span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span>
<span style="color: blue; font-size: xx-small;"><strong>{</strong></span>
    updateState<span style="color: blue; font-size: xx-small;"><strong>(</strong></span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span>

    <span style="color: green;"><em>// --- test for all clockwise incremental cases </em></span>    <span style="color: green;"><em> 
 // if we stepped clockwise, then increment the position </em></span>    
    <span style="color: red;"><strong>if</strong></span> <span style="color: blue; font-size: xx-small;"><strong>(</strong></span> <span style="color: blue; font-size: xx-small;"><strong>(</strong></span>lastState <span style="color: blue; font-size: xx-small;">=</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: brown;">0</span> <span style="color: blue; font-size: xx-small;">&amp;</span> state <span style="color: blue; font-size: xx-small;">=</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: brown;">2</span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span>
       <span style="color: blue; font-size: xx-small;"><span style="color: blue; font-size: xx-small;">|</span><span style="color: blue; font-size: xx-small;">|</span></span><span style="color: blue; font-size: xx-small;"><strong>(</strong></span>lastState <span style="color: blue; font-size: xx-small;">=</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: brown;">2</span> <span style="color: blue; font-size: xx-small;">&amp;</span> state <span style="color: blue; font-size: xx-small;">=</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: brown;">3</span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span>
       <span style="color: blue; font-size: xx-small;"><span style="color: blue; font-size: xx-small;">|</span><span style="color: blue; font-size: xx-small;">|</span></span><span style="color: blue; font-size: xx-small;"><strong>(</strong></span>lastState <span style="color: blue; font-size: xx-small;">=</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: brown;">3</span> <span style="color: blue; font-size: xx-small;">&amp;</span> state <span style="color: blue; font-size: xx-small;">=</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: brown;">1</span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span>
       <span style="color: blue; font-size: xx-small;"><span style="color: blue; font-size: xx-small;">|</span><span style="color: blue; font-size: xx-small;">|</span></span><span style="color: blue; font-size: xx-small;"><strong>(</strong></span>lastState <span style="color: blue; font-size: xx-small;">=</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: brown;">1</span> <span style="color: blue; font-size: xx-small;">&amp;</span> state <span style="color: blue; font-size: xx-small;">=</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: brown;">0</span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>{</strong></span>
         pos<span style="color: blue; font-size: xx-small;"><span style="color: blue; font-size: xx-small;">+</span><span style="color: blue; font-size: xx-small;">+</span></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span>
    <span style="color: blue; font-size: xx-small;"><strong>}</strong></span>
    <span style="color: green;"><em>// --- If we didn't move clockwise, then we must have moved counter-clockwise </em></span>    <span style="color: green;"><em>
 // so decrement the position </em></span>    
    <span style="color: red;"><strong>else</strong></span><span style="color: blue; font-size: xx-small;"><strong>{</strong></span>
        pos<span style="color: blue; font-size: xx-small;"><span style="color: blue; font-size: xx-small;">-</span><span style="color: blue; font-size: xx-small;">-</span></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span>
    <span style="color: blue; font-size: xx-small;"><strong>}</strong></span>

    <span style="color: green;"><em>// --- record last state </em></span>    
    lastState <span style="color: blue; font-size: xx-small;">=</span> state<span style="color: blue; font-size: xx-small;"><strong>;</strong></span>

    <span style="color: green;"><em>// --- update LEDs just to help debug </em></span>    
    <span style="color: green;"><em>// use "state" as intermediate variable so that we can see the output value in the debugger easily </em></span>    
    <span style="color: green;"><em>// This is just so that we can see the encoder signal. No functional purpose. </em></span>    
    state <span style="color: blue; font-size: xx-small;">=</span> state <span style="color: blue; font-size: xx-small;">+</span> <span style="color: blue; font-size: xx-small;"><strong>(</strong></span><span style="color: blue; font-size: xx-small;"><strong>(</strong></span>state <span style="color: blue; font-size: xx-small;">&lt;</span><span style="color: blue; font-size: xx-small;">&lt;</span> <span style="color: brown;">5</span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span> <span style="color: blue; font-size: xx-small;">&amp;</span> <span style="color: pink;">0x40</span><span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span>
    P1OUT <span style="color: blue; font-size: xx-small;">=</span> state<span style="color: blue; font-size: xx-small;"><strong>;</strong></span>

    <span style="color: green;"><em>// --- clear the interrupt flags </em></span>    
    P1IFG <span style="color: blue; font-size: xx-small;">&amp;</span><span style="color: blue; font-size: xx-small;">=</span> <span style="color: blue; font-size: xx-small;">~</span><span style="color: blue; font-size: xx-small;"><strong>(</strong></span>PHASE1 <span style="color: blue; font-size: xx-small;">|</span> PHASE2<span style="color: blue; font-size: xx-small;"><strong>)</strong></span><span style="color: blue; font-size: xx-small;"><strong>;</strong></span> <span style="color: green;"><em>// clear interrupt flags for P1.1 and P1.2 </em></span><span style="color: blue; font-size: xx-small;"><strong> 
}</strong></span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hive76.org/monthly-monday-microcontroller-madness-motors/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Build Your Own Open Source 3D Printer</title>
		<link>http://www.hive76.org/build-your-own-open-source-3d-printer</link>
		<comments>http://www.hive76.org/build-your-own-open-source-3d-printer#comments</comments>
		<pubDate>Tue, 16 Aug 2011 01:57:54 +0000</pubDate>
		<dc:creator>jmil</dc:creator>
				<category><![CDATA[3D Printing]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[Cool Projects]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HiveBot]]></category>
		<category><![CDATA[kinetic art]]></category>
		<category><![CDATA[Philadelphia]]></category>

		<guid isPermaLink="false">http://www.hive76.org/?p=2496</guid>
		<description><![CDATA[ONLY ONE WEEK LEFT TO SIGN-UP! In collaboration with NextFabStudio, we are offering a state-of-the-art and upgraded RepRap printer kit and accompanying 3-day Build Workshop from August 26th-28th. The class cost is $998 ($1,200 for non-members) and includes EVERYTHING you need to get up and running, and more importantly, a fully calibrated and fine-tuned robot. [...]]]></description>
				<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 310px"><a href="http://www.hive76.org/wp-content/uploads/2011/08/RepRapWorldTour000000002Flyer.png"><img src="http://www.hive76.org/wp-content/uploads/2011/08/RepRapWorldTour000000002Flyer-300x230.png" alt="" title="Build Your Own 3D Printer!" width="300" height="230" class="alignright size-medium wp-image-2497" /></a><p class="wp-caption-text">Build Your Own 3D Printer!</p></div>
<h2>ONLY ONE WEEK LEFT TO SIGN-UP!</h2>
<p>In collaboration with <a href="http://www.nextfabstudio.com/">NextFabStudio</a>, we are offering a state-of-the-art and upgraded <a href="http://www.reprap.org/">RepRap</a> printer kit and accompanying 3-day Build Workshop from August 26th-28th. The class cost is $998 ($1,200 for non-members) and includes EVERYTHING you need to get up and running, and more importantly, a fully calibrated and fine-tuned robot.</p>
<h3><a href="http://digifabindustries.blogspot.com/2011/07/rrwt-carries-on.html">CLICK HERE FOR MORE INFO AND TO SIGN-UP</a></h3>
<p>Check out the time-lapse video below from our first class in Baltimore where we got 10 printers up and running in 3 days.</p>
<p>We&#8217;ll help you and a friend or two to build your very own open-source <a href="http://www.reprap.org/">RepRap 3D printer</a>, which has more than <strong>4x(!!)</strong> the build volume of it&#8217;s closest competitor, the <a href="http://www.makerbot.com/">MakerBot Thing-o-Matic</a>. Note that you will save $202 off the class if you&#8217;re a member of Hive76 or NextFab Studio. Total class cost for members is only $998. This is a crazy cheap deal! You can&#8217;t even buy a MakerBot for that price, let alone learn how to assemble it and fine tune it correctly in just a weekend.</p>
<p>There&#8217;s lots of additional bells and whistles on this bot that you won&#8217;t find anywhere else: custom machined aluminum motor couplers, linear bearings, the latest RAMPS electronics, and much more!</p>
<p>Any questions or concerns? <a href="mailto:jmil@hive76.org?subject=Question about Build a RepRap 3D Printer Class">Click Here to contact Jordan.</a></p>
<p><iframe src="http://player.vimeo.com/video/25363068" width="400" height="300" frameborder="0"></iframe>
<p><a href="http://vimeo.com/25363068">First RepRap World Tour 3D Printing Class</a> from <a href="http://vimeo.com/user1981806">jmil</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hive76.org/build-your-own-open-source-3d-printer/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SloateBot: Prusa Mendel Lives!</title>
		<link>http://www.hive76.org/sloatebot-prusa-mendel-lives</link>
		<comments>http://www.hive76.org/sloatebot-prusa-mendel-lives#comments</comments>
		<pubDate>Wed, 09 Feb 2011 16:24:49 +0000</pubDate>
		<dc:creator>jmil</dc:creator>
				<category><![CDATA[3D Printing]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HiveBot]]></category>
		<category><![CDATA[kinetic art]]></category>

		<guid isPermaLink="false">http://www.hive76.org/?p=1903</guid>
		<description><![CDATA[The Prusa Mendel build is finally complete! Here&#8217;s a Stanford Bunny: Prusa Mendel Bunny Print by jmil PLA bushing sliding on precision ground 8 mm rods is actually quite smooth movement. I don&#8217;t think it can go as fast as the original Sells Mendel (which was ball bearings sliding over the rods), but it&#8217;s only [...]]]></description>
				<content:encoded><![CDATA[<p>The <a href="http://reprap.org/wiki/Prusa_Mendel">Prusa Mendel</a> build is finally complete! Here&#8217;s a <a href="http://www.thingiverse.com/thing:3731">Stanford Bunny:</a><br />
<iframe src="http://player.vimeo.com/video/19750510" width="400" height="300" frameborder="0"></iframe><br />
<a href="http://vimeo.com/19750510">Prusa Mendel Bunny Print by jmil</a></p>
<p>PLA bushing sliding on precision ground 8 mm rods is actually quite smooth movement. I don&#8217;t think it can go as fast as the original <a href="http://reprap.org/wiki/RepRap_Options">Sells Mendel</a> (which was ball bearings sliding over the rods), but it&#8217;s only half the printed parts and the z-axis is much smoother motion too. I will try oiling or greasing the bushings to try to get smoother and faster motion without losing steps. So definitely some tradeoffs but overall a super awesome bot. The Prusa is also fully parametric and entirely made from <a href="http://www.openscad.org/">OpenSCAD</a>. All sources are <a href="https://github.com/prusajr/PrusaMendel">available on github FTW.</a></p>
<p>As this is the first bot I built that I actually own, I named this awesometown after my HS science teacher, Mr. Sloate, who really got me into Biology and now, robotics for Biology.</p>
<p>What will we print next?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hive76.org/sloatebot-prusa-mendel-lives/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open Source Rendering with Blender, LuxRender, and SmallLuxGPU</title>
		<link>http://www.hive76.org/open-source-rendering-with-blender-luxrender-and-smallluxgpu</link>
		<comments>http://www.hive76.org/open-source-rendering-with-blender-luxrender-and-smallluxgpu#comments</comments>
		<pubDate>Mon, 10 Jan 2011 03:07:15 +0000</pubDate>
		<dc:creator>jmil</dc:creator>
				<category><![CDATA[artists]]></category>
		<category><![CDATA[Instructionals]]></category>
		<category><![CDATA[kinetic art]]></category>
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://www.hive76.org/?p=1729</guid>
		<description><![CDATA[There&#8217;s some outstanding new open-source add-ons for Blender, one of our favorite open-source 3D rendering/simulation/animation programs. The first, LuxRender is a physically based Light Modeler. It&#8217;s currently limited to CPU-rendering only, but it creates enormously realistic lighting scenarios based on physical equations that describe the behavior of light. An amazing new feature here is that [...]]]></description>
				<content:encoded><![CDATA[<p>There&#8217;s some outstanding new open-source add-ons for <a href="http://www.blender.org/">Blender</a>, one of our favorite open-source 3D rendering/simulation/animation programs.</p>
<p>The first, <a href="http://www.luxrender.net/">LuxRender</a> is a physically based Light Modeler. It&#8217;s currently limited to CPU-rendering only, but it creates enormously realistic lighting scenarios based on physical equations that describe the behavior of light. An amazing new feature here is that it stores the contribution of each light to each pixel during rendering, so you can modify the rendered image photorealistically and non-destructively without having to re-render the entire scene again.</p>
<p>The second, <a href="http://www.luxrender.net/wiki/index.php?title=SLG">SmallLuxGPU</a> is even more experimental but it is able to harness the full power of your GPU for unparalleled rendering speed of highly photorealistic visual scenes. Even better, with SLG you can interact with your scene in realtime to get just the view you want.<br />
<iframe src="http://player.vimeo.com/video/12890944" width="400" height="300" frameborder="0"></iframe>
<p><a href="http://vimeo.com/12890944">SmallLuxGPU v1.6 (OpenCL)</a> from <a href="http://vimeo.com/user1939105">David Bucciarelli</a>.</p>
<p>And here&#8217;s some examples of renders we&#8217;ve done in the past few days. Keep in mind, these are entirely synthetic images. Jump over to flickr to see at higher resolution.<br />
<object width="400" height="300"><param name="flashvars" value="offsite=true&#038;lang=en-us&#038;page_show_url=%2Fphotos%2F19255751%40N00%2Fsets%2F72157625739183320%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2F19255751%40N00%2Fsets%2F72157625739183320%2F&#038;set_id=72157625739183320&#038;jump_to="></param><param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=71649"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=71649" allowFullScreen="true" flashvars="offsite=true&#038;lang=en-us&#038;page_show_url=%2Fphotos%2F19255751%40N00%2Fsets%2F72157625739183320%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2F19255751%40N00%2Fsets%2F72157625739183320%2F&#038;set_id=72157625739183320&#038;jump_to=" width="400" height="300"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hive76.org/open-source-rendering-with-blender-luxrender-and-smallluxgpu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We Won the Open Science Design Contest</title>
		<link>http://www.hive76.org/we-won-the-open-science-design-contest</link>
		<comments>http://www.hive76.org/we-won-the-open-science-design-contest#comments</comments>
		<pubDate>Fri, 17 Dec 2010 19:14:28 +0000</pubDate>
		<dc:creator>jmil</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Cool Projects]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Instructionals]]></category>
		<category><![CDATA[kinetic art]]></category>

		<guid isPermaLink="false">http://www.hive76.org/?p=1682</guid>
		<description><![CDATA[Great news, The Citizen Science Quartely just picked the winner for the Open Science Design Contest, and: WE WON!!!!!!!!1111!!111one You can read more about the original entry HERE. We&#8217;ll be using the Ponoko gift certificate to design a housing for the electronics and make it more kit-able. Bench Science FTW! And definitely check out the [...]]]></description>
				<content:encoded><![CDATA[<div id="attachment_1686" class="wp-caption alignright" style="width: 210px"><a href="http://thecitizensciencequarterly.com/2010/12/17/open-science-design-contest-winner/"><img src="http://www.hive76.org/wp-content/uploads/2010/12/first-place-blue-ribbon-300x283.jpg" alt="We won!" title="We won!" width="200" class="size-medium wp-image-1686" /></a><p class="wp-caption-text">We won!</p></div>
<p>Great news, <a href="http://thecitizensciencequarterly.com/">The Citizen Science Quartely</a> just picked the winner for the <a href="http://thecitizensciencequarterly.com/2010/11/25/open-call-for-open-science-equipment/">Open Science Design Contest</a>, and:<br />
<a href="http://thecitizensciencequarterly.com/2010/12/17/open-science-design-contest-winner/">WE WON!!!!!!!!1111!!111one</a></p>
<p>You can read more about the original entry <a href="http://www.hive76.org/open-source-orbital-shaker">HERE</a>.</p>
<p>We&#8217;ll be using the Ponoko gift certificate to design a housing for the electronics and make it more kit-able. Bench Science FTW!</p>
<p>And definitely <a href="http://www.kickstarter.com/projects/citizenscience/the-citizen-science-quarterly">check out the Kickstarter</a> for The Citizen Science Quarterly. It&#8217;s shaping up to be a really interesting mix of Bench Science in the DIY spirit. <a href="http://www.kickstarter.com/projects/citizenscience/the-citizen-science-quarterly">From the Kickstarter page</a>: </p>
<blockquote><p>&#8220;We&#8217;d like to create a magazine for the scientist in all of us.</p>
<p>It will have simple How-To&#8217;s, like extracting the DNA of a strawberry using kitchen materials. But on the next page could have a paper on the validity of using Bacillus Subtillus as a model organism. We&#8217;d feature extraordinary citizen scientists who are doing extraordinary things in abnormal labs (aka garages, closets, etc). We&#8217;d also give legal and safety tips to inform and protect citizen scientists from some of the dangers they could run into.&#8221;
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hive76.org/we-won-the-open-science-design-contest/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Join us for Open Art Studio this Weekend!</title>
		<link>http://www.hive76.org/join-us-for-open-art-studio-this-saturday</link>
		<comments>http://www.hive76.org/join-us-for-open-art-studio-this-saturday#comments</comments>
		<pubDate>Fri, 03 Dec 2010 19:49:02 +0000</pubDate>
		<dc:creator>jmil</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[artists]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HiveBot]]></category>
		<category><![CDATA[Instructionals]]></category>
		<category><![CDATA[kinetic art]]></category>
		<category><![CDATA[Philadelphia]]></category>

		<guid isPermaLink="false">http://www.hive76.org/?p=1622</guid>
		<description><![CDATA[Our entire building at 915 Spring Garden is taking part in Open Art Studios this weekend, and we&#8217;ll be there too! Almost 30 studios will be open to the public, including Hive76! There&#8217;s a ton of different medias people use, everything from textiles to clays to electronics. Come join us on Saturday and Sunday, December [...]]]></description>
				<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 260px"><a title="Chris building a BoomCase" href="http://www.flickr.com/photos/eagleapex/5105644101/"><img src="http://farm2.static.flickr.com/1125/5105644101_cfbf98da0b.jpg" alt="Chris building a BoomCase" width="250" /></a><p class="wp-caption-text">Chris building a BoomCase</p></div>
<p>Our entire building at <a href="http://maps.google.com/maps/place?cid=14362595976422766049&amp;q=hive76&amp;hl=en&amp;cd=1&amp;ei=dkj5TI6aB4qGzAX72tjNDQ&amp;sig2=BC6QkQAXi73OSjPQIGznRw&amp;dtab=2&amp;sll=39.962111,-75.153527&amp;sspn=0.010625,0.01693&amp;ie=UTF8&amp;ll=39.968487,-75.161998&amp;spn=0,0&amp;z=16">915 Spring Garden</a> is taking part in <a href="http://www.915studios.com/915_Studios.html"> Open Art Studios</a> this weekend, and we&#8217;ll be there too!</p>
<p>Almost 30 studios will be open to the public, including Hive76! There&#8217;s a ton of different medias people use, everything from textiles to clays to electronics.</p>
<p>Come join us on Saturday and Sunday, December 4th and 5th, from noon &#8211; 5 pm at Hive76. We&#8217;ll also be upgrading our MakerBot with a new MK5 Extruder so we&#8217;ll be printing in tip-top shape again soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hive76.org/join-us-for-open-art-studio-this-saturday/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hive76 Intro to Microcontrollers &#8212; News From The Front</title>
		<link>http://www.hive76.org/this-sunday-hive76-intro-to-microcontrollers</link>
		<comments>http://www.hive76.org/this-sunday-hive76-intro-to-microcontrollers#comments</comments>
		<pubDate>Wed, 25 Aug 2010 19:10:29 +0000</pubDate>
		<dc:creator>pez</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[artists]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[Cool Projects]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[kinetic art]]></category>
		<category><![CDATA[physical computing]]></category>
		<category><![CDATA[Study Groups]]></category>

		<guid isPermaLink="false">http://www.hive76.org/this-sunday-hive76-intro-to-microcontrollers</guid>
		<description><![CDATA[&#8230; Soon, I&#8217;m gonna have to switch places with some of the students in the class &#8230; It was weird to hit the Wednesday Hive Open House and see a handful of original MSP430 projects.  The video above is an LED chaser effect that Chris Thompson whipped up based on concepts from the first session [...]]]></description>
				<content:encoded><![CDATA[<h3><em><strong>&#8230; Soon, I&#8217;m gonna have to switch places with some of the students in the class</strong></em></h3>
<h3><strong>&#8230;<br />
</strong></h3>
<p><iframe width="500" height="281" src="http://www.youtube.com/embed/9YYWIYpRdXo?feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>It was weird to hit the Wednesday Hive Open House and see a handful of original MSP430 projects.  The video above is an LED chaser effect that Chris Thompson whipped up based on concepts from the first session of the MSP430 class.  As the old saying goes &#8212; teach a geek to fish and you&#8217;ll soon have LED encrusted fish.</p>
<p>Speaking of LEDs, here&#8217;s a Morse Code blinker project that Chris did.  Mostly a cut &amp; paste job, but if nothing else, it makes the point that there are plenty of  MSP430 code samples out there and that it&#8217;s relatively easy to use them once you know the tools.</p>
<p><iframe width="500" height="375" src="http://www.youtube.com/embed/oFF5hEnGgVg?feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p><strong><span style="text-decoration: underline;">Audience</span></strong></p>
<div>If you are an artist who wants to create small, cost effective interactive systems or a stone geek who wants to actually make a computer <em><strong>do</strong></em> something <em>physical</em>, this is a must-attend course.  We&#8217;ll have labs that will show you how to flash gobs of LEDs with just a few IO pins, run stepper motors, read switches, generate sounds, read analog signals and even have MCUs communicate.   You&#8217;ll leave with sample code and enough experience to apply this tech  immediately.</div>
<div>&#8230;<em><strong></strong></em></div>
<div><em><strong>We&#8217;ll be running this class again, for sure.</strong></em></div>
<p>&#8230;</p>
<div>
<div>Send any questions to: mikehogan62 AT gmail DOT com</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.hive76.org/this-sunday-hive76-intro-to-microcontrollers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
