Will this raspberry pi circuit work?
Your motor needs to be current limited to 1A or you are likely to damage the BC635. I also think there may be a chance that your GPIO current may not be sufficient to drive the transistor to get ~1A into the motor: -



What this part of the data sheet tells you is the to get 500 mA into the motor requires a base current that is only 25 times smaller at 20 mA - you need to verify that your GPIO can supply this current without risk to the RaPi.

Note also that if you need to activate your motor to close to 9V under mechanical heavy (ish) loads you might even have to push 50 mA into the base of the transistor.

And of course, you always need a base resistor because the GPIO pin may be able to supply more than 50 mA i.e. the base resistor is there to protect the transistor and the GPIO pin.



RaPi current appears to be about 16mA maximum according to this document below: -



See also this Q&amp;A on SE.RaPi