In the above circuit, the transistor is an NPN 2N2222 model. The RC resistor is actually a very small water pump (which I believe is a DC motor) that uses about 60mA across a 5V potential difference, hence the 85 Ohm resistor to represent it.
My issue is that when I set this up in real life with a Raspberry Pi supplying the 5V and 3.3V from its pins, the motor does not turn on.
Sometimes if I power the base then disconnect and reconnect the power, it briefly turns on.
Wierdly, when I measure the current going through the pump (with the base pin high), it increases to about 240mA then goes to 0. If I disconnect and reconnect the power this happens again.
I'm quite new to transistors so would be grateful for any help possible. If changes need to be made to my circuit I would be grateful to end up with as simple circuit as possible with as few transistors as possible as well.
Many thanks in advance!