Ooh. I just read your OP more thoroughly. You must have a resistor between the uC and transistor base or you'll kill your transistor. Take out that 30 ohm resistor on the emitter and use about a 500 ohm resistor on your base. That arrangement will switch about 100 mA if the transistor hfe is 50 (which is typical for a bipolar switcher like a 2N2222).