Go Down

Topic: PC PSU 12 volt + 4n35 Optocoupler (Read 4279 times) previous topic - next topic

STErcan

Hi,

I was wondering if it is possible to put a 4n35 optocoupler at a psu line of 12v, 25Ampere, (at the black wire)?

Will the optocoupler burn? If so, what's a better way to control a powerline of an pc psu. Because I want to controll the fan which is connected with the 4 pins black/yellow 12volt line.

Grumpy_Mike

An opto coupler will not take anything like that sort of load. I assume that the power supply rating is 25Amps, rather than the fan. Either way you need a suitably rated FET between the opto isolator and the fan.

STErcan

One more question. The fans connected to the psu, use only 0.07 A. Now I'm not sure, how much pc psu delivers. The fan is connected to the yellow cable. What normally is connected to a harddrive or cd-rom drive, with 4 pins red-black-black-yellow.

So if the fan can use only 0.07 A, why isn't it possible for the optocoupler?

Grumpy_Mike

#3
Feb 02, 2011, 12:21 pm Last Edit: Feb 02, 2011, 12:24 pm by Grumpy_Mike Reason: 1
Quote
So if the fan can use only 0.07 A, why isn't it possible for the optocoupler?

Well you were asking at first about switching 25A, but for a fan you still need a extra transistor because a typical opto coupler transistor can not supply 70mA. Check the data sheet for the specific type of opto isolator you want to use. For the 4N35 the data sheet says the maximum output current is 50mA.

Note also that the 70mA quoted is probably the running current, typically this is much lower than the start up current or the stall current.

STErcan

I understand, is this a good plan?

12Volt+ > fan+ > fan- > mosfet > 12Volt-

mosfet is controlled by optocoupler

arduino > optocoupler > mosfet > optocoupler > arduino

Tonight I will try to Fritz this...

Worst scenario will be, that the mosfet will burn??

Grumpy_Mike

Note you also need a resistor between the arduino and the opto coupler. This is because it is really just and LED and you need a current limiter. You also need a pull up resistor on the gate of the FET to the +12V.

STErcan

everthing works fine, except, it wont turn off. When a put the multimeter on the mosfet G and S. It goes off and on. Maybe it's the pull up resistor what i need?

It seems, that the voltage stays high when its put high. The mosfet acts like a switch, when high i disconnect the gate, it stays high, when low, i disconnect it stays low. So why doesn't it go low, but only high. I just started with circuits. I'm a programmer, sorry for the stupitty  :smiley-roll-blue:

STErcan

Yeah, I needed a pull down resistor 2x330Kohm from mosfet G to 9v ground.

STErcan

is the optocoupler isolated of amperage as drawn at the diagram? Can pin 6 be connected to the arduino 9v?

STErcan

First off all, I want to thank Grumpy_Mike for his support.

Can anybody confirm if the ampere is isolated to the optocoupler with this diagram? Because the + of psu is connected to pin 6 of optocoupler.


retrolefty

I think I see several wiring errors, but I refuse to try and make sense of such pictorial pictures, when what is really required is a proper schematic drawing. However hang on for others that might have a higher threshold of pain the I do.

Lefty

Grumpy_Mike

That circuit is not right. There is a common ground on both sides of the circuit, this means it is not isolated. As lefty says it is very difficult to follow a physical layout and generate a schematic from that. In fact is is impossible for anything but the most trivial circuit. You must have a schematic because you made it (you can't pretend to make anything without a schematic) so could you post that. Even a photo of a hand drawn one would be fine.
It is much easier generating a physical layout from the schematic. But you don't look like you have got it quite right yet. Also is the FET part number correct?

STErcan

I'm just started learning electro. I will post a schematic tonight. The fet name is right I think, I have to double check maybe. So if I understand, common must be seperated. But the + also goes to the optocoupler, I think thats also not right.

Grumpy_Mike

Quote
But the + also goes to the optocoupler


The opto coupler has two sides, it is quite alright for the + and ground to go the opto providing that only fan and fet connections go to the output side and only arduino and arduino ground go to the input side.

Go Up