Tips on writing efficient code for Arduino

radman:
Will the "sky scan" generate more power than it uses and compensate for the increased complexity?

It may be a lot simpler just to change the angle of panels manually say once a month using an arrangment ike that used to change the angle of sunbeds. One thing you don't want to do is to chase the sun peeking through clouds.

Apart from avoiding things that you think are obviously wasteful of resources I would not worry to much until you really know you are going to have a problem.

To be honest, I'm not sure if it will compensate for energy consumption and complexity :slight_smile:

Your idea about adjusting the angle monthly could well be better.

Also, perhaps just rotating the panels based on time of day could also be much simpler.

Thanks for the comments.

Andrew,