<?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>Dammit Jim! &#187; microcontroller</title>
	<atom:link href="http://scott.sherrillmix.com/blog/tag/microcontroller/feed/" rel="self" type="application/rss+xml" />
	<link>http://scott.sherrillmix.com/blog</link>
	<description>I'm a biologist not a...</description>
	<lastBuildDate>Tue, 12 Jan 2010 05:09:51 +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>Interesting Links (08-01-23)</title>
		<link>http://scott.sherrillmix.com/blog/blogger/interesting-links-08-01-23/</link>
		<comments>http://scott.sherrillmix.com/blog/blogger/interesting-links-08-01-23/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 04:58:31 +0000</pubDate>
		<dc:creator>ScottS-M</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[astronomy]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[Mercury]]></category>
		<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[monster]]></category>
		<category><![CDATA[soldering]]></category>

		<guid isPermaLink="false">http://scott.sherrillmix.com/blog/blogger/interesting-links-08-01-23/</guid>
		<description><![CDATA[I think it&#8217;s supposed to be some sort of blogging shortcut but I kind of like when a blog I read posts interesting links they&#8217;ve found recently. So I thought I would start doing a few posts like that of my own. I&#8217;ll gather up links I think are especially interesting and once I get [...]]]></description>
			<content:encoded><![CDATA[<p>I think it&#8217;s supposed to be some sort of blogging shortcut but I kind of like when a blog I read posts interesting links they&#8217;ve found recently. So I thought I would start doing a few posts like that of my own. I&#8217;ll gather up links I think are especially interesting and once I get five or so dump them in to a post. Feel free to read or delete as you please.</p>
<dl>
<dt><a href="http://www.planetary.org/blog/article/00001299/">MESSENGER Images of Mercury</a></dt><dd>The Messenger space probe passed by Mercury recently. I hadn&#8217;t realized that most of Mercury has never been seen. It&#8217;s pretty cool that we get to see images of a new world almost as quickly as the scientists working on it.</dd>
<dt><a href="http://www.planetary.org/blog/article/00001305/">That Stupid Bigfoot on Mars</a></dt><dd>This one has been going around the internet. If you missed it, there&#8217;s a rock on Mars near one of the rovers that looks like Bigfoot. The &#8220;Bigfoot&#8221; thing is pretty silly (although Sasquatch was the first thing I thought when I saw the picture) but that post shows the really cool and huge panorama it came from.</dd>
<dt><a href="http://scienceblogs.com/goodmath/2008/01/the_genius_of_donald_knuth_typ.php">Donald Knuth and LaTeX</a></dt><dd>I like <a href="http://scott.sherrillmix.com/blog/programmer/latex-document-creation-alternative/">LaTeX</a> so I found this bit of history about Donald Knuth coming up with the software pretty interesting.</dd>
<dt><a href="http://www.ted.com/index.php/talks/view/id/206">Bioluminescence and Squid Video</a></dt><dd>I just found out about all these TED talks being online. Pretty handy when you don&#8217;t have a TV. This one is about five minutes long and has a bunch of videos of squid, octopuses and things that glow in the depths.</dd>
<dt><a href="http://dprkforum.com/2007/10/28/movie-time-pulgasari/">Pulgasari: The North Korean Godzilla</a></dt><dd>This is another one resulting from not having a TV. Definitely a less than B grade monster movie but it does provide a good comparison to <a href="http://scott.sherrillmix.com/blog/reviewer/cloverfield/">Cloverfield</a>. The story of Kim Jong-Il kidnapping the director and his wife and forcing them to make the thing sounds like a better story than the movie itself (not that it&#8217;d take much). For the impatient, there&#8217;s decent monster bits around 27:30, 47:30 and 1:03:00.</dd>
<dt><a href="http://www.curiousinventor.com/guides/Surface_Mount_Soldering/101">Soldering Tiny Components</a></dt><dd>This is a great video tutorial on how to solder tiny electronic components. Really nicely filmed and very closeup. You can really see what&#8217;s going on and the guy sure makes it <em>look</em> easy.</dd>
<dt><a href="http://www.nerdkits.com/">NerdKits</a></dt><dd>A nice idea by a couple college students to sell kits for learning how to use microcontrollers. They &#8220;guarantee that you&#8217;ll get your first program written and running&#8221;. Unfortunately they don&#8217;t have a USB version yet. Sort of a homegrown alternative to <a href="http://scott.sherrillmix.com/blog/programmer/easypic4-first-impressions/">EasyPic4</a>.</dd>
</dl>

<p>That&#8217;s it for now. That was pretty quick and fun to put together so I&#8217;ll probably do some more of these in the future. I hope something on there is interesting for other people too.</p>]]></content:encoded>
			<wfw:commentRss>http://scott.sherrillmix.com/blog/blogger/interesting-links-08-01-23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EasyPic4 First Impressions</title>
		<link>http://scott.sherrillmix.com/blog/programmer/easypic4-first-impressions/</link>
		<comments>http://scott.sherrillmix.com/blog/programmer/easypic4-first-impressions/#comments</comments>
		<pubDate>Mon, 13 Nov 2006 22:46:23 +0000</pubDate>
		<dc:creator>ScottS-M</dc:creator>
				<category><![CDATA[Electrical Engineer]]></category>
		<category><![CDATA[Programmer]]></category>
		<category><![CDATA[Reviewer]]></category>
		<category><![CDATA[easypic4]]></category>
		<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[mikroC]]></category>
		<category><![CDATA[mikroelektronika]]></category>
		<category><![CDATA[PIC]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://scott.sherrillmix.com/blog/programmer/easypic4-first-impressions/</guid>
		<description><![CDATA[As a biologist, I&#8217;ve often thought &#8220;I could really use an instrument that did X&#8221;. Logging temperatures, locations, depth, light levels  and other variables, controlling devices like cameras or servos, and communicating with a computer seem like a task for microcontrollers. So it&#8217;s been in my head for a while to try and learn [...]]]></description>
			<content:encoded><![CDATA[<p>As a biologist, I&#8217;ve often thought &#8220;I could really use an instrument that did X&#8221;. Logging temperatures, locations, depth, light levels  and other variables, controlling devices like cameras or servos, and communicating with a computer seem like a task for <a href="http://en.wikipedia.org/wiki/Microcontrollers">microcontrollers</a>. So it&#8217;s been in my head for a while to try and learn a bit about them.</p>



<p>After putting it off for a while, I thought I would try to find a nice starter kit to experiment with. I looked through a few possibilities before finally deciding, including the:</p>
<ul>
	<li><a href="http://www.makezine.com/controller/">MAKE Controller Kit</a> &#8211; This one seems pretty handy and powerful.</li>
	<li><a href="http://todbot.com/blog/2006/09/25/arduino-the-basic-stamp-killer/">Arduino</a> &#8211; Open source and cheap.</li>
	<li><a href="http://www.gumstix.com/">Gumstix</a> &#8211; More of a computer than a microproccesor. Really cool for powerful applications.</li>
	<li><a href="http://www.mikroe.com/en/tools/easypic4/">EasyPIC4</a> &#8211; Tons of features built-in with no soldering necessary. Lots of example programs.</li>
</ul>
<p>As is evident from the title, I decided to go with the EasyPIC4. This seemed like the most beginner friendly option. I figured it would be nice to be able to learn how to program without worrying that problems were actually caused by some misplaced solder or mistaken understanding of electronics. Conveniently, the EasyPIC4 comes with a 16F877A <a href="http://en.wikipedia.org/wiki/PIC_microcontroller">PIC microcontroller</a>. It cost $119 plus $17 for a graphic LCD and $15 for a character LCD and temperature sensor with a total cost of $152US for enough features to keep me busy learning for quite a while. So I ordered it from <a href="http://www.mikroe.com/en/">mikroElektronika</a>.</p> 

<p>I&#8217;ve gotten used to almost instant shipping and I was looking forward to trying the thing out so I was a little disappointed when a week passed and I hadn&#8217;t heard anything besides the initial confirmation email. But after an email to the mikroElektronika sales, they quickly and nicely got back to me and coincidentally said that my order had been shipped that same day. The shipping is through the Serbian national post so I thought I was out of luck for package tracking but it turns out I could plug the tracking number into Canada&#8217;s own post for tracking.</p>

<img class="center" src="/res/images/EasyPIC4.jpg" alt="mikroElektronika EasyPIC4 Development Board" />
<p>So it finally came but, since I&#8217;m cheap and had decided to not order any software along with it, I needed a PIC program compiler. It turns out that mikroElektronica also offers <a href="http://www.mikroe.com/en/download/">demo versions</a> of their Pascal, Basic, and C <a href="http://www.mikroe.com/en/compilers/">compilers</a> for PIC. I went with mikroC since I have a passing familiarity with C++. I think the demo version has a limit in how big a program you can write but I think that it&#8217;s large enough for an amateur like me to play around quite a bit without running into.</p>

<p>So once I had the right software, I plugged in the EasyPIC4 into my USB port. It immediately started flashing LED&#8217;s and displaying a countdown on its numeric display. After having images of the ticking bomb in every Hollywood action movie flash through my head, I realized that mikroElektronika had preloaded the PIC with a demo program. That seemed like a nice touch since I could immediately tell that things were working. So now it was time to try my hand at programming. Luckily the EasyPIC4 comes with a <a href="http://www.mikroe.com/zip/easypic4/easypic4_mikroc_examples.zip">bunch of demo programs</a>. I count 23 sample programs plus a whole bunch in the extra_examples folder that I haven&#8217;t even gotten a chance to look at yet. LED_Blinking.c seemed like a good place to start. It took just a few seconds to compile the program and, since mikroC connects easily with the included flash memory loading PICFLASH2 program, load it onto the microcontroller. After seeing the little red <a href="http://en.wikipedia.org/wiki/Led">LEDs</a> (each labeled with the pin that it connects to) start flashing and looking through the source, I made my own sequence of flashing LEDs within half an hour (sorry about the jerkiness I hadn&#8217;t really thought of making an animation out of it until later).</p> 

<img class="left" src="/res/images/firstPIC.gif" alt="My First PIC Program" />

<p>So to wrap up, the EasyPIC4 lived up to its name. Things went easily and well right out of the box. It seems like a really good way for a novice to experiment with microcontrollers. It was really enjoyable to see the tiny computer making real world things happen. I&#8217;m looking forward to trying out more of the features.</p>]]></content:encoded>
			<wfw:commentRss>http://scott.sherrillmix.com/blog/programmer/easypic4-first-impressions/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>
