<?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>uart.net &#187; PIC</title>
	<atom:link href="http://uart.net/tag/pic/feed/" rel="self" type="application/rss+xml" />
	<link>http://uart.net</link>
	<description>universal asynchronous receiver/transmitter</description>
	<lastBuildDate>Sat, 06 Nov 2010 05:11:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Quick Bling</title>
		<link>http://uart.net/2008/06/12/quick-bling/</link>
		<comments>http://uart.net/2008/06/12/quick-bling/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 03:37:23 +0000</pubDate>
		<dc:creator>ned</dc:creator>
				<category><![CDATA[8-bit]]></category>
		<category><![CDATA[Bling]]></category>
		<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[PCB Manufacturing]]></category>
		<category><![CDATA[PIC]]></category>
		<category><![CDATA[Quick Projects]]></category>
		<category><![CDATA[3V]]></category>
		<category><![CDATA[Coin Cell]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[PIC12F675]]></category>
		<category><![CDATA[PWM]]></category>

		<guid isPermaLink="false">http://uart.net/?p=31</guid>
		<description><![CDATA[So two Saturdays ago I tried to make a some simple LED &#8220;bling&#8221; as fast as I could (from scratch). All told it took about 4hrs from start to finish (including firmware and soldering). The result is 3 LEDs (red, green and yellow) controlled by a PIC12F675 and running from a 3V lithium coin cell (CR1620). [...]]]></description>
			<content:encoded><![CDATA[<p>So two Saturdays ago I tried to make a some simple LED &#8220;bling&#8221; as fast as I could (from scratch). All told it took about 4hrs from start to finish (including firmware and soldering). The result is 3 LEDs (red, green and yellow) controlled by a PIC12F675 and running from a 3V lithium coin cell (CR1620). The LEDs brightness follows a sine wave with a period of ~ 1 second, and with each LED offset from the other by 1/3 of a period. As a result the LEDs seem to chase each other, only with a much nicer effect then your normal on/off chase. Here as one fades out, another is fading in, and the third is at nearly full brightness.</p>
<p>The whole board runs for about 24hrs w/o issue. If I disabled the brown-out detector, I think it would run for more like 48hrs, though the last 12 might not be that great. With the brown-out detector enabled, the LEDs start to flicker. This is because the voltage drops under load, so the detector trips, reseting the PIC. This causes the load to become less, so the voltage rises, the brown-out detector release the PIC from reset and then the whole processes repeats.</p>
<p>The back of the board is covered in static-free bubble wrap. I have been starting to cover my boards in the bubble wrap every since I put a board down on a pair of metal pliers and shorted a bunch of traces, frying the board. I just use the static-free bubble wrap that parts I order come with. Its also a nice way to reuse the material (instead of recycling it).</p>
<p> </p>
<p>You can <a title="Light and Temperature Logger Source" href="/downloads/Bling.zip" target="_self">download</a> the source code for the firmware (also contains a compiled binary). It&#8217;s written for HI-TIDE and PICC-lite, both by HI-TECH.</p>
<p> </p>
<p><a href="http://uart.net/wp-content/uploads/2008/06/img_2579.jpg"><img class="alignnone size-medium wp-image-32" title="Front of Bling" src="http://uart.net/wp-content/uploads/2008/06/img_2579-300x224.jpg" alt="" width="300" height="224" /></a></p>
<p>Front of Bling Board</p>
<p><span style="color: #551a8b; text-decoration: underline;"><a href="http://uart.net/wp-content/uploads/2008/06/img_2579.jpg"></a><a href="http://uart.net/wp-content/uploads/2008/06/img_2580.jpg"><img class="alignnone size-medium wp-image-33" title="Back of Bling" src="http://uart.net/wp-content/uploads/2008/06/img_2580-300x224.jpg" alt="" width="300" height="224" /></a></span></p>
<p>Back of Bling Board</p>
]]></content:encoded>
			<wfw:commentRss>http://uart.net/2008/06/12/quick-bling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Light and Temperature Logger</title>
		<link>http://uart.net/2008/06/12/light-and-temperature-logger/</link>
		<comments>http://uart.net/2008/06/12/light-and-temperature-logger/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 02:28:47 +0000</pubDate>
		<dc:creator>ned</dc:creator>
				<category><![CDATA[16-bit]]></category>
		<category><![CDATA[Data Logging]]></category>
		<category><![CDATA[EEPROM]]></category>
		<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[PIC]]></category>
		<category><![CDATA[3.3V]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[PIC24]]></category>
		<category><![CDATA[PIC24FJ64GA002]]></category>
		<category><![CDATA[PWM]]></category>
		<category><![CDATA[temperature]]></category>

		<guid isPermaLink="false">http://uart.net/?p=29</guid>
		<description><![CDATA[I made a simple light and temperature logger a few weekends ago. It&#8217;s simple (I have built em lots of times) but this is the first one I actually soldered up. It uses a PIC24FJ64GA002 (Microchip) as its controller, a TSL-14S (TAOS) for the light sensor, and a MCP9701A (Microchip) as the temperature sensor. The [...]]]></description>
			<content:encoded><![CDATA[<p>I made a simple light and temperature logger a few weekends ago. It&#8217;s simple (I have built em lots of times) but this is the first one I actually soldered up. It uses a PIC24FJ64GA002 (Microchip) as its controller, a TSL-14S (TAOS) for the light sensor, and a MCP9701A (Microchip) as the temperature sensor. The data is stored in a 24AA1025 (Microchip) 1024Mbit I2C EEPROM. The firmware supports up to 3 more (4 total) 24AA1025s for expanded capacity. Just connect the EEPROMs to the I2C bus and tell the firmware about the expanded capacity and away you go.</p>
<p>All communications with the Logger are done using UART at 38400bps. The firmware provides a VT100-compatible terminal for easy data download and reconfiguration. There is an LED on the board that shows the current ambient light level (the brighter the room, the dimmer the LED), and another to show the memory status. The board will run for about 48hrs on 4 AAA, and records data once every 30 seconds (though that is easily changed in the code). The board also keeps track of up to 16 runs of data. Each time the board is reset, it starts a new run.</p>
<p>You can find a few photos below. And you can <a title="Light and Temperature Logger Source" href="/downloads/Data_Logger_EEPROM.zip" target="_self">download</a> the code (for Microchip C30 compiler), MPLAB project files and a complied binary.</p>

<a href='http://uart.net/2008/06/12/light-and-temperature-logger/img_2433/' title='Light and Temp Logger'><img width="150" height="150" src="http://uart.net/wp-content/uploads/2008/06/img_2433-150x150.jpg" class="attachment-thumbnail" alt="Light and Temp Logger" title="Light and Temp Logger" /></a>
<a href='http://uart.net/2008/06/12/light-and-temperature-logger/img_2425/' title='Breadboarded Light and Temp Logger'><img width="150" height="150" src="http://uart.net/wp-content/uploads/2008/06/img_2425-150x150.jpg" class="attachment-thumbnail" alt="Breadboarded Light and Temp Logger" title="Breadboarded Light and Temp Logger" /></a>
<a href='http://uart.net/2008/06/12/light-and-temperature-logger/img_2431/' title='Light and Temp Logger + Battery Pack'><img width="150" height="150" src="http://uart.net/wp-content/uploads/2008/06/img_2431-150x150.jpg" class="attachment-thumbnail" alt="Light and Temp Logger + Battery Pack" title="Light and Temp Logger + Battery Pack" /></a>

]]></content:encoded>
			<wfw:commentRss>http://uart.net/2008/06/12/light-and-temperature-logger/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Paper and Glue Microcontrollers</title>
		<link>http://uart.net/2008/04/06/paper-and-glue-microcontrollers/</link>
		<comments>http://uart.net/2008/04/06/paper-and-glue-microcontrollers/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 21:57:14 +0000</pubDate>
		<dc:creator>ned</dc:creator>
				<category><![CDATA[8-bit]]></category>
		<category><![CDATA[Conductive Glue]]></category>
		<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[PCB Manufacturing]]></category>
		<category><![CDATA[PIC]]></category>
		<category><![CDATA[glue]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[paper]]></category>
		<category><![CDATA[PCB]]></category>
		<category><![CDATA[PIC12F675]]></category>
		<category><![CDATA[PWM]]></category>
		<category><![CDATA[SMD]]></category>

		<guid isPermaLink="false">http://uart.net/?p=12</guid>
		<description><![CDATA[Last night I made a simple LED PWM circuit using the conductive glue from the other day. It uses the super cheap and robust PIC12F675 to do two channels of software pulse width modulation (PWM). The PIC runs at 4MHz and uses Timer0 for the PWM and Timer1 to move in new &#8220;frames&#8221;. The &#8220;video&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I made a simple LED PWM circuit using the <a href="http://uart.net/2008/04/04/paper-and-glue/">conductive glue from the other day</a>. It uses the super cheap and robust <a title="PIC12F675" href="http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;nodeId=1335&amp;dDocName=en010114">PIC12F675</a> to do two channels of software pulse width modulation (PWM). The PIC runs at 4MHz and uses Timer0 for the PWM and Timer1 to move in new &#8220;frames&#8221;. The &#8220;video&#8221; is stored in EEPROM. You can download the source code as well as HI-TIDE PICC project files and compiled binaries: <a class="downloadlink" href="http://uart.net/downloads/PaperCircuitTwo.zip" title="Version1.0 downloaded 1930 times" >Paper Circuit 2 Source (1930)</a>. Below you will find some pictures of the circuit through out the construction process, as well as some video of its final operation at 3.0V with no wires and at 4.5V with wires added.</p>

<a href='http://uart.net/2008/04/06/paper-and-glue-microcontrollers/img_2313/' title='PWM Software Test'><img width="150" height="150" src="http://uart.net/wp-content/uploads/2008/04/img_2313-150x150.jpg" class="attachment-thumbnail" alt="Testing the PWM software on the PIC12F675 before gluing it to the circuit." title="PWM Software Test" /></a>
<a href='http://uart.net/2008/04/06/paper-and-glue-microcontrollers/img_2320/' title='Partial Cicuit 1'><img width="150" height="150" src="http://uart.net/wp-content/uploads/2008/04/img_2320-150x150.jpg" class="attachment-thumbnail" alt="Initial placement of the PIC and sketch of circuit layout." title="Partial Cicuit 1" /></a>
<a href='http://uart.net/2008/04/06/paper-and-glue-microcontrollers/img_2321/' title='Partial Cicuit 2'><img width="150" height="150" src="http://uart.net/wp-content/uploads/2008/04/img_2321-150x150.jpg" class="attachment-thumbnail" alt="PIC has been glued down and the inital traces to its pins have been added." title="Partial Cicuit 2" /></a>
<a href='http://uart.net/2008/04/06/paper-and-glue-microcontrollers/img_2322/' title='Partial Cicuit 3'><img width="150" height="150" src="http://uart.net/wp-content/uploads/2008/04/img_2322-150x150.jpg" class="attachment-thumbnail" alt="LEDs have been added, and the resistors (82ohm) are in position." title="Partial Cicuit 3" /></a>
<a href='http://uart.net/2008/04/06/paper-and-glue-microcontrollers/img_2324/' title='Finished Cricuit'><img width="150" height="150" src="http://uart.net/wp-content/uploads/2008/04/img_2324-150x150.jpg" class="attachment-thumbnail" alt="The finished circuit (still drying) before the addition of any wires." title="Finished Cricuit" /></a>
<a href='http://uart.net/2008/04/06/paper-and-glue-microcontrollers/img_2333/' title='Finished Circuit with Wires'><img width="150" height="150" src="http://uart.net/wp-content/uploads/2008/04/img_2333-150x150.jpg" class="attachment-thumbnail" alt="The finished circuit after wires had been added to improve the trace quality." title="Finished Circuit with Wires" /></a>
<a href='http://uart.net/2008/04/06/paper-and-glue-microcontrollers/img_2337/' title='Powered Circuit'><img width="150" height="150" src="http://uart.net/wp-content/uploads/2008/04/img_2337-150x150.jpg" class="attachment-thumbnail" alt="The circuit is being power by 4.5V." title="Powered Circuit" /></a>

<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="530" height="370" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/p/DFFC74D8D58FB196" /><embed type="application/x-shockwave-flash" width="530" height="370" src="http://www.youtube.com/p/DFFC74D8D58FB196"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://uart.net/2008/04/06/paper-and-glue-microcontrollers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
