<?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>(Baltimore) Harford Hackerspace</title>
	<atom:link href="http://harfordhackerspace.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://harfordhackerspace.org</link>
	<description>Maryland Electronics, Software, Science and Robotics Club</description>
	<lastBuildDate>Wed, 10 Mar 2010 18:42:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Upcoming Events</title>
		<link>http://harfordhackerspace.org/2010/03/upcoming-events/</link>
		<comments>http://harfordhackerspace.org/2010/03/upcoming-events/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 18:38:55 +0000</pubDate>
		<dc:creator>superfro</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[hamboree]]></category>
		<category><![CDATA[National Electronics Museum]]></category>
		<category><![CDATA[RobotFest]]></category>
		<category><![CDATA[Robots]]></category>
		<category><![CDATA[swapmeet]]></category>

		<guid isPermaLink="false">http://harfordhackerspace.org/?p=688</guid>
		<description><![CDATA[It&#8217;s come to my attention that everyone may not be aware of the upcoming events.  So I thought I&#8217;d post about them.   They are however posted on the calendar to the right for future reference!  We hope to see you at the these events!

Greater Baltimore Hamboree and Computerfest

http://www.gbhc.org
Timonium, MD
Maryland State Fairgrounds
2200 York Road

March 27, 2010 [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s come to my attention that everyone may not be aware of the upcoming events.  So I thought I&#8217;d post about them.   They are however posted on the calendar to the right for future reference!  We hope to see you at the these events!</p>
<div>
<h2>Greater Baltimore Hamboree and Computerfest</h2>
<div>
<p><a href="http://www.gbhc.org/">http://www.gbhc.org</a><br />
Timonium, MD<br />
Maryland State Fairgrounds<br />
2200 York Road</p>
</div>
<p>March 27, 2010 &#8211; Day 1 (6am-4pm)</p>
<p>March 28, 2010 &#8211; Day 2 (6am-2pm)</p>
<h2>Robot Fest / Mini Maker Faire</h2>
<p><a href="http://robotfest.com/">http://robotfest.com/</a><br />
National Electronics Museum<br />
1745 West Nursery Road<br />
Linthicum, MD 21090</p>
<p>April 24 (10am-3pm)</p>
<p><a href="http://robotfest.com/"><img class="size-medium wp-image-689 alignnone" style="width: 225px; height: 300px;" title="robotfest" src="http://harfordhackerspace.org/wp-content/uploads/2010/03/robotfest_poster-225x300.jpg" alt="" width="225" height="300" /></a></p>
</div>
<p><!-- Closes topPost --></p>
]]></content:encoded>
			<wfw:commentRss>http://harfordhackerspace.org/2010/03/upcoming-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NEW! PIC C Programming Tutorial Posted</title>
		<link>http://harfordhackerspace.org/2010/02/new-tutorial-posted/</link>
		<comments>http://harfordhackerspace.org/2010/02/new-tutorial-posted/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 22:19:41 +0000</pubDate>
		<dc:creator>Squintz</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[Soup]]></category>

		<guid isPermaLink="false">http://harfordhackerspace.org/?p=611</guid>
		<description><![CDATA[We just posted a new tutorial called Programming PIC Microcontrollers with C. It&#8217;s designed to get you started programming using MPLAB and CCS C Compiler. The only hardware you need to get started is the PicKit2 or PicKit3 which comes with a demo board. The demo board contains 8 LEDs, 1 Potentiometer, and a Pushbutton [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><a href="http://harfordhackerspace.org/wp-content/uploads/2010/02/pic16f877a.png"><img class="size-full wp-image-527 aligncenter" title="pic16f877a" src="http://harfordhackerspace.org/wp-content/uploads/2010/02/pic16f877a.png" alt="" width="265" height="73" /></a>We just posted a new tutorial called Programming PIC Microcontrollers with C. It&#8217;s designed to get you started programming using MPLAB and CCS C Compiler. The only hardware you need to get started is the PicKit2 or PicKit3 which comes with a demo board. The demo board contains 8 LEDs, 1 Potentiometer, and a Pushbutton all wired and ready to go.</p>
<p style="text-align: left;"><a title="Programming PIC Microcontrollers in C" href="http://harfordhackerspace.org/2010/02/programming-pic-microcontrollers-in-c/" target="_self"><strong>Check it out Here!</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://harfordhackerspace.org/2010/02/new-tutorial-posted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming PIC Microcontrollers in C</title>
		<link>http://harfordhackerspace.org/2010/02/programming-pic-microcontrollers-in-c/</link>
		<comments>http://harfordhackerspace.org/2010/02/programming-pic-microcontrollers-in-c/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 21:46:18 +0000</pubDate>
		<dc:creator>Squintz</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[CCS]]></category>
		<category><![CDATA[PIC]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://harfordhackerspace.org/?p=526</guid>
		<description><![CDATA[Learning to program microcontrollers seems like an impossible task but with the help and support of a Hackerspace you&#8217;ll find that it&#8217;s actually simple to get started. The members of Harford Hackerspace set out to learn by starting at the basics and gradually taking on more difficult applications. The key to our quick success was group [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://harfordhackerspace.org/wp-content/uploads/2010/02/pic16f877a.png"><img class="alignleft size-full wp-image-527" title="pic16f877a" src="http://harfordhackerspace.org/wp-content/uploads/2010/02/pic16f877a.png" alt="" width="210" height="62" /></a>Learning to program microcontrollers seems like an impossible task but with the help and support of a Hackerspace you&#8217;ll find that it&#8217;s actually simple to get started. The members of Harford Hackerspace set out to learn by starting at the basics and gradually taking on more difficult applications. The key to our quick success was group participation. Most of us had at least attempted PIC programming, but it took a group effort to get the whole picture.</p>
<p>In this tutorial we will teach you what we learned. You can then take this new knowledge to your local hackerspace and put it to good use. Let&#8217;s get started!</p>
<p><span id="more-526"></span></p>
<h1>What will you need?</h1>
<div id="attachment_535" class="wp-caption alignright" style="width: 155px"><a href="http://harfordhackerspace.org/wp-content/uploads/2010/02/PICKit2.jpg"><img class="size-full wp-image-535 " title="PICKit2" src="http://harfordhackerspace.org/wp-content/uploads/2010/02/PICKit2.jpg" alt="PicKit2 Debug Express" width="145" height="145" /></a><p class="wp-caption-text">PicKit2 Debug Express</p></div>
<ul>
<li><a title="PicKits" href="http://www.microchipdirect.com/productsearch.aspx?Keywords=DV164121" target="_blank">PicKit2 or PicKit3 Debug Express</a>- The PicKits come with software, an in-circuit programmer (ICP) and a demo board. On the demo board is a PIC Microcontroller, 8 LEDs, 1 Potentiometer (variable resistor), and 1 momentary push button switch. You&#8217;ll want the Debug Express version.</li>
<li><a title="MPLAB IDE" href="http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;nodeId=1406&amp;dDocName=en019469&amp;part=SW007002" target="_blank">MPLAB IDE</a> &#8211; The PicKits come with MPLAB IDE (Integrated Development Environment) software on a CD. However, you should download and install the latest version, as with any software, to avoid running into bugs. MPLAB is where you will do your C Programming.</li>
<li><a title="CCS Compiler" href="http://www.ccsinfo.com/content.php?page=compilers" target="_blank">CCS Compiler</a>- There is a free demo version of the CCS Compiler. However it&#8217;s limited in features. If you plan to do a lot of programming you may want to fork out the money for a full version. CCS comes with its own IDE but you won&#8217;t be using that.</li>
<li><a title="Debug Express Examples" href="http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit%202-DBE%20887%20Lessons%20(b).zip" target="_blank">Debug Express Examples</a> &#8211; The PicKit 2 comes with a second CD which includes mostly assembly (.asm) examples but does include a couple Hi-Tech C examples. Hi-Tech is an alternative compiler to CCS and chances are these C examples will not work. However, they contain enough information that they are worth looking at.</li>
</ul>
<p style="text-align: center;">
<div id="attachment_538" class="wp-caption aligncenter" style="width: 510px"><a href="http://harfordhackerspace.org/wp-content/uploads/2010/02/PicKit_DemoBoard_edited.jpg"><img class="size-full wp-image-538 " title="PicKit2 44 Pin Demo Board" src="http://harfordhackerspace.org/wp-content/uploads/2010/02/PicKit_DemoBoard_edited.jpg" alt="" width="500" height="285" /></a><p class="wp-caption-text">PicKit2 44Pin Demo Board</p></div>
<h1>Software Installation</h1>
<p>Installing the software is fairly straight forward. Start by installing MPLAB and the Debug Express Examples. Then install the CCS Compiler.  You can post a comment here if you have trouble but I don&#8217;t think you will.</p>
<h1>Start a new Project</h1>
<ol>
<li>Start MPLAB</li>
<li>From the Project Menu select Project Wizard</li>
<li>Click Next &#8211; This is just a splash screen telling you about the wizard</li>
<li>Select your PIC device &#8211; Our PicKit2s came with PIC16F887 chips. Yours may be different so make sure you select the correct chip.<a href="http://harfordhackerspace.org/wp-content/uploads/2010/02/wizard_step_one.jpg"><img class="aligncenter size-full wp-image-553" title="wizard_step_one" src="http://harfordhackerspace.org/wp-content/uploads/2010/02/wizard_step_one.jpg" alt="" width="382" height="317" /></a></li>
<li>Click Next &#8211; This takes you to the second step which is the Compiler Setup.</li>
<li>From the Active Toolsuite drop down box select CCS C Compiler&#8230;<a href="http://harfordhackerspace.org/wp-content/uploads/2010/02/wizard_step_two.jpg"><img class="aligncenter size-full wp-image-555" title="wizard_step_two" src="http://harfordhackerspace.org/wp-content/uploads/2010/02/wizard_step_two.jpg" alt="" width="384" height="296" /></a></li>
<li>Under Toolsuite Contents,  CCS C Compiler (ccsc.exe) should be selected.</li>
<li>Browse to the location of ccsc.exe which by default is C:\Program files\Picc\CCSC.exe</li>
<li>Click Next &#8211; This takes you to the third step which is naming your project.<a href="http://harfordhackerspace.org/wp-content/uploads/2010/02/wizard_step_three.jpg"><img class="aligncenter size-full wp-image-559" title="wizard_step_three" src="http://harfordhackerspace.org/wp-content/uploads/2010/02/wizard_step_three.jpg" alt="" width="387" height="298" /></a></li>
<li>Click browse and create a new project folder and create a new file called Blink. You can use any name but for this tutorial we will be blinking an LED so we call it Blink. It&#8217;s a good idea to put projects in their own folder because a bunch of files will be created and associated with the project.<a href="http://harfordhackerspace.org/wp-content/uploads/2010/02/wizard_step_four1.jpg"><img class="aligncenter size-full wp-image-562" title="wizard_step_four" src="http://harfordhackerspace.org/wp-content/uploads/2010/02/wizard_step_four1.jpg" alt="" width="245" height="176" /></a></li>
<li>Click Next &#8211; This takes you to the fourth step which is adding files to your project. We won&#8217;t be adding any existing files here so you can just Click Next.</li>
<li>Click Finish &#8211; It may look like nothing happened or there are no windows open. In this case select View -&gt; Project and this should show the Project Tree.</li>
<li>Select File -&gt; New</li>
<li>Type the following code:</li>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p526code9'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p5269"><td class="code" id="p526code9"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#include &amp;lt;16f887.h&amp;gt;</span>
&nbsp;
<span style="color: #993333;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<li>Select File -&gt; Save and save the file as main.c in your Blink project folder.</li>
<li>Right Click on the Source Files folder in your Project Tree and select Add Files&#8230; Then select the main.c file you just created.<a href="http://harfordhackerspace.org/wp-content/uploads/2010/02/add_file.jpg"><img class="aligncenter size-full wp-image-547" title="add_file" src="http://harfordhackerspace.org/wp-content/uploads/2010/02/add_file.jpg" alt="Add File" width="312" height="222" /></a></li>
<li>Select Project -&gt; Build All and notice that several new files have been created for you. If you get an error check your code.<a href="http://harfordhackerspace.org/wp-content/uploads/2010/02/build_all.jpg"><img class="aligncenter size-medium wp-image-548" title="build_all" src="http://harfordhackerspace.org/wp-content/uploads/2010/02/build_all-170x300.jpg" alt="" width="170" height="300" /></a></li>
</ol>
<div id="attachment_550" class="wp-caption alignleft" style="width: 212px"><a href="http://harfordhackerspace.org/wp-content/uploads/2010/02/header_in_tree.jpg"><img class="size-full wp-image-550" title="header_in_tree" src="http://harfordhackerspace.org/wp-content/uploads/2010/02/header_in_tree.jpg" alt="" width="202" height="350" /></a><p class="wp-caption-text">Project Tree</p></div>
<p>After you select build all you should notice several new files in your Project Tree. The most important to note is the 16F887.h file under the Header Files folder. Depending on your chip it may be named something different.</p>
<h1>Sample Code</h1>
<p>So, did you pick up on what just happened here?  We created a Source File which we called main.c. It could have been named anything. By using the code #include &lt;16F887.h&gt; and selecting build all the compiler found a compatible header file for our PIC chip and automatically inserted it into our project.</p>
<p>Now you have a complete skeleton project ready for you to fill in the blanks. We&#8217;ll give you your first program and examine it line by line. We will also tell you how we learned which functions would work for the compiler and chip combination we are using.</p>
<p>First, we need to get some reading material or resources. You will need to open the help file for the CCS Compiler. They are nice and give you an executable in Windows Start -&gt; Programs -&gt; Pic-C -&gt;Pic C Help. This was installed with the CCS Compiler. Then, we need to get the Datasheet for our chip.</p>
<p><a title="PIC16F887 Datasheet" href="http://ww1.microchip.com/downloads/en/DeviceDoc/41291F.pdf" target="_blank">PIC16F887 Datasheet</a></p>
<p>Here is our sample Blink code:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p526code10'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52610"><td class="code" id="p526code10"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#include &amp;lt;16f887.h&amp;gt;</span>
<span style="color: #339933;">#fuses NOMCLR, INTRC_IO, NOBROWNOUT</span>
<span style="color: #339933;">#use delay(clock=8M)</span>
&nbsp;
<span style="color: #993333;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
      output_high<span style="color: #009900;">&#40;</span>PIN_D1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      delay_ms<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">50</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      output_low<span style="color: #009900;">&#40;</span>PIN_D1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      delay_ms<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">50</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p><strong>Line 1:</strong><br />
We already know that this file is what tells the compiler to load the header file in our Project Tree. This line also tells the preprocessor to treat the contents of the 16F887.h file as if those contents had appeared in the source program starting from this line. Keywords that start with the character # are called a preprocessor directive. Some examples are #include, #use, #define, and #fuses which are used most often. This code is used to setup the compiler before it starts compiling your code.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p526code11'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52611"><td class="code" id="p526code11"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#fuses NOMCLR, INTRC_IO, NOBROWNOUT</span></pre></td></tr></table></div>

<p><strong>Line 2:</strong><br />
The #fuses directive tells the compiler how we want to setup our chip. The available #fuses can be found by looking at the top of the 16f887.h header file. Just double click on it in the Project Tree to open it. At the very top there will be a several-line comment which tells you what fuses can be set. This is one of the murky areas for us still but we can explain what we know so far.</p>
<p>We are setting 3 fuses in our example code. The first NOMCLR stands for No Master Clear. Master Clear is a pin on most chips which can be used to reset the chip. Usually this pin doubles as a Input/Output (I/O) pin. In order to use it as an I/O you must set the fuse NOMCLR to disable it as a Master Clear pin. You&#8217;ll always want to do this if you are not using it as a Master Clear because leaving it float will cause your chip to randomly reboot itself.</p>
<p>The second fuse is INTRC_IO which tells the compiler we want to use the Internal RC (Resistor Capacitor) Oscillator and that we want Pins (9) OSC1/CLKIN and (10) OSC2/CLKOUT set as outputs. In our chips datasheet this is cryptically explained on page 61. You might be tempted to use INTRC instead of INTRC_IO. INTRC outputs a clock on Pin 10 which is 4 times slower than our internal oscillator. This is usually written as Fosc/4. Pin 9 is an I/O when using INTRC.</p>
<p>The third fuse we set in NOBROWNOUT. Brownout is a circuit protection feature. If voltage to our chip drops below a certain threshold the chip will shutdown or reset. On page 216 this is described as Vbor for Voltage Brown Out Reset. In our particular chip the brown out voltage can be set at 4Volts or 2.1volts. In our case we don&#8217;t want the chip to ever reset no matter what the voltage is. So we set NOBROWNOUT.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p526code12'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52612"><td class="code" id="p526code12"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#use delay(clock=8M)</span></pre></td></tr></table></div>

<p><strong>Line 3:</strong><br />
The #use directive is followed by another keyword delay. This must be set to the speed at which are oscillator is actually running. Since we are using the INTRC_IO oscillator we know we are using the internal oscillator of this chip. Therefore you need to look in the datasheet of the chip and find out what the normal operating speed of the internal oscillator is. Some chips, including this one, can have their clocks divided to slow them down or they can be clocked faster using an external oscillator such as a crystal. On page 3 of our chip&#8217;s datasheet we can see that our chip actually has two internal oscillators. 8Mhz and 31Khz. We are using the 8Mhz here.</p>
<p>The reason #use delay needs to be defined is actually because we are using the delay_ms() function on line 10. delay_ms() uses the #use delay to know how fast the oscillator is running so that it can correctly delay the execution of our code. If you set #use delay to an incorrect value your delay_ms() will function but it will be at the wrong speed. We&#8217;ll touch on this again in a minute.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p526code13'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52613"><td class="code" id="p526code13"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p><strong>Line 5:</strong><br />
Every program needs a starting point. void main() is the starting point for our program. This is simply how the C language works. Our chip needs to know where to start executing code and it will start in the void main() function. Why void? Void is simply saying that we do not expect our function to return any value. It could be int main but then we would have to return an integer at the end of our program. This is sometimes done to indicate a successful run of the program, but what&#8217;s the point? So we just use void and then we don&#8217;t have to return anything.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p526code14'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52614"><td class="code" id="p526code14"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
      output_high<span style="color: #009900;">&#40;</span>PIN_D1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      delay_ms<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">50</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      output_low<span style="color: #009900;">&#40;</span>PIN_D1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      delay_ms<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">50</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p><strong>Line 6 and 14, 8 and 13:</strong><br />
Sets of brackets are called blocks. Line 6 starts a block of code and line 14 ends that block of code. Lines 8 and 13 are another pair of brackets and are nested inside of the void main(){} code block. A common syntax error is having too many or two few brackets. For each open bracket you need a matching close bracket.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p526code15'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52615"><td class="code" id="p526code15"><pre class="c" style="font-family:monospace;">    <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
      output_high<span style="color: #009900;">&#40;</span>PIN_D1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      delay_ms<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">50</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      output_low<span style="color: #009900;">&#40;</span>PIN_D1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      delay_ms<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">50</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p><strong>Line 7:</strong><br />
We use a while(true) loop so our code keeps restarting. If we did not use a while(true) loop our LED would turn on and off only one time. We want the LED to keep blinking.</p>
<div id="attachment_598" class="wp-caption aligncenter" style="width: 486px"><a href="http://harfordhackerspace.org/wp-content/uploads/2010/02/help.jpg"><img class="size-full wp-image-598" title="help" src="http://harfordhackerspace.org/wp-content/uploads/2010/02/help.jpg" alt="CCS Help Program" width="476" height="467" /></a><p class="wp-caption-text">CCS Help Program</p></div>
<p><strong>Line 9:</strong><br />
output_high() is a compiler function. This is unique to the CCS Compiler. Remember that Help File I told you to get ready? It&#8217;s located under Windows Start -&gt; Programs -&gt; Pic-C -&gt; Pic C Help. If you select the index tab and type &#8216;output&#8217; you will see a long list of output options. output_A would control an entire bank, or PORT, of outputs. In our case we only want to toggle one output and we want to set it to High (on). The parameter PIN_D1 is defined in the 16f887.h header file.</p>
<p>See&#8230;That header file is coming in handy after all. Instead of you having to look in the datasheet and try to figure out what the hex value of PIN_D1 is, the CCS Compiler has given you a header file which defines a constant name for the value. All you need to know is where to look for the name (in the header file). If you look at the pinout diagram in your datasheet you might notice there is no pin labeled D1. It&#8217;s actually labeled RD1. &#8216;D&#8217; is the Bank and 1 is the Port. Honestly, I don&#8217;t know what the R means but who cares. Let&#8217;s try another one. What do you think output_high(PIN_A0) will do? You&#8217;ve got it. It will turn the pin labeled RA0 in your datasheet to high. See&#8230;It&#8217;s not that hard once you know where to look.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p526code16'); return false;">View Code</a> C</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52616"><td class="code" id="p526code16"><pre class="c" style="font-family:monospace;">delay_ms<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">50</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><strong>Line 10 and Line 12:</strong><br />
We already touched on delay_ms(50) when we were talking about the #use directive. Just a refresher here: In order for delay_ms to work you must set #use delay to the proper clock speed. A wrong clock speed will cause delay_ms to not work properly. delay_ms stands for Delay Milliseconds. Where do you think you would look if you wanted to delay micro seconds? You look in the CCS Help program and simply type delay. You would then notice you can delay for Microseconds(_us) or Cycles(_cycles). Clicking on those entries gives you examples of their use.</p>
<p><strong>Line 11:</strong><br />
This one I am going to leave for your homework. If output_high(PIN_D1) turns the LED on then what do you think output_low(PIN_D1) does? Here&#8217;s a tip. Look in the CCS Help file.</p>
<h1>Conclusion</h1>
<p>So, you flashed an LED and now you are bored again. Use the CCS Help file and look up ADC for Analog to Digital Converter. Your Potentiometer is connected to an ADC pin and you should be able to read the help file and learn how to read the position of the potentiometer. You can also search the <a href="http://ww1.microchip.com/downloads/en/DeviceDoc/41296a.pdf">44 Pin Demo Board User guide</a> and learn what port the pushbutton is connected to. Then search the CCS Help for Input_State and learn how to use an input to control the LED. So don&#8217;t stop with this tutorial. There is lots to learn.</p>
<p>This is where I&#8217;m supposed to tell you to come join our hackerspace. But if you don&#8217;t live near Baltimore, check out www.hackerspaces.org and find a hackerspace near you. They are all over the world and are a ton of fun.</p>
<p>We are taking the knowledge we learned about flashing LEDs and applying it to hacking Toy RC Cars to make them autonomous (drive themselves). Check out our <a href="http://wiki.harfordhackerspace.org">wiki.harfordhackerspace.org</a> projects page for details on that project. It&#8217;s actually a very simple yet rewarding project.</p>
]]></content:encoded>
			<wfw:commentRss>http://harfordhackerspace.org/2010/02/programming-pic-microcontrollers-in-c/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>We got our 501(c)(3) status!</title>
		<link>http://harfordhackerspace.org/2010/02/we-got-our-501c3-status/</link>
		<comments>http://harfordhackerspace.org/2010/02/we-got-our-501c3-status/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 23:22:21 +0000</pubDate>
		<dc:creator>Squintz</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Soup]]></category>
		<category><![CDATA[501(c)(3)]]></category>
		<category><![CDATA[form 1023]]></category>

		<guid isPermaLink="false">http://harfordhackerspace.org/?p=524</guid>
		<description><![CDATA[Harford Hackerspace is pleased to announce that we have received our official letter of approval from the Internal Revenue Service giving us 501(c)(3) non-profit, charitable status.
We started our adventure of becoming a charitable organization in July 2009 with the help of Nick Farr from HacDC. Nick took time out of his busy schedule to visit [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://harfordhackerspace.org/wp-content/uploads/2010/02/approved1.png"><img class="alignleft size-full wp-image-523" style="margin: 2px 5px 2px 2px;" title="approved" src="http://harfordhackerspace.org/wp-content/uploads/2010/02/approved1.png" alt="" width="179" height="101" /></a>Harford Hackerspace is pleased to announce that we have received our official letter of approval from the Internal Revenue Service giving us 501(c)(3) non-profit, charitable status.</p>
<p>We started our adventure of becoming a charitable organization in July 2009 with the help of Nick Farr from HacDC. Nick took time out of his busy schedule to visit our Hackerspace and go through the rough draft of our IRS Form 1023. Without him we would have made a few mistakes on our form. A very special thanks goes out to you Nick.</p>
<p>In October 2009 we put the stamp on our envelope and sent our application to the IRS hoping for the best. A lot of hard work went into preparing the application. It&#8217;s a 26 page application and several of the questions require written responses. To keep the application reviewer from guessing at what we do we included several project examples and  took photos of us working as a group.</p>
<p>On January 11th 2010 we got a request for more information. Apparently this is standard procedure for all applicants. The questions were fairly straight forward and we were able to call the IRS agent directly and ask her questions. After faxing her our answers the lady quickly reviewed them and told us over the phone that she was recommending us for our 501(c)(3) status.</p>
<p>Today, we finally received our approval letter complete with our 501(c)(3) exemption number. It has been a long time coming but I am sure all the hard work will pay off in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://harfordhackerspace.org/2010/02/we-got-our-501c3-status/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Talking Dirty to MicroControllers!</title>
		<link>http://harfordhackerspace.org/2010/02/talking-dirty-to-microcontrollers/</link>
		<comments>http://harfordhackerspace.org/2010/02/talking-dirty-to-microcontrollers/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 03:52:19 +0000</pubDate>
		<dc:creator>solovus</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[PIC]]></category>

		<guid isPermaLink="false">http://harfordhackerspace.org/?p=504</guid>
		<description><![CDATA[Wednesday was the day we finally got together and started the tedious process of mastering microcontrollers.  What began with just some simple LED illumination evolved and progressed throughout the evening.  In the end we had individually, but collectively, written programs for interpreting analog inputs, displaying binary values, and performing counting and reset operations.  The evening [...]]]></description>
			<content:encoded><![CDATA[<p>Wednesday was the day we finally got together and started the tedious process of mastering microcontrollers.  What began with just some simple LED illumination evolved and progressed throughout the evening.  In the end we had individually, but collectively, written programs for interpreting analog inputs, displaying binary values, and performing counting and reset operations.  The evening was pretty fulfilling for some less experienced members and refreshing for the remainder.  Another microcontroller experiementation session is being planned for the near future.</p>

<div class="ngg-galleryoverview" id="ngg-gallery-14-504">


	<!-- Piclense link -->
	<div class="piclenselink">
		<a class="piclenselink" href="javascript:PicLensLite.start({feedUrl:'http://harfordhackerspace.org/wp-content/plugins/nextgen-gallery/xml/media-rss.php?gid=14&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-233" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://harfordhackerspace.org/wp-content/gallery/3feb2010-microcontroller-session/dsc05421.jpg" title=" " class="shutterset_set_14" >
								<img title="dsc05421" alt="dsc05421" src="http://harfordhackerspace.org/wp-content/gallery/3feb2010-microcontroller-session/thumbs/thumbs_dsc05421.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-234" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://harfordhackerspace.org/wp-content/gallery/3feb2010-microcontroller-session/dsc05426.jpg" title=" " class="shutterset_set_14" >
								<img title="dsc05426" alt="dsc05426" src="http://harfordhackerspace.org/wp-content/gallery/3feb2010-microcontroller-session/thumbs/thumbs_dsc05426.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-235" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://harfordhackerspace.org/wp-content/gallery/3feb2010-microcontroller-session/8_bit_counter_screenshot.jpg" title=" " class="shutterset_set_14" >
								<img title="8_bit_counter_screenshot" alt="8_bit_counter_screenshot" src="http://harfordhackerspace.org/wp-content/gallery/3feb2010-microcontroller-session/thumbs/thumbs_8_bit_counter_screenshot.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://harfordhackerspace.org/2010/02/talking-dirty-to-microcontrollers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Techno Swap Fest</title>
		<link>http://harfordhackerspace.org/2010/01/techno-swap-fest/</link>
		<comments>http://harfordhackerspace.org/2010/01/techno-swap-fest/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 16:33:58 +0000</pubDate>
		<dc:creator>Squintz</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[National Electronics Museum]]></category>

		<guid isPermaLink="false">http://harfordhackerspace.org/?p=500</guid>
		<description><![CDATA[  We will be at the first Techno Swap Fest. Come buy our junk!
Feb 13, 2010  -  9am to 2pm
National Electronics Museum
1745 West Nursery Road
Linthicum Hts, MD 21090-2906
More Info&#8230;
http://groups.google.com/group/techno-swap-fest
]]></description>
			<content:encoded><![CDATA[<p><a href="http://harfordhackerspace.org/wp-content/uploads/2009/03/event_icon.jpg"> <img class="alignleft size-full wp-image-85" title="Upcoming Event" src="http://harfordhackerspace.org/wp-content/uploads/2009/03/event_icon.jpg" alt="" width="112" height="118" /></a> We will be at the first <strong>Techno Swap Fest</strong>.<strong> </strong>Come buy our junk!</p>
<p>Feb 13, 2010  -  9am to 2pm</p>
<p>National Electronics Museum<br />
1745 West Nursery Road<br />
Linthicum Hts, MD 21090-2906</p>
<p>More Info&#8230;<br />
<a title="Techno Swap Fest" href="http://groups.google.com/group/techno-swap-fest" target="_blank">http://groups.google.com/group/techno-swap-fest</a></p>
]]></content:encoded>
			<wfw:commentRss>http://harfordhackerspace.org/2010/01/techno-swap-fest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy First Birthday, HaHa!</title>
		<link>http://harfordhackerspace.org/2010/01/happy-first-birthday-haha/</link>
		<comments>http://harfordhackerspace.org/2010/01/happy-first-birthday-haha/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 02:47:51 +0000</pubDate>
		<dc:creator>bsom</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Soup]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://harfordhackerspace.org/?p=492</guid>
		<description><![CDATA[Our first birthday!  Seems just like yesterday, HaHa was just a twinkle in Dave&#8217;s eye.  Check out this video of us enjoying some inkjet-printed confection.

]]></description>
			<content:encoded><![CDATA[<p>Our first birthday!  Seems just like yesterday, HaHa was just a twinkle in Dave&#8217;s eye.  Check out this video of us enjoying some inkjet-printed confection.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="580" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/CtOvdvwGrAc&amp;hl=en_US&amp;fs=1&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="580" height="360" src="http://www.youtube.com/v/CtOvdvwGrAc&amp;hl=en_US&amp;fs=1&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://harfordhackerspace.org/2010/01/happy-first-birthday-haha/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>David Powell, President</title>
		<link>http://harfordhackerspace.org/2009/12/test-bio/</link>
		<comments>http://harfordhackerspace.org/2009/12/test-bio/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 12:31:10 +0000</pubDate>
		<dc:creator>Squintz</dc:creator>
				<category><![CDATA[Biographys]]></category>

		<guid isPermaLink="false">http://harfordhackerspace.org/index.php/?p=439</guid>
		<description><![CDATA[
 Born: 1982
 Occupation: Sr. Electronic Engineer
 Interest: Programming, Electronics, and Mechanical Engineering
 Skills: Soldering, Basic Electronics and Microcontrollers, SolidWorks 3D Design, OOP 

David Powell was born and raised in Baltimore, Maryland where he attended Eastern Technical High School, majoring in Construction Technology. This included courses in Carpentry, HVAC, Plumbing, Drafting, Welding and his favorite of all, Electrical. Although David enjoyed the construction fields [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-thumbnail wp-image-451 alignleft" title="me_c_l" src="http://harfordhackerspace.org/wp-content/uploads/2009/12/me_c_l-150x150.jpg" alt="David and the family at Deep Creek Lake" width="116" height="117" /></p>
<p> <strong>Born:</strong> 1982<br />
 <strong>Occupation:</strong> Sr. Electronic Engineer<br />
 <strong>Interest:</strong> Programming, Electronics, and Mechanical Engineering<br />
 <strong>Skills:</strong> Soldering, Basic Electronics and Microcontrollers, SolidWorks 3D Design, OOP </p>
<p><span id="more-439"></span></p>
<p>David Powell was born and raised in Baltimore, Maryland where he attended Eastern Technical High School, majoring in Construction Technology. This included courses in Carpentry, HVAC, Plumbing, Drafting, Welding and his favorite of all, Electrical. Although David enjoyed the construction fields it was during high school that he found a new passion for computer programming.</p>
<p>Interested in learning more about programming he started searching for colleges. He took his first programming course at Essex Community College in his 12th grade year. Later a recruiter from TESST College of Technology convinced him that he would be happier in a field of electronics because of his love for &#8220;tinkering.&#8221;  The recruiter was correct! David enjoyed earning his Associates of Applied Science (A.A.S) Degree in the major of Electronics, Computers, and Telecommunications.</p>
<p>While at TESST David worked part time at <a title="Baynesville Electronics" href="http://www.baynesvilleelectronics.com" target="_blank">Baynesville Electronics </a>in Towson, MD where he became familiar with a wide variety of electronic components, connectors, and tools.</p>
<p>After graduation from TESST he quickly landed a job with Jacobs Technologies at Aberdeen Proving Grounds. David spent the first 3 years of his career doing Shock and Vibration testing. Here he gained extensive knowledge of transducers and data aquisition as well as a limited amount of mechanical engineering. David spent the last 4 years of his career with Jacobs in ballistics testing where he operated a doplar radar and was tasked with maintaining data aquisition equipment.</p>
<p>Shortly after starting with Jacobs David purchased his first home. Of course he could not have a normal home. So David got into yet another hobby, Home Automation. After many long nights of research he started his automation hobby by installing a Z-Wave Lighting control system in his home. Z-Wave was very new at that time so it was a bit of a gamble. Technologies like Z-Wave come and go all the time. After become a guru with Z-Wave products he met several key players in the developement of Z-Wave. One of which offered him a part time freelance position writing review articles for <a href="http://www.zwaveworld.com">www.zwaveworld.com</a>.</p>
<p>In late 2008 David attended the HacDC RepRap Build-A-Thon which was a 2 day event set to build a single RepRap machine. While at HacDC David became familiar with the concept of a Hackerspace. Shortly after the event he set out to start a Hackerspace in  his current town of Harford County, hense the January 1st 2009 birth of Harford Hackerspace.</p>
<p>Harford Hackerspace grew quickly in its first year. One of the members of Harford Hackerspace offered David an Electronic Engineering Position at Lockheed Martin where he now works.</p>
<h2>SUMMARY</h2>
<p><strong>Education: </strong>A.A.S TESTT College of Technology,<br />
                 Currently taking courses U.M.U.C.</p>
<p><strong>Work History:  </strong>Baynesville Electronics<br />
                       Aberdeen Proving Grounds<br />
                       Z-Wave World<br />
                       Lockheed Martin (Current)</p>
<p><strong>Skills: </strong>Electronics<br />
          Soldering<br />
          Programming (C#, PHP, HTML, Java, JavaScript, C for Microcontrollers)<br />
          Mechanical (Changing Brakes, Oil, Tires, Ect.)<br />
          Machining (CNC, Tablesaws, Drill Press, Ect.)</p>
]]></content:encoded>
			<wfw:commentRss>http://harfordhackerspace.org/2009/12/test-bio/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Our CNC Can Kick Your CNC&#8217;s Butt!</title>
		<link>http://harfordhackerspace.org/2009/12/our-cnc-can-kick-your-cncs-butt/</link>
		<comments>http://harfordhackerspace.org/2009/12/our-cnc-can-kick-your-cncs-butt/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 05:14:57 +0000</pubDate>
		<dc:creator>bsom</dc:creator>
				<category><![CDATA[CNC]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Soup]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://harfordhackerspace.org/index.php/?p=429</guid>
		<description><![CDATA[This video is in response to the one posted here, where a Mr. Riley Porter moves a 35 pound dumbbell with his CNC.  We decided to try to trump his CNC&#8217;s weight-moving ability by pushing our machine to lift and move first 45, then 55 and finally 65 pounds!  We wanted to continue with the [...]]]></description>
			<content:encoded><![CDATA[<p>This video is in response to the one posted <a href="http://www.flickr.com/photos/31697990@N00/4145881692/" target="_blank">here</a>, where a Mr. Riley Porter moves a 35 pound dumbbell with his CNC.  We decided to try to trump his CNC&#8217;s weight-moving ability by pushing our machine to lift and move first 45, then 55 and finally 65 pounds!  We wanted to continue with the weight increases, but did not have a safe way to attach more weight to the Z-axis assembly.  Our CNC build is turning out to be quite the beast.  Now all it needs is a catchy name&#8230;</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="580" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/8AEtnvhHxB0&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="580" height="360" src="http://www.youtube.com/v/8AEtnvhHxB0&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://harfordhackerspace.org/2009/12/our-cnc-can-kick-your-cncs-butt/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Our CNC Machine&#8217;s First Cuts</title>
		<link>http://harfordhackerspace.org/2009/12/our-cnc-machines-first-cuts/</link>
		<comments>http://harfordhackerspace.org/2009/12/our-cnc-machines-first-cuts/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 02:24:37 +0000</pubDate>
		<dc:creator>bsom</dc:creator>
				<category><![CDATA[CNC]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Soup]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://harfordhackerspace.org/index.php/?p=425</guid>
		<description><![CDATA[The CNC machine&#8217;s construction has advanced to the point where we can begin to cut items.  Being a bunch of teenagers trapped in adult bodies, someone decided that we should cut a throwing star from sheet aluminum.  One copy of CamBam and 6 minutes later and the star was ready to be cut!  After a [...]]]></description>
			<content:encoded><![CDATA[<p>The CNC machine&#8217;s construction has advanced to the point where we can begin to cut items.  Being a bunch of teenagers trapped in adult bodies, someone decided that we should cut a throwing star from sheet aluminum.  One copy of CamBam and 6 minutes later and the star was ready to be cut!  After a few adjustments and a bit snapped in half from being dragged through the metal too fast, the cutting was underway.  The star took about 10 minutes to cut and was an excellent first attempt at metal production.  The next step is to use the CNC to cut more precise parts for itself and help bring about the Robot Armageddon.   Special thanks to our newest sponsor, <a href="http://www.cambam.co.uk/" target="_blank">CamBam</a>, for supplying us with a free copy of their most excellent software.  Note: The soundtrack to this video may change at any time as we are experimenting with YouTube&#8217;s AudioSwap feature.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="580" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/mvz2O0zlR20&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="580" height="360" src="http://www.youtube.com/v/mvz2O0zlR20&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://harfordhackerspace.org/2009/12/our-cnc-machines-first-cuts/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
