Why does this circuit need these resistors connected to the transistor? Answered
I was following the instructions from the book, "Arduino for Dummies", and worked on this tutorial with a dc motor and it says that I need a 2.2k ohm resistor connected from a digital output pin to the transistor's middle pin. Why does it require a resistor there? Is the transistor not able to handle 5V?