Are you driving the wire directly? Or are you using a MOSFET? Show us your circuit and possibly your code.