Correct, you need a filter. A capacitor across the output may do the trick. You didn't say how much current you were drawing but given the fact that you said a '3V battery' you might try a 1000 UF rated 5V or a little more. Make sure the power you are using is DC and watch the polarity on the cap. Tom