Like others have said, get a motor driver.
You CANNOT drive such a motor from a Pi GPIO pin safely, you will fry that pin, and possibly the whole Pi.
At an absolute minimum, assuming you only need to turn the motor in one direction, you need a transistor or mosfet to switch power to it, and you should have an external power source (if you use the Pi's 3v3 you will reboot the Pi, and possibly damage the Pi's 3v3 regulator, if you use the Pi's 5V, you might reboot your Pi, and you might damage the motor. Cavet Emptor)
A nice dual H-bridge driver is the way to go, for such a small motor, pick one of L9110S, L293D or L298N based module.
ElementalVenom wrote:Hello guys this is my first post so if somethings wrong, tell me. Alright so i have this DV 1.9V motor lying around and was wondering if i could attach it to the pi. I understand the pi supports up to 5v so is there a way to limit the voltage leaving the GPIO pins? I was hoping to do this with the resisters and breadboard i have instead of buying a motor controller.Im very new to electrical work. Any help would be greatly appreciated!