Its my solar tracker project again

I've included my code in as an attachment, its too long to post.
The code is an attempt to combine an anemometer, differential-gap control solar tracking and RTC

I have a DS1307 shield I built myself, 1x 5kg towerpro RC servo, 2x 10kg towerpro RC servo, a reed switch based anemometer and the same circuit shown here http://www.codeproject.com/KB/system/ArduinoLightTrack.aspx

My problem is that once I run the code, servo 1 connected to D11 twitches a bit, servo 2 connected to D9 goes to max position, servo 3 does nothing.
and then nothing else, no response in the serial monitor either.

I tried uploading a different code http://www.codeproject.com/KB/system/ArduinoLightTrack.aspx, this time controlling only one servo, servo 2 remained stiff, as did servo 3.

just to test if I have insufficient power going through, I removed two of the 10kg servo with my code uploaded and still nothing happens.

I'm still unsure whether its a code problem or insufficient power problem or both, considering the complexity of the program (which is still incomplete) as well as the servos in use.

Any pointers? Since I'm using a 12v (sealed lead acid) battery to power the arduino, I will try adding power (regulated with a 7805) to the servo later this morning.

strack.txt (4.64 KB)

You have Serial output in the code - this should allow you to know what the servo commands were?

Also the setup() routine exercises each servo - does this work correctly?

What power supply or supplies are you using?

Any pointers? Since I'm using a 12v (sealed lead acid) battery to power the arduino, I will try adding power (regulated with a 7805) to the servo later this morning.

So just how are you powering your 10kg servo now? A 7805 can supply 1a max. May not be enough for that servo.

Having only one of each 5kg and 10 kg servos attached and running the http://www.codeproject.com/KB/system/ArduinoLightTrack.aspx code, I dont encounter any problems.

@MarkT
at the part where the servo should be exercised, nothing happens, no serial out for serial monitor, and no activity from the servo.

@zoomkat
At the moment, only two servos (5 and 10 kg) are directly connected to the arduino, I've removed the other 10kg and its still not moving with my code. I made a new code to move all servos to their min max ranges and with only one of each 5 and 10 kg servo, they work fine. with three connected, the second 10kg servo wont move but the 5 kg servo moves instead.

At the moment I'm making a little circuit with a 7805 to provide for the second 10kg servo.

Well the code seems simple enough for the servos - I suspect the power supply - I think you might want about 2A capability per servo to be on safe side.

I ran the code without anything attached, besides RTC
nothing happened.

I guess I have both problems