You probably can't. Try putting a capacitor across the signal line and GND at the Pico end. And perhaps across power and GND at the servo end. Or sample several times and filter in software. The servo motor itself is going to be inherently noisy, although it will be less noisy when it has reached its target position.
Statistics: Posted by ame — Fri Jun 07, 2024 9:56 am