<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for CerebralMeltdown.com</title>
	<atom:link href="http://www.cerebralmeltdown.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cerebralmeltdown.com</link>
	<description></description>
	<lastBuildDate>Sat, 18 Feb 2012 13:28:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Comment on Open Source Arduino Sun Tracking/Heliostat Program by Gabriel Miller</title>
		<link>http://www.cerebralmeltdown.com/2011/05/30/open-source-arduino-sun-trackingheliostat-program/#comment-6908</link>
		<dc:creator>Gabriel Miller</dc:creator>
		<pubDate>Sat, 18 Feb 2012 13:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.cerebralmeltdown.com/?p=2866#comment-6908</guid>
		<description>Oh, well in that case you will need the linear actuator calculations. The movement is not a &quot;linear change&quot; when linear actuators are involved since the linear motion of the actuator has to be translated to an angle.</description>
		<content:encoded><![CDATA[<p>Oh, well in that case you will need the linear actuator calculations. The movement is not a &#8220;linear change&#8221; when linear actuators are involved since the linear motion of the actuator has to be translated to an angle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Source Arduino Sun Tracking/Heliostat Program by Bill Kichman</title>
		<link>http://www.cerebralmeltdown.com/2011/05/30/open-source-arduino-sun-trackingheliostat-program/#comment-6903</link>
		<dc:creator>Bill Kichman</dc:creator>
		<pubDate>Sat, 18 Feb 2012 05:11:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.cerebralmeltdown.com/?p=2866#comment-6903</guid>
		<description>The vertical axis IS a linear actuator, acting at an angle. Don&#039;t know whether the movement creates a linear change along with the linear motion variable, that&#039;s why I asked....</description>
		<content:encoded><![CDATA[<p>The vertical axis IS a linear actuator, acting at an angle. Don&#8217;t know whether the movement creates a linear change along with the linear motion variable, that&#8217;s why I asked&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Source Arduino Sun Tracking/Heliostat Program by Gabriel Miller</title>
		<link>http://www.cerebralmeltdown.com/2011/05/30/open-source-arduino-sun-trackingheliostat-program/#comment-6900</link>
		<dc:creator>Gabriel Miller</dc:creator>
		<pubDate>Sat, 18 Feb 2012 03:10:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.cerebralmeltdown.com/?p=2866#comment-6900</guid>
		<description>If your machine doesn&#039;t use linear actuators for its pan and tilt, then no, you don&#039;t really need the leadscrew calcs. Of course, it won&#039;t hurt anything to leave them there. If you don&#039;t have them turned on in the settings, the code won&#039;t even be uploaded to the Arduino, so it won&#039;t take up unnecessary space if that&#039;s what you are worried about. It&#039;s entirely up to you I guess. :)</description>
		<content:encoded><![CDATA[<p>If your machine doesn&#8217;t use linear actuators for its pan and tilt, then no, you don&#8217;t really need the leadscrew calcs. Of course, it won&#8217;t hurt anything to leave them there. If you don&#8217;t have them turned on in the settings, the code won&#8217;t even be uploaded to the Arduino, so it won&#8217;t take up unnecessary space if that&#8217;s what you are worried about. It&#8217;s entirely up to you I guess. <img src='http://www.cerebralmeltdown.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Source Arduino Sun Tracking/Heliostat Program by Gabriel Miller</title>
		<link>http://www.cerebralmeltdown.com/2011/05/30/open-source-arduino-sun-trackingheliostat-program/#comment-6899</link>
		<dc:creator>Gabriel Miller</dc:creator>
		<pubDate>Sat, 18 Feb 2012 03:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.cerebralmeltdown.com/?p=2866#comment-6899</guid>
		<description>I have found the output to always be within a degree. There is more info about this on this page of the forums, reply #69. http://cerebralmeltdown.com/forum/index.php?topic=293.60</description>
		<content:encoded><![CDATA[<p>I have found the output to always be within a degree. There is more info about this on this page of the forums, reply #69. <a href="http://cerebralmeltdown.com/forum/index.php?topic=293.60" rel="nofollow">http://cerebralmeltdown.com/forum/index.php?topic=293.60</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Source Arduino Sun Tracking/Heliostat Program by Bill Kichman</title>
		<link>http://www.cerebralmeltdown.com/2011/05/30/open-source-arduino-sun-trackingheliostat-program/#comment-6884</link>
		<dc:creator>Bill Kichman</dc:creator>
		<pubDate>Fri, 17 Feb 2012 05:16:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.cerebralmeltdown.com/?p=2866#comment-6884</guid>
		<description>Wait, just thought of something. Can I scrap all the leadscrew calcs, I mean are the move motor variables linear, coming from the solar position calc, can i just covert a variable to a motor on timed event or is there some trig still involved?</description>
		<content:encoded><![CDATA[<p>Wait, just thought of something. Can I scrap all the leadscrew calcs, I mean are the move motor variables linear, coming from the solar position calc, can i just covert a variable to a motor on timed event or is there some trig still involved?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Source Arduino Sun Tracking/Heliostat Program by Bill Kichman</title>
		<link>http://www.cerebralmeltdown.com/2011/05/30/open-source-arduino-sun-trackingheliostat-program/#comment-6882</link>
		<dc:creator>Bill Kichman</dc:creator>
		<pubDate>Fri, 17 Feb 2012 05:05:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.cerebralmeltdown.com/?p=2866#comment-6882</guid>
		<description>It&#039;s making more sense now.  Looking at this, despite my newness to programming, it actually looks like a small and easy application.  Limit switches, timed motor relay outputs, and a solar core position calculator.
Oh, and an RTC. I am using the DP8573, which needs a ton of port pins (16) but I have a ton of them so might as well use them, a MEGA has plenty of spare IO pins anyhow. And setting up a graphics display since I have a bunch of surplus units, might as well boilerplate them for future projects.  Can you tell me the approximate accuracy you cna get with your calculations in positioning, using your simplified lookup table?  I mean can I expect a degree or 2 accuracy during the day if I get the motor movement distances correct overall?</description>
		<content:encoded><![CDATA[<p>It&#8217;s making more sense now.  Looking at this, despite my newness to programming, it actually looks like a small and easy application.  Limit switches, timed motor relay outputs, and a solar core position calculator.<br />
Oh, and an RTC. I am using the DP8573, which needs a ton of port pins (16) but I have a ton of them so might as well use them, a MEGA has plenty of spare IO pins anyhow. And setting up a graphics display since I have a bunch of surplus units, might as well boilerplate them for future projects.  Can you tell me the approximate accuracy you cna get with your calculations in positioning, using your simplified lookup table?  I mean can I expect a degree or 2 accuracy during the day if I get the motor movement distances correct overall?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Source Arduino Sun Tracking/Heliostat Program by Gabriel Miller</title>
		<link>http://www.cerebralmeltdown.com/2011/05/30/open-source-arduino-sun-trackingheliostat-program/#comment-6877</link>
		<dc:creator>Gabriel Miller</dc:creator>
		<pubDate>Thu, 16 Feb 2012 22:39:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.cerebralmeltdown.com/?p=2866#comment-6877</guid>
		<description>In general, the programs your write from scratch don&#039;t have to be in the library folder. It&#039;s only if you want to access code from anywhere on your computer or from multiple different programs that putting it in the library folder makes the most sense.

Files with ending in .h or .cpp need to be in the library folder while files ending in .pde ( or .ino for Arduino IDE 1.0 and beyond) can be opened from anywhere on your computer. If you can&#039;t see these extension, do a quick search for &quot;How to turn on file extensions&quot; so that you can view them on your computer.

You can have multiple sketch files that are all just part of one larger program, which is how I have it set up with the sun tracker program. In my case, the multiple sketch files were just the result of me organizing program using the &quot;new tab&quot; feature in the Arduino IDE.</description>
		<content:encoded><![CDATA[<p>In general, the programs your write from scratch don&#8217;t have to be in the library folder. It&#8217;s only if you want to access code from anywhere on your computer or from multiple different programs that putting it in the library folder makes the most sense.</p>
<p>Files with ending in .h or .cpp need to be in the library folder while files ending in .pde ( or .ino for Arduino IDE 1.0 and beyond) can be opened from anywhere on your computer. If you can&#8217;t see these extension, do a quick search for &#8220;How to turn on file extensions&#8221; so that you can view them on your computer.</p>
<p>You can have multiple sketch files that are all just part of one larger program, which is how I have it set up with the sun tracker program. In my case, the multiple sketch files were just the result of me organizing program using the &#8220;new tab&#8221; feature in the Arduino IDE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Source Arduino Sun Tracking/Heliostat Program by Bill Kichman</title>
		<link>http://www.cerebralmeltdown.com/2011/05/30/open-source-arduino-sun-trackingheliostat-program/#comment-6860</link>
		<dc:creator>Bill Kichman</dc:creator>
		<pubDate>Thu, 16 Feb 2012 01:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.cerebralmeltdown.com/?p=2866#comment-6860</guid>
		<description>Thanks for the reply.  Regarding files, I think i understand now, it isn;t clear how the Arduino IDE works (or doesn&#039;t).  I now know I need to put most of the example codes I find into the libraries subdirectory, and call them from there. Before I was dumping everything into a sketch directory for ease of use, and the IDE wasn.t finding them correctly, the compiler was stopping all over the place.  So am I correct that I am to put the entire project like for others, into its own subdirectory in the libraries folder, then set up a sketch to call the appropriate files...and insert references as appropriate?</description>
		<content:encoded><![CDATA[<p>Thanks for the reply.  Regarding files, I think i understand now, it isn;t clear how the Arduino IDE works (or doesn&#8217;t).  I now know I need to put most of the example codes I find into the libraries subdirectory, and call them from there. Before I was dumping everything into a sketch directory for ease of use, and the IDE wasn.t finding them correctly, the compiler was stopping all over the place.  So am I correct that I am to put the entire project like for others, into its own subdirectory in the libraries folder, then set up a sketch to call the appropriate files&#8230;and insert references as appropriate?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Source Arduino Sun Tracking/Heliostat Program by Gabriel Miller</title>
		<link>http://www.cerebralmeltdown.com/2011/05/30/open-source-arduino-sun-trackingheliostat-program/#comment-6841</link>
		<dc:creator>Gabriel Miller</dc:creator>
		<pubDate>Wed, 15 Feb 2012 01:29:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.cerebralmeltdown.com/?p=2866#comment-6841</guid>
		<description>It doesn&#039;t really matter which version you use in your case, but I would go with the one on this page just because there is a little less code to wade through. (Try to use the Arduino IDE 1.0 version if at all possible.)
http://www.cerebralmeltdown.com/2011/08/16/single-machine-sun-tracking-heliostat-electronics-set-up/#more-3063
Both versions are mostly identical, but there are slight differences because they are set up to be used with slightly different circuits.

The stepper.h library is built into the Arduino IDE, and the Adafruit library is something that only needs to be installed if you want to use the Adafruit driver board.

In your case, you could just comment out everything related to stepper motors since you aren&#039;t using them, or even just leave it in and don&#039;t use the pins, it doesn&#039;t really matter.

When you first downloaded the program, you should have had several different files inside the main Arduino_SunTracker folder. If they don&#039;t open automatically as a row of tabs at the top when you open just one of them, go ahead and click and open each one individually, and you can edit them from there. 

I am 98% percent certain that I left you a comment before on how you might do drive your motors, but it seems to have disappeared. Forgive me if I am repeating something that I already told you.

Anyway, I think the easiest way for you to accomplish what you want to do is to go to the top of the functions.pde tab/file and just go ahead and comment out everything inside of the moveToPosition() function. Then I think the easiest thing to do would be to turn the altsteps and azsteps variables into the the number of revolutions each motor needs to take.
Something like, altrev = altsteps/steps;, azrev=azsteps/steps;

Then you would somehow have to figure out how long it takes your DC motors to turn one revolution and then I guess just multiply that number by azrev or altrev, and you will have the amount of time the motor needs to stay on to move the specified distance.
Pseudo code might look something like this for one motor able to move one direction.

altrev=altsteps/steps;
onTime=altrev*timeForOneRevolution;
digitalWrite(altMotorClockwiseRelay, HIGH);
delay(onTime);
digitalWrite(altMotorClockwiseRelay, LOW);

I guess the findLimit function would also need to be edited too for your set up.

That&#039;s what I can think of so far. I&#039;d do it for you if I could, but I am very strapped for time right now. In any case, I don&#039;t have the same set up as you, so you would have to do all of the testing anyway.

It&#039;s probably going to take some finagling to get this to work, but I&#039;m sure that it would still more accurate than an optical system regardless.</description>
		<content:encoded><![CDATA[<p>It doesn&#8217;t really matter which version you use in your case, but I would go with the one on this page just because there is a little less code to wade through. (Try to use the Arduino IDE 1.0 version if at all possible.)<br />
<a href="http://www.cerebralmeltdown.com/2011/08/16/single-machine-sun-tracking-heliostat-electronics-set-up/#more-3063" rel="nofollow">http://www.cerebralmeltdown.com/2011/08/16/single-machine-sun-tracking-heliostat-electronics-set-up/#more-3063</a><br />
Both versions are mostly identical, but there are slight differences because they are set up to be used with slightly different circuits.</p>
<p>The stepper.h library is built into the Arduino IDE, and the Adafruit library is something that only needs to be installed if you want to use the Adafruit driver board.</p>
<p>In your case, you could just comment out everything related to stepper motors since you aren&#8217;t using them, or even just leave it in and don&#8217;t use the pins, it doesn&#8217;t really matter.</p>
<p>When you first downloaded the program, you should have had several different files inside the main Arduino_SunTracker folder. If they don&#8217;t open automatically as a row of tabs at the top when you open just one of them, go ahead and click and open each one individually, and you can edit them from there. </p>
<p>I am 98% percent certain that I left you a comment before on how you might do drive your motors, but it seems to have disappeared. Forgive me if I am repeating something that I already told you.</p>
<p>Anyway, I think the easiest way for you to accomplish what you want to do is to go to the top of the functions.pde tab/file and just go ahead and comment out everything inside of the moveToPosition() function. Then I think the easiest thing to do would be to turn the altsteps and azsteps variables into the the number of revolutions each motor needs to take.<br />
Something like, altrev = altsteps/steps;, azrev=azsteps/steps;</p>
<p>Then you would somehow have to figure out how long it takes your DC motors to turn one revolution and then I guess just multiply that number by azrev or altrev, and you will have the amount of time the motor needs to stay on to move the specified distance.<br />
Pseudo code might look something like this for one motor able to move one direction.</p>
<p>altrev=altsteps/steps;<br />
onTime=altrev*timeForOneRevolution;<br />
digitalWrite(altMotorClockwiseRelay, HIGH);<br />
delay(onTime);<br />
digitalWrite(altMotorClockwiseRelay, LOW);</p>
<p>I guess the findLimit function would also need to be edited too for your set up.</p>
<p>That&#8217;s what I can think of so far. I&#8217;d do it for you if I could, but I am very strapped for time right now. In any case, I don&#8217;t have the same set up as you, so you would have to do all of the testing anyway.</p>
<p>It&#8217;s probably going to take some finagling to get this to work, but I&#8217;m sure that it would still more accurate than an optical system regardless.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Source Arduino Sun Tracking/Heliostat Program by Bill K</title>
		<link>http://www.cerebralmeltdown.com/2011/05/30/open-source-arduino-sun-trackingheliostat-program/#comment-6832</link>
		<dc:creator>Bill K</dc:creator>
		<pubDate>Tue, 14 Feb 2012 15:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.cerebralmeltdown.com/?p=2866#comment-6832</guid>
		<description>Additionally I see references to MoveMachine, Machine on, etc...where are thee functions?  It appears you generated the .pde app as standalone, but at first glance there is lots missing?  Maybe I am missing something.</description>
		<content:encoded><![CDATA[<p>Additionally I see references to MoveMachine, Machine on, etc&#8230;where are thee functions?  It appears you generated the .pde app as standalone, but at first glance there is lots missing?  Maybe I am missing something.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

