Jump to content

Recommended Posts

Hi all. 

I'm looking at upgrading my Arduino controlled 2axis solar array. 

I have the Arduino controlling the panels with a few yearly adjustments manually changed. 

I'd like to upgrade the system to a Jazz if possible as we have played around with them a bit before and Unitronics hardware is more robust. We have a JZ10-11-R31

Question is 

I have an algorithm the tells me the  position of the sun using a RTC which outputs Altitude and Azimuth and the array goes to that point, how do I go about using complex math like this in U90. ie sin, cos, tan? 

Can I import a C+ formula to use? 

Or do you know of someone who has done similar? 

Any help much appreciated

Share this post


Link to post
Share on other sites

I might be wrong, but I don't think you can do maths like sin etc on the Jazz.  You'll need to go up to a V130 or Samba, and use the Formula function under Math.  It will then be a case of simply translating the formula into the one function, or a few of them, depending on how it works out.

Aus

Share this post


Link to post
Share on other sites

Don't forget to allow for daylight saving in the RTC references!  We all know how that extra hour of sunlight makes our curtains fade faster, railway lines buckle, cows stop making milk, grass & forest dries out quicker, solar arrays put out more power, wind turbines spin quicker, people with dopey brains show even more stupidity etc.

ps  I was joking, in case it isn't obvious!   cheers,  Aus

 

Share this post


Link to post
Share on other sites

Yes we have allowed for that in the Arduino code and it does make a difference. Up to 13 degrees of lag during solar noon which equates to about 22 percent losses. So we are all over that. Although after many test runs and much deliberation between liked minded individuals we have now calculated a solution for dopey brains during daylight savings times, which is duct tape. 

 

It doesn't fix stupid but it sure does muffle the sound

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×