My first time playing with servo motors! For this experiment I mounted a photoresistor onto the pan-and-tilt setup so it could search for the brightest spot. Once it finishes its "boustrophedonic" search pattern it returns to that spot for five seconds.
A future version might do smaller, local searches after getting through the initial, global search since the sun doesn't move around *that* much!
Source code on GitHub:
Loading more stuff…
Hmm…it looks like things are taking a while to load. Try again?