user32167: I have a 2-wire brushed DC motor in a servo housing which either pushes left or right (and "center" when unplugged).
To push to one side I connect a wire to 5V and the other to GND, to push to the other side I just need to swap the wires.
How can I achieve this with the arduino without any physical rewiring?

user29796: I think you need arduino motor shield.

Click Here
Just click on above link, you find a good tutorial about arduino motor shield. I hope it might be helpful.

32167: <p>I have a 2-wire brushed DC motor in a servo housing which either pushes left or right (and "center" when unplugged).</p>

<p>To push to one side I connect a wire to 5V and the other to GND, to push to the other side I just need to swap the wires.</p>

<p>How can I achieve this with the arduino without any physical rewiring?</p>
 29796: <p>I think you need arduino motor shield.</p>

<p><a href="https://i.stack.imgur.com/1Bt4R.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1Bt4R.jpg" alt="Shield"></a></p>

<p><a href="http://playground.arduino.cc/Main/AdafruitMotorShield" rel="nofollow noreferrer">Click Here</a></p>

<p>Just click on above link, you find a good tutorial about arduino motor shield. I hope it might be helpful.</p>
