No, it will go up in smoke on both sides: a) The absolut max rating of that OC collector is 50mA. Use the OC to drive a MOSFET. Most n-channel TO-220 will do, like the IRFZ44N. Don't forget the pull-down.
b) As far as I can see from the data sheet, the input part is just the LED, so you need a current limiting resistor. This also answers
Yes, you just need to use larger resistors.
Sure. For your application (after fixes above), e.g. a PV817 would do, and lots of others.
It is right on the first page of the BC337 datasheet: Collector Current − Continuous: 800mAdc
So it would work, but it would get hot and not be very efficient.
That kind of BJT isn't really a good choice to switch notable loads. It's fine for an LED, but 7.2W is already something. Go for a MOSFET or a Darlington transistor like the TIP120.
Hi Carson, me again. I had tried using following schematic to control the 12V FAN, but unfortunately the Fan just spins few seconds. Then have a noise but the fan not spinning.
R1: 1k ohm
analogWrite(3, 250);
Is there the resistor incorrect??
or just using digitalWrite(3, HIGH) instead of analogWrite() ?
or I need using analog pin for analogWrite() ?
Your transistor is the wrong way around. Emitter needs to go to GND, Collector to the fan negative.
You probably destroyed the transistor by putting it into the circuit reverse.
Also, your fan might not like the PWM frequency and it may freak out the controller in it, so maybe analogWrite is not the way to go - or you need to change the PWM frequency to keep the fan happy.
ULN2803 not usable. Fan at 600ma loads exceeds 500ma maximum rated load of ULN2803. Any attempt to parallel outputs isn't likely to work.
Other suggestions were also incorrect like IRFZ44N. You need a logic level mosfet, one that turns on at 2.5 volts. Since you do not have a usable part and must purchase, get a logic level mosfet on a breakout board.
If you want bare part, here is one of thousands that will work:
There is ~1.3volt (typical) left across the transistor switch when "on".
That results in 1.3volt * 0.6Amp = 0.78watt that has to be dissipated by the chip.
There is a thermal table in the datasheet that tells you the temp rise above ambient per watt.
I didn't say 600mA can't be done by that chip. It only will be hot.
Leo..