Friday, August 19, 2011

Arduino Solar Tracker Using LDRs

I’ve always wanted to make a solar tracker. Watched a few youtube videos and decided to make one myself.

 

The circuitry:

Capture19-8-2011-11.23.42 AM

 

And the sketch itself. I’ve uploaded it to pastebin.com for easy reference.

http://pastebin.com/zPDkng6e

I tried to make a horizontal movement function and a vertical movement function, and call them in the loop function but it keeps failing to call them. Decided to leave the if- statements in the open like that.

No comments: