Ich gehe mal davon aus, dass der Servo deinem µC den Strom wegfrisst.
Da hilft z.B. Entkoppeln des µC mit schottky und Kondensator.

Poste mal deinen Schaltplan.

Gruß, Yaro