hi, I have a little problem with my 50$ robot: the servos turns in opposite directions, does anybody knows what I did wrong..I guess I just inverted something, but don't know what.. (I used photoresistors of different values, could come from that?)thanxmanu

It depends how you mount your servo's, once you are happy with construction, alter you code to account for this. In the code you should have 3 PWM values (assuming you are using the photovore zip file). One is one direction, the middle value should be stop and the other is the opposite direction. Try reversing one set to see the difference.

thanks guys,I will try to modify the code, but first I'd like to be sure that this problem doesn't comme from electronic...because I mounted the servos exactly like in the tutorial, ...but both turn in the clockwork sense in the light and opposite sense in the dark.

It's because you mount the servos back to back, sort of speaking, so one will go opposite the other if both get either a short or a long pulse (relative to 1.5ms). Either mod the code as suggested or swap the leads on the motor inside one of the servos, whatever you find easier.

Logged

Regards,Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?Please remember...Engineering is based on numbers - not adjectives

I mean to swap the leads soldered to the motor _inside_ the servo - the terminals on the motor itself.There might be from 1 to 3 caps mounted there (for electric noise removal) and you don't need to swap them, just the leads.

You SHOULD NOT swap the leads going outside, as that would most likely render the servo seriously dead.

Logged

Regards,Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?Please remember...Engineering is based on numbers - not adjectives