Can I use a 4n25 opto
mnemonics
Posts: 23
Hello Gentlemen ! Can I use the 4n24 Optocoupler to drive mosfet drivers without adding anything else?. Also what pins on the quick start board do I use to power up the prop from a 12v power supply? The Prop quick start board is USB powered but I need to power it from a 12 volt battery for my project. I only see a 3.3 volt regulator will I damage it if I send 12 volt to VIN pins. Thanks
Comments
Yes, you can as long as you add a pullup resistor to +12V, however the 4N24 switches on/off fairly slowly which will increase power consumption in the drivers and output transistors. OK for turning power to something on/off, not so good for PWM.
Not a good idea to to put 12V in to the QS board. Some of the chips on the board are powered from the USB +5V and would be destroyed. Simpler to add a small external +12V to +5V power supply using a 3 terminal regulator IC and input that to the QS.
BTW same is true of the 4N25 except the forward voltage is about 1.15 at room temp so a 200 ohm resistor will provide about 10.75mA from a 3.3V output.
Are you driving a mosfet gate, or into a mosfet gate-driver ?
4N2x optocouplers are open collector, and not fast, so take a look at the H11N1, an opto with a schmitt output stage.
Same LED driving rules (needs > 1.6mA IIRC), but much faster rise/fall/tpd figures.
I am using the 4N25 to drive a mosfet driver. I have that part of the circuit working perfectly. The mosfet driver however is using a 12 volt power supply to drive the mosfet. I was going to use the Prop Quick start board which is USB powered but I decided to use the Propeller Project Board since it has everything I need on it and the supply voltage is from 5 to 16 VDC. Thanks for the reply guys and info I appreciate all of the members on this forum.