Problems with serial print (using a input sensor & Servomotor)

and a servo motor on digital pin 9.

How is the servo powered?