user8273: i'm trying to understand how to connect this motor:
"Mitsumi 334P/R AB"
Link to the motor i bought

connections are:
GND - Obvious.
5v - Obvious.
rest of the connections are a bit confusing to me and i do not want to fry my arduino trying.

do i need a driver or this looks like a built in one?
do i need to add any electrical components like resistors and capacitors ect?


user2881: It's just a regular motor, with a (optical) rotary encoder inside. So the first two motor pins are to run the motor. So connect to VCC and GND, or GND and VCC, if you want to run it in reverse. (VCC doesn't have to be 5v; it can be 3v to 30v).
Connect A and B to a digital input pin. You can see what kind of signal you can expect in the screenshot of the oscilloscope, attached to the ebay-listing. So you can measure the speed, and relative position of the motor-shaft.

8273: <p>i'm trying to understand how to connect this motor:</p>

<p>"Mitsumi 334P/R AB"</p>

<p><a href="http://www.ebay.com/itm/Mitsumi-334P-R-AB-phase-encoder-encodes-tacho-motor-speed-disk-DC3V-24V-5V-6V-/221702525894?pt=LH_DefaultDomain_0&amp;hash=item339e8013c6" rel="nofollow noreferrer">Link to the motor i bought</a></p>

<p><img src="https://i.stack.imgur.com/UST5F.jpg" alt="enter image description here"></p>

<p>connections are:</p>

<p>GND - Obvious.</p>

<p>5v - Obvious.</p>

<p>rest of the connections are a bit confusing to me and i do not want to fry my arduino trying.</p>

<ul>
<li>do i need a driver or this looks like a built in one?</li>
<li>do i need to add any electrical components like resistors and capacitors ect?</li>
</ul>
 2881: <p>It's just a regular motor, with a (optical) rotary encoder inside. So the first two <code>motor</code> pins are to run the motor. So connect to VCC and GND, or GND and VCC, if you want to run it in reverse. (VCC doesn't have to be 5v; it can be 3v to 30v).</p>

<p>Connect A and B to a digital input pin. You can see what kind of signal you can expect in the screenshot of the oscilloscope, attached to the ebay-listing. So you can measure the speed, and relative position of the motor-shaft.</p>
