hello i have made a power supply from a pc power supply and i put it in a box. it works fine but it gets hotish in the box so i did a circuit with a pic18f1320 and a small pc fan to add extra cooling to the box my problem is turning on the fan from the pic pin i know i need a transistor and i have a npn one (BD139) but i cant work out what size resistor i need for the base of the transistor to get it to act like a switch (i have read up on it but cant do the maths) the fan uses approx 750ma the fan voltage is 12v the base voltage is 5v can anyone help me work out what resistor i need please