Go Down

Topic: solar tracker using RTC (Read 10056 times) previous topic - next topic

rockwallaby

Quote
shashank wrote:
I am currently pursuing a solar tracker as a project for my final year of engineering...


I am amazed, if you are in your final year of engineering, I would have thought you would at least know how to better research yourself.
Please, we don't care to be treated as slaves here.
Provide help, yes, but doing the all the ground work for you is a bit much to ask in my opinion.

My thoughts.

AWOL

Quote
could you tell me if the above is working ?

I can't right now because I don't have my Due here, but it looks like it is doing all the right things.

Quote
Also how to use this with the SPA ?

Just plug the date and time values into the algorithm, as shown in the SPA test example.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

solar123

thank you very much.
and rockwallaby the only reason i asked is because i am new here and have no experience with arduino. i just wanted to be sure that it ll work before making the decision of buying the due.

aramsdell

Seems no one has much hope for a poor Uno or similar to handle the sun tracker algorithm.

I just recently got back to working on my own sun tracker project.  The mech mount has been finished for a year. The long ,cold, snowy winter has given me time to get back into the Arduino.  I have sucessfully modified the sun position algorithm to read time and dates from a DS1307 based RTC and have it on an UNO. Currently it only uses 13.5K I will be adding some interrupt code and library to it (another 5.5k i believe). I still need to add some basic operational code but I think I will be well short of 25K when finished.
 

odometer


Seems no one has much hope for a poor Uno or similar to handle the sun tracker algorithm


What algorithm? You don't need an algorithm.

Look at the picture at this link:
http://de.academic.ru/pictures/dewiki/69/Equatorial_sundial%2C_Botanical_Garden_%C5%81%C3%B3d%C5%BA.jpg
More info here:
http://www.wsanford.com/~wsanford/exo/sundials/equatorial_sundials.html

Look at carefully at the pictures of the sundials, and try thinking about this matter with your right brain.

dave-in-nj

you might want to compare your work with a guy has been doing this for some time

http://www.cerebralmeltdown.com/

he posts his arduino code.

by the way,   linear actuators are harder to use than belts and pulleys.
the movement using a linear actuator turns the control into a ellipse
using belts and pulleys like the folks controlling telescopes turns the control into a linear function.


purge98

Your best bet would be to trash the RTC and use a cheap GPS module. If your RTC suffers a power failure the clock will be incorrect. However if the GPS module is power cycled it will establish the time in UTC within seconds. 
UBLOX modules on eBay are now about $10.

el_supremo

Seeing as nobody has mentioned the sunpos code posted by Mowcius many moons ago, have a look at message #24 on this page: http://forum.arduino.cc/index.php?topic=22670.24

Pete
Don't send me technical questions via Private Message.

TomGeorge

Hi,


Quote
by the way,   linear actuators are harder to use than belts and pulleys.
the movement using a linear actuator turns the control into a ellipse
using belts and pulleys like the folks controlling telescopes turns the control into a linear function.
More reason to go light sensing, non linearities over come.
Everything runs on smoke, let the smoke out, it stops running....

Erica1989

Hi,

I am trying to build a solar tracker system for the first time both single axis and dual axis.

And I was wondering that what microcontroller / Audrino developement kit did you use? Plus can you share the code that used real time clock, azimuth and elevation angle to move the solar panels?

I used the following website to put together the Turth table

http://aa.usno.navy.mil/data/docs/AltAz.php

but unable to figure out that how to use this truth table to calculate how much should I tilt the solar panel.

Thanks
Erica

odometer

@Erica1989:

Research sundials, especially equatorial sundials.
If you learn how to construct and set up a sundial, you will be well on your way to setting up your project. The sundial doesn't have to be fancy: it can even be made out of thick paper, with a pencil inserted at the appropriate angle to cast the shadow.
A sundial uses the position of the sun to tell the time. You want to use the time to tell the position of the sun. The relevant concepts are essentially the same.

TomGeorge

Hi
Can I suggest you start your own thread, rather than drag out  a long thread that might not cover what you need.
Have you used the search window in the top of this page, right hand side.
try   solar tracker

Tom.... :)
Everything runs on smoke, let the smoke out, it stops running....

aarg

If your RTC suffers a power failure the clock will be incorrect. However if the GPS module is power cycled it will establish the time in UTC within seconds. 
UBLOX modules on eBay are now about $10.
Um, suffers a power failure? A fresh battery is good for several years. Even with a GPS you want some kind of RTC backup because a GPS seek can take as long as 15 minutes if the almanac is wiped.
  ... with a transistor and a large sum of money to spend ...
Please don't PM me with technical questions. Post them in the forum.

odometer

Um, suffers a power failure? A fresh battery is good for several years. Even with a GPS you want some kind of RTC backup because a GPS seek can take as long as 15 minutes if the almanac is wiped.
A GPS is almost certainly overkill.
Look at those sundials again.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy