You’ve been working hard at your Arduino-based servo project, and so far it’s working great. Time to untether it from your computer and let it run on its own, right? It works fine on USB power. It works fine on a 9-volt battery (while it lasts). You plug it into an adapter and…twitch…twitch…twitch. Suddenly it’s not functioning anymore. Damn!
If the adapter voltage is within range, and current supply is adequate, your problem is likely filtering: the adapter is not eliminating the ripple voltage, and that’s interfering with the Arduino’s ability to control the servo. Here’s a quick way to clean up your power and get your project moving again.Related