<?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>Chipkin Automation Systems - Articles</title>
	<atom:link href="http://www.chipkin.com/articles/feed" rel="self" type="application/rss+xml" />
	<link>http://www.chipkin.com/articles</link>
	<description>Resources and News for industrial automation</description>
	<lastBuildDate>Fri, 12 Mar 2010 17:51:53 +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>Where are the debug files located &#8211; CAS BACnet Explorer</title>
		<link>http://www.chipkin.com/articles/where-are-the-debug-files-located-cas-bacnet-explorer</link>
		<comments>http://www.chipkin.com/articles/where-are-the-debug-files-located-cas-bacnet-explorer#comments</comments>
		<pubDate>Fri, 12 Mar 2010 17:51:53 +0000</pubDate>
		<dc:creator>Steven Smethurst</dc:creator>
				<category><![CDATA[Utilities and tools]]></category>
		<category><![CDATA[CAS BACnet Explorer]]></category>
		<category><![CDATA[wireshark]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=647</guid>
		<description><![CDATA[When sending support a bug report for CAS BACnet Explorer please include these three debug files.

C:\Users\&#60;user&#62;\Documents\CAS BACnet Explorer\Debuglog.txt
C:\Users\&#60;user&#62;\Documents\CAS BACnet Explorer\mstp_log.txt (If BACnet MSTP)
C:\Users\&#60;user&#62;\Documents\CAS BACnet Explorer\packets.pkt (If BACnet IP or BACnet Eth)

These files will help us tremendousness to find a solution to your problem. These files are plain text and they should compress down to 3-4mb with 7-Zip (free [...]]]></description>
			<content:encoded><![CDATA[<p>When sending support a bug report for <a href="http://www.chipkin.com/cas-bacnet-explorer">CAS BACnet Explorer</a> please include these three debug files.</p>
<ul>
<li>C:\Users\&lt;<em>user</em>&gt;\Documents\CAS BACnet Explorer\<strong>Debuglog.txt</strong></li>
<li>C:\Users\&lt;<em>user</em>&gt;\Documents\CAS BACnet Explorer\<strong>mstp_log.txt</strong> (If BACnet MSTP)</li>
<li>C:\Users\&lt;<em>user</em>&gt;\Documents\CAS BACnet Explorer\<strong>packets.pkt</strong> (If BACnet IP or BACnet Eth)</li>
</ul>
<p>These files will help us tremendousness to find a solution to your problem. These files are plain text and they should compress down to 3-4mb with <a href="http://www.7-zip.org/">7-Zip</a> (free and opensource), or <a href="http://www.rarlab.com/">WinRar</a> (free unlimited demo)</p>
<p><strong><em>Packets.pkt</em></strong> can be opened with <a href="http://www.wireshark.org/">Wireshark</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/where-are-the-debug-files-located-cas-bacnet-explorer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CAS BACnet Explorer &#8211; USB Key updater</title>
		<link>http://www.chipkin.com/articles/cas-bacnet-explorer-usb-key-updater</link>
		<comments>http://www.chipkin.com/articles/cas-bacnet-explorer-usb-key-updater#comments</comments>
		<pubDate>Wed, 10 Mar 2010 19:50:22 +0000</pubDate>
		<dc:creator>Steven Smethurst</dc:creator>
				<category><![CDATA[Utilities and tools]]></category>
		<category><![CDATA[CAS BACnet Explorer]]></category>
		<category><![CDATA[FAQ]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[USB key]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=618</guid>
		<description><![CDATA[The KeyUpdater.exe is an application at is used to update the USB product keys for CAS BACnet Explorer.
Directions:

Extract the three files included in the Zip archive to a temporary directory (C:\temp\)
Run the &#8216;KeyUpdater.exe&#8216; application
Insert the USB product key, It should look similar to this. A green LED should illuminate if property connected.
Click the &#8220;Update Key&#8221; button

If the key was updated correctly you should [...]]]></description>
			<content:encoded><![CDATA[<p>The <em>KeyUpdater.exe</em><strong> </strong>is an application at is used to update the USB product keys for <a href="http://www.chipkin.com/cas-bacnet-explorer">CAS BACnet Explorer</a>.</p>
<p><strong><img class="alignright" title="usbkeyupdater_done" src="http://www.chipkin.com/articles/wp-content/uploads/2010/03/usbkeyupdater_done.png" alt="" width="154" height="169" />Directions:</strong></p>
<ol>
<li>Extract the three files included in the Zip archive to a temporary directory (C:\temp\)</li>
<li>Run the &#8216;<em>KeyUpdater.exe</em>&#8216; application</li>
<li>Insert the USB product key, It should look <a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/pic_rockey4nd.gif">similar to this</a>. A green LED should illuminate if property connected.</li>
<li>Click the &#8220;Update Key&#8221; button</li>
</ol>
<p>If the key was updated correctly you should get a dialog that says &#8220;Done&#8221;</p>
<p>This error message can happen for the following reasons.</p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/usbkeyupdater_error.png"><img class="aligncenter size-full wp-image-619" title="usbkeyupdater_error" src="http://www.chipkin.com/articles/wp-content/uploads/2010/03/usbkeyupdater_error.png" alt="" width="555" height="167" /></a></p>
<ul>
<li>The USB key is not plugged in. Please ensure that the USB key is plugged in and the internal LED is illuminated.</li>
<li>The wrong USB key is used. The USB product key <a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/pic_rockey4nd.gif">looks like this</a>. Ensure that you are using the correct USB key.</li>
<li>The USB key is plugged in to a USB hub that does not have enough power to program the USB key. Plug the USB key directly in to the PC.</li>
<li>The applcation is missing the two included DLLs. This application requires two DLLs included with the application to run property.</li>
<li>The application is run from with in an Zip file instead of a temporary directly. Some Zip application do not extract all the files from a archive before running the EXE. extract the files to a temp directory before attempting to run this applications.</li>
</ul>
<div><span style="color: #0000ee; -webkit-text-decorations-in-effect: underline;"><br />
</span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/cas-bacnet-explorer-usb-key-updater/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change the default BACnet port (47808) in CAS BACnet Explorer</title>
		<link>http://www.chipkin.com/articles/how-to-change-the-default-bacnet-port-47808-in-cas-bacnet-explorer</link>
		<comments>http://www.chipkin.com/articles/how-to-change-the-default-bacnet-port-47808-in-cas-bacnet-explorer#comments</comments>
		<pubDate>Tue, 09 Mar 2010 08:01:56 +0000</pubDate>
		<dc:creator>Steven Smethurst</dc:creator>
				<category><![CDATA[BACnet]]></category>
		<category><![CDATA[Utilities and tools]]></category>
		<category><![CDATA[CAS BACnet Explorer]]></category>
		<category><![CDATA[FAQ]]></category>
		<category><![CDATA[TCP]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=565</guid>
		<description><![CDATA[Question: How to change the default BACnet port (47808) in CAS BACnet Explorer?
Answer: You can change the default BACnet port for CAS BACnet Explorer in the settings dialog. The default BACnet port is  47808 or 0xBAC0 (HEX)
Note: You can change the default port that wireshark uses to detect and decode BACnet messages. See this artile [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Question: </strong>How to change the default BACnet port (47808) in <a href="http://www.chipkin.com/cas-bacnet-explorer">CAS BACnet Explorer</a>?</p>
<p><strong>Answer:</strong> You can change the default BACnet port for <a href="http://www.chipkin.com/cas-bacnet-explorer">CAS BACnet Explorer</a> in the settings dialog. The default BACnet port is  <a href="http://wiki.wireshark.org/Protocols/bacnet">47808 or 0xBAC0 (HEX)</a></p>
<p>Note: You can change the default port that <a href="http://www.wireshark.org/">wireshark</a> uses to detect and decode BACnet messages. See this artile for more information <a href="http://www.chipkin.com/articles/monitor-any-port-using-any-protocol-with-wireshark">Monitor any port using any protocol with Wireshark</a></p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2010/02/change-bacnet-port.png"><img class="aligncenter size-medium wp-image-566" title="change bacnet port" src="http://www.chipkin.com/articles/wp-content/uploads/2010/02/change-bacnet-port-300x240.png" alt="" width="300" height="240" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/how-to-change-the-default-bacnet-port-47808-in-cas-bacnet-explorer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Benefits of Subnets</title>
		<link>http://www.chipkin.com/articles/benefits-of-subnets</link>
		<comments>http://www.chipkin.com/articles/benefits-of-subnets#comments</comments>
		<pubDate>Mon, 08 Mar 2010 08:00:03 +0000</pubDate>
		<dc:creator>cpascu</dc:creator>
				<category><![CDATA[Ethernet]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[168]]></category>
		<category><![CDATA[192]]></category>
		<category><![CDATA[192.168.1.1]]></category>
		<category><![CDATA[benefits]]></category>
		<category><![CDATA[benifits]]></category>
		<category><![CDATA[broadcast]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[organization]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sub]]></category>
		<category><![CDATA[subnet]]></category>
		<category><![CDATA[subnetting]]></category>
		<category><![CDATA[subnetwork]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=196</guid>
		<description><![CDATA[This article only explains some of the benefits of subnets, not how to implement a subnet.
1. It provides security.
In larger companies, employees must be able to communicate with other employees from that department. Subnetting allows for the department to have its own subnetwork. Depending on how many departments the company has, each one can have [...]]]></description>
			<content:encoded><![CDATA[<p>This article only explains some of the benefits of subnets, not how to implement a subnet.</p>
<p><b>1. It provides security.</b></p>
<p>In larger companies, employees must be able to communicate with other employees from that department. Subnetting allows for the department to have its own subnetwork. Depending on how many departments the company has, each one can have its own private and secure subnetwork, independent from the other networks. </p>
<p><b>2. It allows organization of resources.</b></p>
<p>A company has several departments or types of resources: sales, customer care, IT, executive, research. With subnetting, these resources can be organized within the larger network. For example:</p>
<p><code>192.168.130.x - Executive<br />
192.168.131.x - Research<br />
192.168.132.x - IT<br />
192.168.133.x - Sales<br />
192.168.134.x - Customer Care<br />
</code></p>
<p><b>3. It speeds up the network.</b></p>
<p>Using subnets will decrease the size of the broadcast domain, allowing data to reach its destination much faster. For example, a network without subnetting:</p>
<p><code>192.168.x.y -<br />
There are 255 possible values for x, and for each x there are 255 possible values for y.<br />
This means that there are 255*255 possible recipients in the network broadcast domain. </code></p>
<p>Having such a large network broadcast domain means the signal must go through each possible recipient until it finds the correct one. To decrease the number of possible recipients, we use subnets. For example:</p>
<p><code><br />
192.168.132.y -<br />
Here, there are 255 possible values for y within the 132 subnet. The network broadcast domain only contains 255 possible recipients, thus making the network much faster.<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/benefits-of-subnets/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Eclipse with Arduino Duemilanove</title>
		<link>http://www.chipkin.com/articles/using-eclipse-with-arduino-duemilanove</link>
		<comments>http://www.chipkin.com/articles/using-eclipse-with-arduino-duemilanove#comments</comments>
		<pubDate>Fri, 05 Mar 2010 22:14:32 +0000</pubDate>
		<dc:creator>Steven Smethurst</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[WinAVR]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=590</guid>
		<description><![CDATA[The Arduino IDE is good for simple projects, but as soon as you start building more complext mulit file projects it just not up to the job. Eclipes on the other hand is free, powerful, and full-featured development environment that can be set up to work with AVR and Arduino. Arduino&#8217;s website has some decent instructions on [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.arduino.cc/en/Main/Software">Arduino IDE</a> is good for simple projects, but as soon as you start building more complext mulit file projects it just not up to the job. <a href="http://www.eclipse.org/">Eclipes</a> on the other hand is free, powerful, and full-featured development environment that can be set up to work with <a href="http://www.atmel.com/products/AVR/">AVR</a> and <a href="http://www.arduino.cc/">Arduino</a>. Arduino&#8217;s website has some decent instructions on <a href="http://www.arduino.cc/playground/Code/Eclipse">how to compile with Eclipse for Arduino</a> but its has some missing/confusing steps and is meant for C development not C++. It still has some good reference meterial that you should review.</p>
<p>In this tutorial we will be showing you how to set up the eclipse environment, Build the Arduino library, Create a Arduino project, Compiling C/C++ code, Uploading code to the Arduino, FAQ. This Tutorial was created in response to <a href="http://vancouver.hackspace.ca/doku.php?id=hack_challenge">VHS Hack Challenge</a>.</p>
<h3><span style="text-decoration: underline;">Setting up the Eclipse environment</span></h3>
<p><strong>Download<br />
<span style="font-weight: normal;">You may</span><span style="font-weight: normal;"> not be able to find the exact versions that are used in this tutorial, just you the most updated versions. </span></strong></p>
<div id="_mcePaste">
<ul>
<li><a href="http://java.com/">Java Runtime 5</a> or higher &#8211; Most likely you will already have this installed on your computer.</li>
<li><a href="http://www.eclipse.org/downloads/">Eclipse IDE for C/C++ Developers (~79 MB)</a> - For this tutorial will be using <em>Build id: 20090920-1017.</em></li>
<li><a href="http://arduino.cc/en/Main/Software">Arduino software</a> - For this tutorial we will be using <em>Arduino 0018.</em></li>
<li><a href="http://sourceforge.net/projects/avr-eclipse/">Eclipse AVR plugin</a> - For this tutorial we will be using <em>version 2.3.1</em></li>
<li><a href="http://winavr.sourceforge.net/">WinAVR</a> -  For this tutorial we will be using <em>WinAVR-20100110</em></li>
</ul>
</div>
<div><strong>Installation </strong></div>
<div>
<ul>
<li>Install <strong>Java runtime</strong>. Most computers will already have Java installed as it is used for many other applications.</li>
<li>Install <strong>Arduino software</strong>. The Arduino software comes with the Arduino library and source code examples that will be useful when developing your own projects.</li>
<li>Install <strong>Eclipse</strong>. This should be pretty strait forward. You can install Eclipse in any directory you want. For this tutorial we installed it in <em>C:\Dev\eclipse-cpp</em></li>
<li>Install <strong>WinAVR</strong>, You can install WinAVR in any directory you want. For this tutorial we installed it in <em>C:\Dev\WinAVR-20100110</em></li>
<li>Install <strong>Eclipse AVR plugin</strong>. You will have to manually copy this &#8220;plugin&#8221; into the the Eclipse installation. Move the folder which begins with the name &#8220;de.innot.avreclipse&#8221; to the &#8220;dropins&#8221; folder located within the eclipse folder. Restart Eclipse if you have it already running. There should now be a new &#8220;AVR&#8221; toolbar button in your workspace.</li>
</ul>
</div>
<h3><span style="text-decoration: underline;">Build the Arduino library</span></h3>
<p>Before we can create our first Arduino project we have to link in the Arduino library for Eclipse. There are several different ways of doing this described on <a href="http://www.arduino.cc/playground/Code/Eclipse">Eclipse for Arduino</a> tutorial but for this tutorial we will be creating a static library.</p>
<p>You can <a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/ArduinoCoreProject_2010-03-05_115518.zip">download the project</a> and the <a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/libArduinoCore_2010-03-05_115644.zip">library</a> directly and skip this step.</p>
<ol>
<li>Open Eclipse and start a new C++ project.</li>
<li><a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/eclipse_new_project.png"><img class="alignright size-thumbnail wp-image-592" style="border: 0px initial initial;" title="new_project" src="http://www.chipkin.com/articles/wp-content/uploads/2010/03/eclipse_new_project-150x150.png" alt="" width="150" height="150" /></a>C++ Project
<ul>
<li><strong>Project Name:</strong> <em>ArduinoCore</em></li>
<li><strong>Project Type:</strong> <em>AVR Cross Target Static Libary</em></li>
<li><strong>Toolchains:</strong> <em>AVR-GCC Toolchain<br />
</em></li>
</ul>
</li>
<li>Select Configurations, Uncheck debug we will not be using the debug version of this library in this tutorial.</li>
<li><a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/avr_target_hardware.png"><img class="alignright size-thumbnail wp-image-593" title="avr_target_hardware" src="http://www.chipkin.com/articles/wp-content/uploads/2010/03/avr_target_hardware-150x150.png" alt="" width="150" height="150" /></a>Set the MCU type and frequency for your Arduino board. For example, for the Diecimila, use <strong>ATmega168 </strong>running at <strong>16000000 </strong>Hz. For new versions of the Duemilanove, use <strong>ATmega328P </strong>running at <strong>16000000 </strong>Hz. If you look closely at the Arduino board, you can see the target platform written on the main processor. Click Finish.</li>
<li>In Eclipse, click Project-&gt;Properties.</li>
<li>Select C/C++ Build and expand the category (e.g., click the diamond to the left of &#8220;C/C++ Build&#8221;).</li>
<li>Select Settings under C/C++ Build.</li>
<li><a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/eclipse_project_settings.png"><img class="alignright size-thumbnail wp-image-595" title="eclipse_project_settings" src="http://www.chipkin.com/articles/wp-content/uploads/2010/03/eclipse_project_settings-150x150.png" alt="" width="150" height="150" /></a>In the right pane, Click AVR Compiler
<ul>
<li>Debugging. Set &#8220;Generate Debugging Info&#8221; to No debugging info.</li>
</ul>
<ul>
<li>Optimization. Set the Optimization Level to &#8220;Size Optimizations&#8221;.</li>
<li>Directories, Add the path to the Arduino IDE&#8217;s Hardware folder <em>&#8220;Arduino-0018\hardware\arduino\cores\arduino&#8221; </em></li>
</ul>
</li>
<li>In the right pane, Click AVR C++ Compiler
<ul>
<li>Debugging. Set &#8220;Generate Debugging Info&#8221; to No debugging info.</li>
</ul>
<ul>
<li>Optimization. Set the Optimization Level to &#8220;Size Optimizations&#8221;.</li>
<li>Directories, Add the path to the Arduino IDE&#8217;s Hardware folder <em>&#8220;Arduino-0018\hardware\arduino\cores\arduino&#8221; </em></li>
</ul>
</li>
<li>Right click on the ArduinoCore project in the project explorer on the right and select Import.</li>
<li>On the <em>Import</em> dialog, select <em>General </em>=&gt; <em>File System</em> and click next.</li>
<li>On the <em>File system</em> dialog click browse and select the Arduino IDE&#8217;s hardware folder  <em>&#8220;Arduino-0018\hardware\arduino\cores\arduino&#8221; </em></li>
<li>Select all the files except <em>main.cpp</em>. Click finish</li>
<li>Build the project, On the mail dialog click the hammer in the too bar or by selecting <strong>Project </strong>=&gt;<strong>Build All</strong>.</li>
</ol>
<p>Congratulations you have created the Arduino C/C++ library for Eclipse.  The library ( <em>libArduinoCore.a</em> ) can be found in the projects release folder. It should be around 26k</p>
<p><strong>Path:</strong> <em>\workspace\ArduinoCore\Release\libArduinoCore.a</em></p>
<h3><strong><span style="text-decoration: underline;">Creating a Arduino project</span></strong></h3>
<p>Now that we have the Arduino library we can build our first Arduino project. We are going to start with the <a href="http://arduino.cc/en/Tutorial/Blink">Blink tutorial</a> from <a href="http://arduino.cc/">Arduino.cc</a> its one of the simplest tutorials and should be a good building block for future projects.</p>
<p>You can download the <a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/Blinky_2010-03-05_135311.zip">project for this tutorial</a> from our website.</p>
<ol>
<li>Create a new Eclipse C++ project, <strong>File</strong> =&gt; <strong>New</strong> =&gt; <strong>C++ project</strong></li>
<li>C++ Project
<ul>
<li><strong>Project Name: </strong><em>Blinky</em></li>
</ul>
<ul>
<li><strong>Project Type: </strong><em>AVR Cross Target Application =&gt; Empty project </em></li>
</ul>
<ul>
<li><strong>Toolchains:</strong><em> AVR-GCC Toolchain</em></li>
</ul>
</li>
<li>Select Configurations, Uncheck debug we will not be using the debug version in this tutorial.</li>
<li>Set the MCU type and frequency for your Arduino board. For example, for the Diecimila, use <strong>ATmega168 </strong>running at <strong>16000000 </strong>Hz. For new versions of the Duemilanove, use <strong>ATmega328P</strong> running at <strong>16000000 </strong>Hz. If you look closely at the Arduino board, you can see the target platform written on the main processor. Click Finish.</li>
<li>In Eclipse, click <strong>Project =</strong>&gt; <strong>Properties</strong>.</li>
<li>Select C/C++ Build and expand the category (e.g., click the diamond to the left of &#8220;C/C++ Build&#8221;).</li>
<li>Select <strong>Settings </strong>under <strong>C/C++ Build</strong>.</li>
<li>In the right pane, Click Additional Tools in Toolchain
<ul>
<li>Check <strong>Generate HEX file for flash memory </strong></li>
<li>Check <strong>Print size </strong></li>
</ul>
</li>
<li>In the right pane, Click <strong>AVR Compiler</strong>
<ul>
<li>Debugging. Set <strong>Generate Debugging Info</strong> to &#8220;No debugging info&#8221;.</li>
</ul>
<ul>
<li>Optimization. Set the <strong>Optimization Level</strong> to &#8220;Size Optimizations&#8221;.</li>
</ul>
<ul>
<li>Directories, Add the path to the Arduino IDE&#8217;s Hardware folder <em>&#8220;Arduino-0018\hardware\arduino\cores\arduino&#8221;</em></li>
</ul>
</li>
<li>In the right pane, Click <strong>AVR C++ Compiler</strong>
<ul>
<li>Debugging. Set <strong>Generate Debugging Info</strong> to &#8220;No debugging info&#8221;.</li>
</ul>
<ul>
<li>Optimization. Set the <strong>Optimization Level</strong> to &#8220;Size Optimizations&#8221;.</li>
</ul>
<ul>
<li>Directories, Add the path to the Arduino IDE&#8217;s Hardware folder <em>&#8220;Arduino-0018\hardware\arduino\cores\arduino&#8221;</em></li>
</ul>
</li>
<li>In the right pane, Click <strong>AVR C++ Linker</strong>
<ul>
<li><strong>Command</strong>: <em>avr-gcc</em></li>
<li><em><strong>Command line pattern</strong>: </em><em>${COMMAND} &#8211;cref -s -Os ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -lm ${FLAGS}</em></li>
</ul>
</li>
<li>In the right pane, Click <strong>AVR C++ Linker</strong> =&gt; <strong>Libraries </strong>
<ul>
<li>Add your Arduino library created above &#8220;<em>ArduinoCore</em>&#8220;, The name of the library does not include the extension or the pretext of &#8216;lib&#8217;.  Note: In this project I copied the library in to the base folder of the Blinky project for simplicity.</li>
</ul>
</li>
<li>Create a new source file,  <strong>File</strong> =&gt; <strong>New</strong> =&gt; <strong>Source file</strong>, Call it main.cpp</li>
<li>Copy the contents of this file <a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/main.txt">main.cpp</a> in to main.cpp</li>
<li>Build the project, On the mail dialog click the hammer in the too bar or by selecting <strong>Project </strong>=&gt;<strong>Build All</strong>.</li>
</ol>
<h3><span style="text-decoration: underline;">Uploading code to the Arduino</span></h3>
<p>Lucky there is already a tool for this built in to AVR plugin for Eclipse called <a href="http://savannah.nongnu.org/projects/avrdude/">AVRDude</a>. It should already be included with the AVR plugin for Eclipse so you shouldn&#8217;t have to download or install anything else.</p>
<ol>
<li>In Eclipse, click <strong>Project =</strong>&gt;<strong>Properties</strong>.</li>
<li>On the left hand side <strong>AVR</strong> =&gt; <strong>AVRDude </strong></li>
<li>You will need to create a new <em>programmer configuration</em> for your board but you only have to do this once.  Click <strong>New</strong></li>
<li><strong><span style="font-weight: normal;">New programmer configuration </span></strong>
<ul>
<li><strong>Configuration Name: </strong>Arduino Duemilanove</li>
</ul>
<ul>
<li><strong>Programmer Hardware<span style="font-weight: normal;">: Atmel STK500 Version 1.x Firmware</span></strong></li>
</ul>
<ul>
<li><strong><span style="font-weight: normal;">Override default port</span><span style="font-weight: normal;">: <em>//./COM14<br />
<span style="font-style: normal;">Note:  you will have to change this to your comport.) </span></em></span></strong></li>
<li><strong><span style="font-weight: normal;"><em><span style="font-style: normal;"><strong><span style="font-weight: normal;">Override default baudrate</span><span style="font-weight: normal;">: 57600</span></strong></span></em></span></strong></li>
</ul>
</li>
<li>Click OK,</li>
<li>On the AVRDude dialog select <strong>Advanced</strong></li>
<li>Check &#8220;Disable Device signature check&#8221; and click OK</li>
<li>Highlight Blinky in the project explorer and click <strong>AVR</strong> =&gt; <strong>Upload to target device</strong> or the AVR icon with the green downward arrow.<br />
<a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/AVRDude_upload.png"><img class="aligncenter size-full wp-image-606" title="AVRDude_upload" src="http://www.chipkin.com/articles/wp-content/uploads/2010/03/AVRDude_upload.png" alt="" width="532" height="381" /></a></li>
<li><strong><span style="font-weight: normal;">The results will be printed in the console. </span></strong></li>
</ol>
<blockquote><p>Launching C:\Dev\WinAVR-20100110\bin\avrdude -pm16 -cstk500v1 -P//./COM14 -b57600 -F -Uflash:w:Blinky.hex:a<br />
Output:</p>
<p>avrdude: AVR device initialized and ready to accept instructions</p>
<p>Reading | ################################################## | 100% 0.05s</p>
<p>avrdude: Device signature = 0&#215;1e950f<br />
avrdude: Expected signature for ATMEGA16 is 1E 94 03<br />
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed<br />
To disable this feature, specify the -D option.<br />
avrdude: erasing chip<br />
avrdude: reading input file &#8220;Blinky.hex&#8221;<br />
avrdude: input file Blinky.hex auto detected as Intel Hex<br />
avrdude: writing flash (1158 bytes):</p>
<p>Writing | ################################################## | 100% 0.61s</p>
<p>avrdude: 1158 bytes of flash written<br />
avrdude: verifying flash memory against Blinky.hex:<br />
avrdude: load data flash data from input file Blinky.hex:<br />
avrdude: input file Blinky.hex auto detected as Intel Hex<br />
avrdude: input file Blinky.hex contains 1158 bytes<br />
avrdude: reading on-chip flash data:</p>
<p>Reading | ################################################## | 100% 0.52s</p>
<p>avrdude: verifying &#8230;<br />
avrdude: 1158 bytes of flash verified</p>
<p>avrdude done.  Thank you.</p></blockquote>
<p>Congratulation you have uploaded your source code to the Arduino.</p>
<h3><span style="text-decoration: underline;">FAQ</span></h3>
<p><strong>Q: </strong>I keep getting this error message when I upload code with AVRDude to the Arduino.</p>
<blockquote><p>avrdude: stk500_getsync(): not in sync: resp=0&#215;00<br />
avrdude done.  Thank you.</p></blockquote>
<p><strong>A:</strong> Disconnect and reconnect your Arduino and try again</p>
<h3><strong><span style="text-decoration: underline;">More help</span></strong></h3>
<p>For more help with setting up Eclipse to work with Arduino see these two posts on the subject</p>
<ul>
<li><a href="http://robertcarlsen.net/2009/10/31/arduino-in-eclipse-989">Arduino in Eclipse</a></li>
<li><a href="http://www.arduino.cc/playground/Code/Eclipse">Arduino playground: Eclipse</a></li>
</ul>
<p>If you have any other questions or suggestion on how to improve this article, please leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/using-eclipse-with-arduino-duemilanove/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CAS BACnet Explorer USB/Software activation problems</title>
		<link>http://www.chipkin.com/articles/cas-bacnet-explorer-usbsoftware-activation-problems</link>
		<comments>http://www.chipkin.com/articles/cas-bacnet-explorer-usbsoftware-activation-problems#comments</comments>
		<pubDate>Thu, 04 Mar 2010 18:26:52 +0000</pubDate>
		<dc:creator>Steven Smethurst</dc:creator>
				<category><![CDATA[BACnet]]></category>
		<category><![CDATA[Utilities and tools]]></category>
		<category><![CDATA[Activation]]></category>
		<category><![CDATA[CAS BACnet Explorer]]></category>
		<category><![CDATA[explorer]]></category>
		<category><![CDATA[FAQ]]></category>
		<category><![CDATA[problems]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[USB key]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=578</guid>
		<description><![CDATA[Some common problems with activating CAS BACnet Explorer with the USB or Software product keys. This article is based off of CAS BACnet Explorer v2.01aH
Software product key
Err #3: invalid product key. Please request a new product key 

The software key is long and complicated, do not try and type it in manually. Instead you should copy [...]]]></description>
			<content:encoded><![CDATA[<p>Some common problems with activating <a href="http://www.chipkin.com/cas-bacnet-explorer">CAS BACnet Explorer</a> with the USB or Software product keys. This article is based off of CAS BACnet Explorer v2.01aH</p>
<h2><span style="text-decoration: underline;">Software product key</span></h2>
<p><strong>Err #3: invalid product key. Please request a new product key </strong></p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/CASBACnetExplorer_ERR03.png"><img class="alignnone size-full wp-image-580" title="CASBACnetExplorer_ERR03" src="http://www.chipkin.com/articles/wp-content/uploads/2010/03/CASBACnetExplorer_ERR03.png" alt="" width="440" height="169" /></a></p>
<p>The software key is long and complicated, do not try and type it in manually. Instead you should copy and past it in to the licence dialog from your email. It should be all capital letters and numbers. no spaces, no special characters, or line brakes. If you copied the product key incorrectly you will get an error message dialog like this.</p>
<p>Try again to copy the product key from your email, ensure that you copy it exactly with no spaces or line feeds.  If this error message continues then contact support.</p>
<p><strong>Err #5: this Key is not for this user. check the email address and try again. </strong></p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/CASBACnetExplorer_ERR05.png"><img class="alignnone size-full wp-image-581" title="CASBACnetExplorer_ERR05" src="http://www.chipkin.com/articles/wp-content/uploads/2010/03/CASBACnetExplorer_ERR05.png" alt="" width="473" height="169" /></a></p>
<p>The software product key is tied to your email address. You must use the same email address that you use to request the product key from to activate the product key.</p>
<p><strong>Err #9: Invalid product key. Please request a new product key </strong></p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/CASBACnetExplorer_ERR09.png"><img class="alignnone size-full wp-image-582" title="CASBACnetExplorer_ERR09" src="http://www.chipkin.com/articles/wp-content/uploads/2010/03/CASBACnetExplorer_ERR09.png" alt="Err #9: Invalid product key. Please request a new product key" width="440" height="169" /></a></p>
<p>This error message could be caused by a few different scenario.</p>
<ul>
<li>If you are try to activate an old product key that you have already used.</li>
<li>If  you are try to activate an product key that has expired</li>
</ul>
<p>Request a new product key from within CAS BACnet Explorer and attempt to activate CAS BACnet Explorer again.</p>
<p><strong>Err #11: This key is not for this computer</strong></p>
<p><img title="CASBACnetExplorer_ERR11" src="http://www.chipkin.com/articles/wp-content/uploads/2010/03/CASBACnetExplorer_ERR11.png" alt="Err #11: This key is not for this computer" width="331" height="169" /></p>
<p>The Software key is tied to the computers MAC address it was requested from. If you request a key from one computer and try to activate it on anther computer it will give you this error message.</p>
<p>You must request the key from within CAS BACnet explorer on the computer that you intended to use it on.</p>
<h2><span style="text-decoration: underline;">Hardware USB product key </span></h2>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/CASBACnetExplorer_ERR11.png"></a>The hardware USB product key resolves a lot of the problems and frustrations that are caused by the software product key.</p>
<p><strong>Do you have the correct activation key for CAS BACnet explorer?</strong></p>
<p>The product key should be semi transparent green with the words &#8220;ROCKEY4ND&#8221; written on the side of it. If your product key looks like something else it probably for a different product.</p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2010/03/pic_rockey4nd.gif"><img class="alignnone size-full wp-image-583" title="pic_rockey4nd" src="http://www.chipkin.com/articles/wp-content/uploads/2010/03/pic_rockey4nd.gif" alt="" width="130" height="105" /></a></p>
<p>When the USB key is plugged in correctly,  a green LED should illuminate in the end of the USB key.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/cas-bacnet-explorer-usbsoftware-activation-problems/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I reset CAS BACnet Explorers settings to the defaults</title>
		<link>http://www.chipkin.com/articles/how-do-i-reset-cas-bacnet-explorers-settings-to-the-defaults</link>
		<comments>http://www.chipkin.com/articles/how-do-i-reset-cas-bacnet-explorers-settings-to-the-defaults#comments</comments>
		<pubDate>Tue, 02 Mar 2010 08:01:49 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[BACnet]]></category>
		<category><![CDATA[Utilities and tools]]></category>
		<category><![CDATA[CAS BACnet Explorer]]></category>
		<category><![CDATA[FAQ]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=548</guid>
		<description><![CDATA[Question: How do I reset CAS BACnet Explorers settings to the defaults
Answer: 
Delete the settings.xml file found in your computers documents folder.
C:\Users\&#60;user&#62;\Documents\CAS BACnet Explorer\Settings.xml
The settings and debug files for CAS BACnet Explorer are saved in to your computers documents folder.

Settings.xml &#8211; This is the main settings file, Delete this file to reset CAS BACnet Explorer [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Question:</strong> How do I reset <a href="http://www.chipkin.com/cas-bacnet-explorer">CAS BACnet Explorers</a> settings to the defaults</p>
<p><strong>Answer: </strong></p>
<p>Delete the settings.xml file found in your computers documents folder.</p>
<blockquote><p>C:\Users\<em>&lt;user&gt;</em>\Documents\CAS BACnet Explorer\Settings.xml</p></blockquote>
<p>The settings and debug files for <a href="http://www.chipkin.com/cas-bacnet-explorer">CAS BACnet Explorer</a> are saved in to your computers documents folder.</p>
<ul>
<li><strong>Settings.xml &#8211; </strong>This is the main settings file, Delete this file to reset CAS BACnet Explorer back to defaults.</li>
<li><strong>Debuglog.txt </strong>- This files contains debug and running information that is useful when tracking down bugs in CAS BACnet Explorer. This file is cleared every time the CAS BACnet Explorer is launched.</li>
<li><strong>mstp_log.txt</strong> &#8211; This file contains the most recent session of MSTP traffic. This file will only be available if the last session had BACnet MSTP enabled. This file is cleared every time the CAS BACnet Explorer is launched.</li>
<li><strong>packets.pkt </strong>- This file contains the most recent session of Ethernet/IP traffic. This file will only be available if the last session had BACnet IP or BACnet MSTP enabled. This file is cleared every time the CAS BACnet Explorer is launched.</li>
<li><strong>dump.txt</strong> &#8211; This file contains a TEXT version of the BACnet tree from your last session. This file is overwritten at the end of every session.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/how-do-i-reset-cas-bacnet-explorers-settings-to-the-defaults/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful tools and applications for Modbus</title>
		<link>http://www.chipkin.com/articles/useful-tools-and-applications-for-modbus</link>
		<comments>http://www.chipkin.com/articles/useful-tools-and-applications-for-modbus#comments</comments>
		<pubDate>Mon, 01 Mar 2010 08:00:47 +0000</pubDate>
		<dc:creator>cpascu</dc:creator>
				<category><![CDATA[Modbus]]></category>
		<category><![CDATA[RS485]]></category>
		<category><![CDATA[Utilities and tools]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[ascii]]></category>
		<category><![CDATA[excellent]]></category>
		<category><![CDATA[explorer]]></category>
		<category><![CDATA[good]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[message]]></category>
		<category><![CDATA[modhopper]]></category>
		<category><![CDATA[parser]]></category>
		<category><![CDATA[programs]]></category>
		<category><![CDATA[RS232]]></category>
		<category><![CDATA[rtu]]></category>
		<category><![CDATA[scanner]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[TCP]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[useful]]></category>
		<category><![CDATA[wireshark]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=526</guid>
		<description><![CDATA[Here&#8217;s a useful list of tools to use with Modbus devices:

CAS Modbus Scanner (download)

Allows us to retrieve coils, inputs, holding registers, and input registers from a Modbus enabled device.


Modbus RTU Parser (download)

Allows us to analyze an RTU message and see what type of message it is, if there are any errors, what device the message [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a useful list of tools to use with Modbus devices:</p>
<ul>
<li><b>CAS Modbus Scanner</b> (<a href="http://www.chipkin.com/cas-modbus-scanner">download</a>)
<ul>
<li>Allows us to retrieve coils, inputs, holding registers, and input registers from a Modbus enabled device.</li>
</ul>
</li>
<li><b>Modbus RTU Parser</b> (<a href="http://www.chipkin.com/cas-modbus-rtu-parser/">download</a>)
<ul>
<li>Allows us to analyze an RTU message and see what type of message it is, if there are any errors, what device the message came from, etc&#8230;</li>
</ul>
</li>
<li><b>Modbus TCP Parser </b>(<a href="http://www.chipkin.com/cas-modbus-tcp-parser">download</a>)
<ul>
<li>Allows us to analyze an TCP message and see what type of message it is, if there are any errors, what device the message came from, etc&#8230;</li>
</ul>
</li>
<li><b>Wireshark </b>(<a href="http://www.wireshark.org/">homepage</a>)
<ul>
<li>Used for capturing Modbus TCP messages coming through the ethernet port.</li>
<li>A full list of the captured data can be found <a href="http://www.wireshark.org/docs/dfref/m/mbtcp.html">here</a>.</li>
</ul>
</li>
<li><b>Modbus Specification</b> (<a href="http://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b.pdf">pdf</a>)
<ul>
<li>Official specification of the Modbus Application Protocol</li>
</ul>
</li>
<li><b>Nerds In Control </b>(<a href="http://www.control.com/">homepage</a>)
<ul>
<li>Very useful community website for automation professionals.</li>
<li>An excellent place to ask for Modbus help or help others with their Modbus problems.</li>
</ul>
</li>
<li><b>Modbus Simulator </b>(<a href="http://sourceforge.net/projects/modrssim/">download</a>)
<ul>
<li>Used for simulating a Modbus server for testing and learning purposes.</li>
</ul>
</li>
<li><b>Simply Modbus </b>(<a href="http://www.simplymodbus.ca/download.htm">download</a>)
<ul>
<li>Good Modbus TCP and RTU software, an alternative to our CAS Modbus Explorer and Scanner.</li>
<li>Website provides good tutorials on Modbus.</li>
</ul>
</li>
<li><b>Capturing with serial connections </b>(<a href="">tutorial</a>)
<ul>
<li>How to capture Modbus messages with a serial connection using free tools like PuTTY.</li>
</ul>
</li>
<li><b>Modhopper </b>(<a href="http://www.chipkin.com/modhopper-wireless-modbus">info</a>)
<ul>
<li>Allows connecting up to 128 Modbus devices through wifi to any Modbus network.</li>
</ul>
</li>
<p><i>Feel free to suggest other tools that you find useful and I will add them to the list.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/useful-tools-and-applications-for-modbus/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broadcast traffic is being blocked on my network, Can I still use CAS BACnet Explorer?</title>
		<link>http://www.chipkin.com/articles/broadcast-traffic-is-being-blocked-on-my-network-can-i-still-use-cas-bacnet-explorer</link>
		<comments>http://www.chipkin.com/articles/broadcast-traffic-is-being-blocked-on-my-network-can-i-still-use-cas-bacnet-explorer#comments</comments>
		<pubDate>Tue, 23 Feb 2010 23:34:53 +0000</pubDate>
		<dc:creator>cpascu</dc:creator>
				<category><![CDATA[BACnet]]></category>
		<category><![CDATA[bbmd]]></category>
		<category><![CDATA[broadcast]]></category>
		<category><![CDATA[CAS BACnet Explorer]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=542</guid>
		<description><![CDATA[Question: Broadcast traffic is being blocked on my network, Can I still use CAS BACnet Explorer?
Answer:
Yes, but with some restrictions.
The BACnet discovery uses two services – called ‘Who-Is’ and ‘I-Am’ these messages rely on the use of broadcasts. Without the ability to send broadcast messages on a network, CAS BACnet Explorer will not be able to do the initial discovery of [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Question:</strong> <a href="http://en.wikipedia.org/wiki/Broadcasting_(computing)">Broadcast </a>traffic is being blocked on my network, Can I still use <a href="http://www.chipkin.com/cas-bacnet-explorer">CAS BACnet Explorer</a>?</p>
<p><strong>Answer:</strong></p>
<p>Yes, but with some restrictions.</p>
<p>The BACnet discovery uses two services – called ‘Who-Is’ and ‘I-Am’ these messages rely on the use of broadcasts. Without the ability to send broadcast messages on a network, CAS BACnet Explorer will not be able to do the initial discovery of objects.</p>
<p>Once a device or objects has been added to CAS BACnet Explorer it no longer uses broadcasts messages to communicate with it. You should be able to poll a device for its object list and read/write its objects properties.</p>
<p>You can add BACnet objects and devices to CAS BACnet Explorer manually from the discover dialog.  You will need to know some of the devices settings. Network type, IP/MAC address, network, Device instance, Object type, Object identifier.</p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2010/02/manually-add-objects.png"><img class="aligncenter size-medium wp-image-543" title="manually add objects" src="http://www.chipkin.com/articles/wp-content/uploads/2010/02/manually-add-objects-272x300.png" alt="" width="272" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/broadcast-traffic-is-being-blocked-on-my-network-can-i-still-use-cas-bacnet-explorer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLite vs mySQL (short summary)</title>
		<link>http://www.chipkin.com/articles/sqlite-vs-mysql-short-summary</link>
		<comments>http://www.chipkin.com/articles/sqlite-vs-mysql-short-summary#comments</comments>
		<pubDate>Mon, 22 Feb 2010 08:00:07 +0000</pubDate>
		<dc:creator>cpascu</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Utilities and tools]]></category>
		<category><![CDATA[db]]></category>
		<category><![CDATA[dbms]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[protable]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlite]]></category>
		<category><![CDATA[sqllite]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[versus]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=513</guid>
		<description><![CDATA[If you&#8217;re trying to decide between SQLite and mySQL (which one to use as your DBMS), you must first figure out what you need. These few simple questions should point you in the right direction:

Do you have a storage space limit?

The SQLite library is a mere 250kb, which is perfect for most embeded devices that [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re trying to decide between SQLite and mySQL (which one to use as your DBMS), you must first figure out what you need. These few simple questions should point you in the right direction:</p>
<ul>
<li><b>Do you have a storage space limit?</b>
<ul>
<li>The SQLite library is a mere 250kb, which is perfect for most embeded devices that don&#8217;t come with very much storage space.</li>
</ul>
</li>
<li>
<b>Do you need the database to be portable?</b></p>
<ul>
<li>SQLite stores the database directly into a single file, which can be simply copied or moved.</li>
<li>mySQL has an export feature which lets you back the database into a single file. mySQL uses its own format for storing data so the content can&#8217;t be moved or viewed by other DMBSs. Only after the database is exported will it be portable. Depending on how large the database is, this could be time consuming.</li>
</ul>
</li>
<li>
<b>Do you need security or authentication for your database?</b></p>
<ul>
<li>SQLite does not provide an authentication system. You can add one within your application, however the database file itself can be updated/read by anyone.</li>
<li>mySQL requires a username and password to make any kind of changes to the database.</li>
</ul>
</li>
<li>
<b>How large will your database get in the future?</b></p>
<ul>
<li>SQLite requires too much memory to run if the database is over 1GB in size (256 bytes of RAM for each MB of database space).</li>
<li>mySQL can have a maximum database size of 4GB.</li>
</ul>
</li>
<li><b>Will the database be accessed multiple times simultaneously?</b>
<ul>
<li>SQLite does not handle multiple simultaneous queries well. All read operations have priority over the write operations. There is a small delay caused by this since the operations must wait their turn, which could become a problem if there are large numbers of simultaneous queries.</li>
<li>mySQL has a query mechanism which handles mutiple query operations very well.</li>
</ul>
</li>
</ul>
<p>Hopefully your basic doubts about SQLite and mySQL have now been answered.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/sqlite-vs-mysql-short-summary/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
