<?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>Arc&#039;s Lab</title>
	<atom:link href="http://arcslab.com/feed" rel="self" type="application/rss+xml" />
	<link>http://arcslab.com</link>
	<description>DIY Electronic Projects &#38; More</description>
	<lastBuildDate>Tue, 12 Jan 2010 20:46:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PIC Countdown Timer</title>
		<link>http://arcslab.com/pic-countdown-timer</link>
		<comments>http://arcslab.com/pic-countdown-timer#comments</comments>
		<pubDate>Tue, 12 Jan 2010 20:37:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Circuits]]></category>
		<category><![CDATA[Lab Stuff]]></category>
		<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[PIC]]></category>
		<category><![CDATA[16F62x]]></category>
		<category><![CDATA[7seg Display]]></category>
		<category><![CDATA[Multiplexing]]></category>
		<category><![CDATA[Timer]]></category>

		<guid isPermaLink="false">http://arcslab.com/?p=29</guid>
		<description><![CDATA[This project is intended as a countdown timer for a UV exposure box for PCB development that uses fluorescent UV lamps (it will also work with any other lamp, don&#8217;t worry). It is based around a PIC16F627 micro and has following features:

adjustable time in 15-second increments (up to 10 minutes)
lamp preheat feature
two button operation (with [...]]]></description>
			<content:encoded><![CDATA[<p>This project is intended as a countdown timer for a UV exposure box for PCB development that uses fluorescent UV lamps (it will also work with any other lamp, don&#8217;t worry). It is based around a PIC16F627 micro and has following features:</p>
<ul>
<li>adjustable time in 15-second increments (up to 10 minutes)</li>
<li>lamp preheat feature</li>
<li>two button operation (with audible feedback)</li>
<li>countdown alarm (when timer reaches zero)</li>
<li>relay for lamp switching</li>
<li>7-segment display</li>
</ul>
<h4>10 minutes?</h4>
<p>I have chosen the upper time limit of 10 minutes which should be more than enough for most applications and initial time is set for a 5 minute countdown (I&#8217;m preparing a revised software which will load initial time from EEPROM so it can be configured manually). Step increment of 15 seconds has been chosen partially due to ease of operation because there are only two buttons – time adjustment and start/stop. Time adjustment is incremental meaning that each time you press the button time is incremented by 15 seconds. When upper limit is reached time is reset to zero and the process repeats. Start/stop button is used for, you will never guess, starting and stopping the timer with lamp preheat feature.</p>
<p><span id="more-29"></span></p>
<h4>Serving it warm</h4>
<p>Lamp preheat was added due to necessity &#8211; fluorescent lamps take some time to achieve full light output. It wouldn&#8217;t be a problem if it took exactly the same on every lamp turn-on, but that&#8217;s not the case as you might have guessed. What&#8217;s even worse is the fact that if you use multiple lamps with separate ballasts not all lamps will turn on at the exact moment. I have a situation where 2 out of 3 lamps turn on and the 3rd lamp still flickers for a couple of seconds then finally turns on. This kind of bugged me a little so I added the lamp preheat feature which basically turns on the lamps but doesn&#8217;t start the countdown (countdown is initiated by a second button press). If your lamps behave properly (incandescent or LEDs) you can simply double-click the start/stop button and it will skip the preheat function.</p>
<h4>Bring it on</h4>
<p>Countdown timer is separated into two boards – mainboard and I/O board. Mainboard PCB contains the power supply, lamp relay and PIC with its associated circuitry. I/O board contains the displays and buttons for user interface and the boards are connected via two 8-pin ribbon cables allowing you to place the I/O board where ever you want (i.e. outside the UV exposure box). Entire circuit can be powered from a small transformer with a secondary rating of 6-24V but I would recommend to keep the input voltage below 15V because of the voltage regulator IC.</p>
<p><a href="http://arcslab.com/wp-content/uploads/web_piccdtimer_main.jpg"><img class="alignleft size-full" title="Mainboard" src="http://arcslab.com/wp-content/uploads/thumb_piccdtimer_main.jpg" alt="Mainboard" width="240" height="224" /></a> <a href="http://arcslab.com/wp-content/uploads/web_piccdtimer_iobrd.jpg"><img class="alignright size-full" title="I/O Board" src="http://arcslab.com/wp-content/uploads/thumb_piccdtimer_iobrd.jpg" alt="I/O Board" width="240" height="224" /></a></p>
<p>As you can see from the schematics, entire circuit is quite common and simple. Displays are multiplexed meaning that they are driven one by one, really fast, so they seem to be constantly on due to persistence of vision. One nice feature with the 16F62x PICs is their internal RC oscillator which is accurate enough for this purpose and frees up two additional pins. As for the power supply, 7805 IC regulator seems to be all time favorite with DIYers and I&#8217;m no exception. You might want to fix it to a small heat sink especially if you are going to put the circuit next to the lamps in a closed box.</p>
<p>Use the relay to switch the live (or &#8220;hot&#8221;) AC wire!</p>
<p>Hi-res schematics and board layouts can be found at the end of this article.</p>
<h4>Operation</h4>
<p>Timer operation is nice and simple, just the way I like it! As mentioned before, you adjust the time with the TIME ADJ button and start or stop the timer with the START/STOP button. While adjusting the time the display will obviously show the time. When START/STOP button is pressed once the timer will go into lamp preheat mode and the display will alternate between &#8220;HEAT&#8221; and set time (you can still adjust the time if needed). On a second button press the timer will start the countdown and the display will show remaining time. When the countdown is complete the display will show a blinking &#8220;DONE&#8221; text (or rather &#8220;dOnE&#8221; on 7-segment displays) and an alarm will sound for indication which can be cancelled by pressing any button.</p>
<h4>Flash before use</h4>
<p>I have provided HEX files for 16F627(A) and 16F628(A) PICs so you can use whichever you have at hand. Configuration data is in the HEX file provided you select correct device before loading the file. In any case, all fuses should be off except power-up timer. Oscillator must be configured for IntRC with I/O functionality (since RA6 and RA7 are used for driving the buzzer and relay).</p>
<h4>Give it to me</h4>
<p>Here is the documentation available for this circuit. You can download individual items or an entire archive if you want to save a few clicks. Each PCB layout has a component view (bottom + top + silkscreen) to assist in component placement. Layouts are 600 DPI images so keep that in mind before printing (board dimensions are also available).</p>
<p><span class="res-sch">Hi-res schematic: <a href="http://arcslab.com/wp-content/uploads/hires_piccdtimer_main.jpg">Mainboard</a>, <a href="http://arcslab.com/wp-content/uploads/hires_piccdtimer_iobrd.jpg">I/O Board</a></span><br />
<span class="res-pcb">PCB layout: <a href="http://arcslab.com/wp-content/uploads/pcb_piccdtimer_main.rar">Mainboard</a>, <a href="http://arcslab.com/wp-content/uploads/pcb_piccdtimer_iobrd.rar">I/O Board</a></span><br />
<span class="res-diag">Connection diagram: not available</span><br />
<span class="res-hex">HEX file: <a href="http://arcslab.com/wp-content/uploads/hex_piccdtimer_16f627.hex">16F627</a>, <a href="http://arcslab.com/wp-content/uploads/hex_piccdtimer_16f627a.hex">16F627A</a>, <a href="http://arcslab.com/wp-content/uploads/hex_piccdtimer_16f628.hex">16F628</a>, <a href="http://arcslab.com/wp-content/uploads/hex_piccdtimer_16f628a.hex">16F628A</a></span><br />
<span class="res-soft">Software: not available</span><br />
<span class="res-proj">Complete archive: <a href="http://arcslab.com/wp-content/uploads/arc_piccdtimer.rar">PIC Countdown Timer</a></span></p>
<p><span class="warn-hint">Things to improve for Rev 2.0:<br />
- remember last selected time and recall it on turn-on<br />
- load configuration from PIC&#8217;s EEPROM (time limit, time step, audible button feedback, alarm and preheat bypass)<br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://arcslab.com/pic-countdown-timer/feed</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://arcslab.com/hello-world</link>
		<comments>http://arcslab.com/hello-world#comments</comments>
		<pubDate>Sat, 02 Jan 2010 15:23:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[introduction]]></category>

		<guid isPermaLink="false">http://arcslab.com/?p=1</guid>
		<description><![CDATA[Welcome to Arc&#8217;s Lab!
As you can probably notice the site is pretty much useless at the moment since I just started it.
What?
Here I will present my own electronics projects/circuits and provide all the schematics and instructions required to build them. You can also expect to find some random posts mostly related to electronics as well [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to Arc&#8217;s Lab!</p>
<p>As you can probably notice the site is pretty much useless at the moment since I just started it.</p>
<h4>What?</h4>
<p>Here I will present my own electronics projects/circuits and provide all the schematics and instructions required to build them. You can also expect to find some random posts mostly related to electronics as well as component tests and small circuits which have extensive applications in other projects.</p>
<h4>When?</h4>
<p>As soon as possible! I already have some cool projects for you, just be patient until I write something meaningful.</p>
<h4>For whom?</h4>
<p>Mostly for semi-experienced people interested in electronic and DIY. I will assume you know some basic theory and have skills necessary to etch your own PCBs and solder components in place.</p>
<h4>How?</h4>
<p>In plain english and without much fuss! Expect some gramatical and spelling errors since english is not my native language.</p>
<p>&#8220;See&#8221; you soon!</p>
<p>Arcom</p>
]]></content:encoded>
			<wfw:commentRss>http://arcslab.com/hello-world/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
