Thankyou i dont have a clear idea of the resistor to be changed can u give me a circuit diagram for high side switching using transistor kindly help me outFor a load current of 500mA the datasheet of the MJ2955 shows a base current of 50mA. Any little NPN transistor (BC547, 2N3904, 2N2222, etc) can have a collector current of 50mA when its base current is 5mA.
The base voltage of the little transistor is 0.7V when it is turned on, so if the input from the microcontroller is 5V (it might be 4V when loaded with 5mA) then the base resistor is (5V - 0.7V)/5mA= 860, use 820 ohms.