<?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>Steve's Junk &#187; freebasic</title>
	<atom:link href="http://smackaay.com/tag/freebasic/feed/" rel="self" type="application/rss+xml" />
	<link>http://smackaay.com</link>
	<description>A showcase of Steven Mackaay's stuff</description>
	<lastBuildDate>Sun, 11 Mar 2012 20:11:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>3 point quadratic regression formula</title>
		<link>http://smackaay.com/2009/04/29/3-point-quadratic-regression-formula/</link>
		<comments>http://smackaay.com/2009/04/29/3-point-quadratic-regression-formula/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 22:01:05 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[3 point]]></category>
		<category><![CDATA[cubic]]></category>
		<category><![CDATA[data set]]></category>
		<category><![CDATA[freebasic]]></category>
		<category><![CDATA[in-process]]></category>
		<category><![CDATA[inverse]]></category>
		<category><![CDATA[quadratic]]></category>
		<category><![CDATA[regression]]></category>
		<category><![CDATA[Stormer]]></category>
		<category><![CDATA[viscometer]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=572</guid>
		<description><![CDATA[While developing the in-process stormer viscometer, one of my goals is to allow the end user to calibrate the device with 3 fluids of known viscosity. With a bit of help from mathematica, I&#8217;ve found the formula and for whoever wants it, it&#8217;s posted, also for my own future edification. This formula is meant to [...]]]></description>
			<content:encoded><![CDATA[<p>While developing the in-process stormer viscometer, one of my goals is to allow the end user to calibrate the device with 3 fluids of known viscosity. With a bit of help from mathematica, I&#8217;ve found the formula and for whoever wants it, it&#8217;s posted, also for my own future edification. This formula is meant to convert 3 data points of the form {X1,Y1},{X2,Y2},{X3,Y3} into a form of ax^2+bx+c=y. This is probably the fastest way to do this kind of operation on a microcontroller. Here&#8217;s an image of the formula</p>
<div id="attachment_573" class="wp-caption aligncenter" style="width: 510px"><a href="http://smackaay.com/wp-content/uploads/2009/04/formula1.png"><img src="http://smackaay.com/wp-content/uploads/2009/04/formula1-500x113.png" alt="Reverse Quadratic from data" title="Reverse Quadratic from data" width="500" height="113" class="size-medium wp-image-573" /></a><p class="wp-caption-text">Reverse Quadratic from data</p></div>
<p>also, here&#8217;s a dirty FreeBasic program using it. <a href='http://smackaay.com/wp-content/uploads/2009/04/regress-3point.bas'>regress-3point.bas</a></p>
<p>Also, for fun I decided to do a cubic version. This is in the form of 4 data points {X1,Y1},{X2,Y2},&#8230; converting to ax^3+bx^2+cx+d=y</p>
<div id="attachment_575" class="wp-caption aligncenter" style="width: 510px"><a href="http://smackaay.com/wp-content/uploads/2009/04/formula2.png"><img src="http://smackaay.com/wp-content/uploads/2009/04/formula2-500x235.png" alt="Cubic equation inverse" title="Cubic equation inverse" width="500" height="235" class="size-medium wp-image-575" /></a><p class="wp-caption-text">Cubic equation inverse</p></div>
<p>You gotta love Mathematica!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2009/04/29/3-point-quadratic-regression-formula/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Temperature and light, several days</title>
		<link>http://smackaay.com/2009/01/21/temperature-and-light-several-days/</link>
		<comments>http://smackaay.com/2009/01/21/temperature-and-light-several-days/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 02:41:24 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[freebasic]]></category>
		<category><![CDATA[graphing]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[temperature]]></category>
		<category><![CDATA[tracking]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=431</guid>
		<description><![CDATA[Well, It&#8217;s been a number of days since I built the unit and all&#8217;s been tested. Here is a picture of some of the data from my living room over the past several days. The purplish is the temperature and the lighter one is the ambient light. You can see that as the light levels [...]]]></description>
			<content:encoded><![CDATA[<p>Well, It&#8217;s been a number of days since I built the unit and all&#8217;s been tested. Here is a picture of some of the data from my living room over the past several days. The purplish is the temperature and the lighter one is the ambient light. You can see that as the light levels get higher, the furnace stops, thus the temperature stops fluctuating.</p>
<p><center><br />
<div id="attachment_432" class="wp-caption aligncenter" style="width: 399px"><a href="http://smackaay.com/2009/01/21/temperature-and-light-several-days/livingroom2/" rel="attachment wp-att-432"><img src="http://smackaay.com/wp-content/uploads/2009/01/livingroom2-389x300.png" alt="The living room temperature as seen over 6 days" title="Livingroom temperature" width="389" height="300" class="size-medium wp-image-432" /></a><p class="wp-caption-text">The living room temperature as seen over 6 days</p></div></center></p>
<p>Sorry about the small scale of the temperature graph, the graphing program is still a work in progress.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2009/01/21/temperature-and-light-several-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Graphing program and viscometer proceeding apace</title>
		<link>http://smackaay.com/2008/11/19/graphing-program-and-viscometer-proceeding-apace/</link>
		<comments>http://smackaay.com/2008/11/19/graphing-program-and-viscometer-proceeding-apace/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 20:50:40 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Other/misc]]></category>
		<category><![CDATA[freebasic]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[graphing]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[Stormer viscometer]]></category>
		<category><![CDATA[viscometer]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=257</guid>
		<description><![CDATA[Well, things are proceeding apace as far as the viscometer is concerned. Unfortunately, the motor is just too non-linear to serve as a useful measuring device. God I&#8217;m dumb! Anyways, my graph-it program is working ok now and producing some useful graphs. I have programmed the save and load features and they seem to work [...]]]></description>
			<content:encoded><![CDATA[<p>Well, things are proceeding apace as far as the viscometer is concerned. Unfortunately, the motor is just too non-linear to serve as a useful measuring device. God I&#8217;m dumb!</p>
<p>Anyways, my graph-it program is working ok now and producing some useful graphs. I have programmed the save and load features and they seem to work just fine! It will eventually allow for a variety of data analysis techniques.</p>
<p>Here&#8217;s a picture of the linearity, or lack thereof.</p>
<div id="attachment_258" class="wp-caption alignnone" style="width: 399px"><a href="http://smackaay.com/wp-content/uploads/2008/11/linearity2.gif"><img class="size-medium wp-image-258" title="Reciprocal of motor linearity" src="http://smackaay.com/wp-content/uploads/2008/11/linearity2-389x300.gif" alt="Reciprocal of motor linearity" width="389" height="300" /></a><p class="wp-caption-text">Reciprocal of motor linearity</p></div>
<p>The blue at the bottom represents the overall error , the pinkish is the actual reciprocal of the tach values and the brown is the average of the tach values.</p>
<p>Hopefully I can get this working&#8230; Sigh!</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2008/11/19/graphing-program-and-viscometer-proceeding-apace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing a new graphing program</title>
		<link>http://smackaay.com/2008/11/12/writing-a-new-graphing-program/</link>
		<comments>http://smackaay.com/2008/11/12/writing-a-new-graphing-program/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 17:06:45 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[fbedit]]></category>
		<category><![CDATA[fbide]]></category>
		<category><![CDATA[freebasic]]></category>
		<category><![CDATA[graphing]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=240</guid>
		<description><![CDATA[Since I&#8217;m starting to take measurements based on time and value along with multiple data sets, I&#8217;ve decided that I need a new graphing program. This one will allow the use of multiple data sets and it will have save files to allow for easy recall of color settings and data parameters. Here are some [...]]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;m starting to take measurements based on time and value along with multiple data sets, I&#8217;ve decided that I need a new graphing program. This one will allow the use of multiple data sets and it will have save files to allow for easy recall of color settings and data parameters. Here are some of the features:</p>
<ul>
<li>Multiple data sets</li>
<li>Data sets will have options for coloring and graphing choices</li>
<li>New data sets can be derived from existing data sets</li>
<li>Data sets can be compared</li>
<li>More extensive stats will be used</li>
</ul>
<p>.</p>
<p>This will all be written in FreeBASIC. Why? Because I like it. Also because FBEdit kicks ass in relation to FBIDE.</p>
<p>Anyways, I&#8217;ll post incremental versions.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2008/11/12/writing-a-new-graphing-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

