Pages: 1 [2] 3 4   Go Down
Author Topic: solar tracker using RTC  (Read 5024 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 5
Posts: 113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Unless you really want to calc the sun's position, as suggested below, track the sun.
I would think that 4 LDRs would be cheaper than a RTC, the code smaller and as pointed out, accuracy is of no concern, it just tracks. Simpler still if you use a N/S mount as you only need 2 LDRs, and your single actuator. "darkness" is used to reset to the morning sun.

IDK, but tracking may also provide more power from reflected light in times of cloud cover as the sensor, being a heliotrope would point to the brightest part of the sky, not where it thinks the sun is.

[edit]in fact, at Nick Gammon pointed out, you don't need a constant sun location if using a simple N/S mount and single actuator! All  you need is (usable) sunrise and day length (1 byte would do, since you will not get 15hrs of usable sun) You may also have mountain/hill/building shadow to contend with . You may also need to adjust for apparent sun speed. You then move your actuator, starting at the correct time, at the correct speed for any day. Personally LDRs would be my choice - simples![/edit]
LDR Sealed type
Tracker
« Last Edit: February 15, 2013, 06:28:47 am by 0AlphaOmega » Logged

For whom does the clock pulse? It pulses for you!

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26530
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
, I wanna use only rtc, linear actuator  and arduino board  for the project.
See my reply about the Due.

sp. "want to"
Logged

"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.

DELHI
Offline Offline
God Member
*****
Karma: 8
Posts: 959
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

For LDR it require periodic maintenance. If dust has been accumulated it might no work. But using RTC i can say that it will be fine for working but problem will be degrade in angle and we cant keep feed back for control the action .








Unless you really want to calc the sun's position, as suggested below, track the sun.
I would think that 4 LDRs would be cheaper than a RTC, the code smaller and as pointed out, accuracy is of no concern, it just tracks. Simpler still if you use a N/S mount as you only need 2 LDRs, and your single actuator. "darkness" is used to reset to the morning sun.

IDK, but tracking may also provide more power from reflected light in times of cloud cover as the sensor, being a heliotrope would point to the brightest part of the sky, not where it thinks the sun is.

[edit]in fact, at Nick Gammon pointed out, you don't need a constant sun location if using a simple N/S mount and single actuator! All  you need is (usable) sunrise and day length (1 byte would do, since you will not get 15hrs of usable sun) You may also have mountain/hill/building shadow to contend with . You may also need to adjust for apparent sun speed. You then move your actuator, starting at the correct time, at the correct speed for any day. Personally LDRs would be my choice - simples![/edit]
Logged

AMPS

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26530
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

LDRs can have very large surface areas, and it is going to take a severe accumulation of dust affecting only one of the LDRs (both equally affected by dust is not going to harm performance) to cause you problems.
Logged

"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.

Offline Offline
Full Member
***
Karma: 5
Posts: 113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
For LDR it require periodic maintenance.
I thought I was lazy! If it's just dust, who cares? The performance would effect both devices! But you could build in an auto calibration routine.
Logged

For whom does the clock pulse? It pulses for you!

Offline Offline
Full Member
***
Karma: 5
Posts: 113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Snap AWOL.

However, we may be forgetting about the Bangalore Tracker Crapper, these little birds are very well know for their preference to relieve themselves on the western most side of any solar tracking device! During the days of the Raj they caused untold problems!  smiley-eek
Logged

For whom does the clock pulse? It pulses for you!

Offline Offline
Full Member
***
Karma: 5
Posts: 113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry AMPS-N, couldn't help myself smiley-wink
You have painted yourself into a corner, it will have to be calculated then, but you will have to compromise on "cheapest". Leap years can be handled with a counter, but you will need to keep at least some variables in NVM.
keep us posted.
Logged

For whom does the clock pulse? It pulses for you!

DELHI
Offline Offline
God Member
*****
Karma: 8
Posts: 959
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset





i have simple idea to do this. But i dont how to to it
 every linear actuator will moves mm per second,
First i will calculate time taken to cover the full stroke length . and i will retract it.
in my code i say

initially length @ zero position.for every 10 min i say move until it reaches the final stroke position and when it reaches end position  i say reverse direction.










Sorry AMPS-N, couldn't help myself smiley-wink
You have painted yourself into a corner, it will have to be calculated then, but you will have to compromise on "cheapest". Leap years can be handled with a counter, but you will need to keep at least some variables in NVM.
keep us posted.
Logged

AMPS

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26530
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Not a terribly scientific test, but for a giggle I took the SPA sources and recompiled them with all "double" replaced by "float".
For here and now, zenith is off by by about 1/100th of a degree, azimuth by 1/10th of a degree, and sunrise and sunset times are both eight seconds early.
For a mechanical system, I could live with those errors.
Logged

"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.

Tasmania - Australia
Offline Offline
Sr. Member
****
Karma: 16
Posts: 315
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

AWOL, sounds good to me, what size did it compile down to if you have the figures handy?
PS, I like that slight hint of yours about 'want to'
Logged


Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26530
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just compiled it for a Linux box for speed of testing and simplified I/O, so the size is irrelevant, I'm afraid (FWIW it's a 36kB executable on a Xeon W3530).
Accuracy should be maintained for an Arduino, though.
At the moment, I don't have the time to go through and move the tables to PROGMEM for AVR, but I'm pretty certain it would work as-is on a Due (64 bit doubles - yay!)
Logged

"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.

Dee Why NSW
Offline Offline
Edison Member
*
Karma: 48
Posts: 2303
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

whole idea is i wanna do with cheaper solution , I wanna use only rtc, linear actuator  and arduino board  for the project.
If i am using above component is it possible to it??
if yes how can i do it??
how can calculate sun elevation angle??
i don't have any sensor to locate and control the position.


Obviously, it is possible to do it, but it isn't advisable. What you are talking about is altitude but, if you are only going to control one axis, you will be better off putting the device on an equatorial mount and controlling the azimuth. I have already told you where the calculations are but, when I said what I said about a lookup table, I didn't realise it would be so compact, and I think you would be better off trawling for an on-line service, or a freebie programme that can provide the data for same, thereby saving you from calculating anything.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26530
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Update:
The SPA source compiles for the Due (64 bit doubles) and produces correct results.
The size of the main tables comes to 17532 bytes, so even halved for 32 bit floats won't fit in RAM on a Mega.
It compiles, but doesn't run (see above), on a Mega, with a sketch size of 29K, so I'd be surprised if it squeezed into a Uno, even with the tables in ROM.
A challenge.
I'm on it.   smiley
Logged

"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.

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How accurately are we trying to track the sun's position? Some of the solutions being discussed seem to be aimed at very high accuracy indeed - which might be justified if we're trying to aim a telescope but would be ridiculously over the top if we're just trying to point a solar panel in the right general direction.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Dee Why NSW
Offline Offline
Edison Member
*
Karma: 48
Posts: 2303
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How accurately are we trying to track the sun's position? Some of the solutions being discussed seem to be aimed at very high accuracy indeed - which might be justified if we're trying to aim a telescope but would be ridiculously over the top if we're just trying to point a solar panel in the right general direction.

Indeed, and so absurdly so that a lust for intellectual exercise by the ignorant is the only explanation. At  this 1x magnification, an astronomer would be seeing it as so trivial it is a potential use for that old iron frame falling weight siderial clock gathering dust in the attic.  The Arduino/RTC/linear actuator could then be used just to lift the weight at midnight. No calculations needed - probably.     
Logged

Pages: 1 [2] 3 4   Go Up
Jump to: