I connected Arduino ground with battery ground as well as servo ground but not working . I also tried two 9v batteries to power one servo but no success . I need help , it is my school exhibition project . The battery number is 6F22 9v battery ...
Which servo do you have, how much current (Amps) does it require? Most servos run on 5 to 6 volts, a 9V "transistor" battery cannot supply enough current for a servo, how about 4 AAs.
What servo? For almost all servos that battery has too much voltage but not enough current. You could even have damaged the servo with the too high voltage.
Steve
Omega35:
I connected Arduino ground with battery ground as well as servo ground but not working . I also tried two 9v batteries to power one servo but no success . I need help , it is my school exhibition project . The battery number is 6F22 9v battery ...
Small 9V batteries aren't suitable for high current things like motors or servos, they only provide a tiny
current before they overload and fade.
Budget for at least 1A per servo.