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.
Steps
Step #1:

- Carefully bend the capacitor's leads as shown, so that they can be inserted into the header without fouling other wires or components.
- The positive lead is inserted into Vin; the negative goes to GND. I'm using a Seeed Protoshield for my project. The capacitor may be attached to the appropriate pins of the shield, or to the Arduino itself.
- Inspect your connections one more time to make sure that nothing will short out, then attach your adapter. Your project should work fine.
- Note that I'm using a 2200uF capacitor here--that's probably oversized, but it's getting the job done.











Where is it?
The implementation details have been left as an exercise for the reader.
// What's Trending
Raspberry Pi Design Contest
Maker Faire: Day One
A Photo Tour of Maker Faire
Arduino Announces New Wireless Linux Board
Seventeen Sneaky Secret Hides
10 Things to Connect to Your Raspberry Pi
Radio Shack Unveils the New Delta Series Mini PC Board at Maker Faire
I Have a (Puzzling) Dream
// What's Shared
A better way to slice a pumpkin
DIY Nerf Darts
In the Maker Shed: Minty Boost USB Charger
100 Dollar Store Organization Ideas for Craft Rooms and Beyond
Mad’s Mouse House
Lace Princess Crowns
I Have a (Puzzling) Dream
Play the Rings of a Tree Trunk Like a Record
// Most Commented
DIY Hacks & How To’s: Get Emergency Power from a Phone Line
Resin Casting: Going from CAD to Engineering-Grade Plastic Parts
Ten Tips for Screws and Screwdrivers
Ten Tips for Better Measurement
Makers on TV: Big Brain Theory
Tool Review: BioLite CampStove
Pitches with Prototypes: Solar Tracker
Grow: A Portable CNC Router System