0

enter image description here

I want to run the mosfet (irf540n) through opto coupler(4n25) for driving the motor. I refered some formula from this website, but my circuit is not working.

I calculated opto coupler current limting resistor by using this formula:

Rf = (vin-Vf)/If = (5v-1.15)/10ma = 385R

then calculated the mosfet gate resistor using

5v/150ma=34R

but this circuit is not working.

I tried this circuit too but not working.


Thanks for your answer, now I attached the image of my schematic. Please check it.

enter image description here

Dave Tweed
  • 172,781
  • 17
  • 234
  • 402
vivek j
  • 11
  • 1
  • 2

1 Answers1

1

schematic

simulate this circuit – Schematic created using CircuitLab

Is a circuit that should work for you. D1 and Q1 are used together to form the opto isolator. The values are just ball park, the schematic is just meant for topology purposes.

vini_i
  • 7,108
  • 3
  • 33
  • 52
  • Where did you get the load resistor value from? – Andy aka Sep 15 '15 at 08:25
  • @Andyaka It's just balk park values. I was going for topology not values. – vini_i Sep 15 '15 at 08:27
  • sir ,actually i dont know to calculate gate resistor please say me how to find it – vivek j Sep 16 '15 at 08:00
  • the gate resistor needs to be just large enough to keep the inrush current in check. The maximum rating for the 4N25 is 150ma, so at 5v i would make the resistor (5/0.15=33.3) about 33ohms. – vini_i Sep 16 '15 at 10:33