idk.....what it should do?...i am new at thisWhat does one do when the sun doesn’t come out?
i am programming in Atmel studio...so Arduino doesnt help me much.There are lots of projects similar to this on the internet. All you have to do is search. The programs written for the Arduino uno, nano and , mini will all run on the ATMEGA 328P. Here is a typical example:
https://how2electronics.com/arduino-based-solar-tracker-using-ldr-servo-motor/
How do you plan on loading the software? Has the chip been loaded with the boot software?
Since you are reading the two LDR via ADC inputs, you can get an estimate of the sunlight intensity and make a decision to pause tracking.idk.....what it should do?...i am new at this
Depends on what information you seek.You only need one axis to track the sun. Tilt the whole thing from vertical to the South by the number of degrees latitude of your location. It will then track the arc of the sun.
Regards,
Keith
I'm not sure that would work. Presumably the sensors need to be partially shaded to get a usable output, and then wouldn't it be difficult to tell the difference between normal operation and a cloudy sky? But it would be possible to twitch the servo every few minutes to see if that caused an imbalance between the photocells (meaning there is sun) whereas if nothing changed, it would mean the sun wasn't shining. Or check the output voltage of the solar array to see if there's enough sun to be worth tracking (assuming the array is pointed in some direction where the sun actually hits it).Since you are reading the two LDR via ADC inputs, you can get an estimate of the sunlight intensity and make a decision to pause tracking.
That can't be optimal for every season. But maybe it's worth losing a little efficiency to have a simpler system.You only need one axis to track the sun. Tilt the whole thing from vertical to the South by the number of degrees latitude of your location. It will then track the arc of the sun.
yea but i need programm......its my school project and i need to programm in Atmel Studioi considered making one with 2 axes.. (3D-rotation like telescopes) ..control based on array of 3 solar calculator (or garden light) batteries (each tilt at the different angle , moving along the solar panel) . . . so it would know where to move - requires no programming . . . perhaps thresholds set so it wouldn't tremble all the time . . . basically you get 3 component light power input which is needed to convert L-R , U-D vectors
http://www.makify.com/solar-cell-light-meter/
? https://www.mdpi.com/1424-8220/16/12/1995/htm
Since it is a school project, specific rules apply on a forum. Whatever you are asking for, you need to show us your attempt to solve the problem.yea but i need programm......its my school project and i need to programm in Atmel Studio
I built a single axis solar tracker using LDRs. I adjust the vertical axis manually once in a while just to keep up with the seasons. It works very well and uses very little power. Why do you think it would not work?a dummy suggestion let the LDR be ..................... if your light source is "varying" the method won't work
I recommend you grab yourself the ATMEGA16 datasheet, go over to Nerdkits.com (defunct, but still has lots of info), and learn how to do it yourself. Amaze your friends with what you CAN do, not what they think you can do.