News:

;) This forum is the property of Proton software developers

Main Menu

Need help driving MOSFET

Started by JohnB, Oct 05, 2025, 03:58 PM

Previous topic - Next topic

Dolci


Fanie

Let\s hear from JohnB if he solved his problem...

streborc

MOSFETs can be a bit tricky to work with, but once you understand the basics and use them in a couple applications, you'll find them preferable to BJTs because MOSFETs behave more like real switches -- either on or off.  Driving a 5 volt device through a MOSFET with a 5 volt PIC isn't too difficult, unless switching speed is critical.  Driving a high voltage device (let's say 12 volts) from a 5 volt PIC can most easily be accomplished with a MOSFET driver device, such as the MCP1405 which provides both the necessary MOSFET gate current and level conversion.  I've successfully used the MCP1405 with an FDD8424H complementary MOSFET to control a 12 volt solenoid in a hydraulic actuator application.  This was a quasi-static switching application, not a continuous frequency application where shoot-thru current becomes a concern.  If you're switching continuous frequency, you should look into using the complementary waveform generator (CWG) featured in many PICs that provides a dead-zone so that the N-channel and P-channel devices are not simultaneously on.  Finally, if you're using a PIC in a 3.3 volt application (I'm working on an infrared remote control where the IR emitter is switched with a 3.3 volt MOSFET) you need to use a low voltage MOSFET such as the FDV303N that has a Rds(on) = 0.6R at Vgs = 2.7 volts.  There's quite a bit of MOSFET application note info online that explains all this is as much detail as you want to dive into.  Hope this helps.

JohnB

Solved and this is my schematic.  Outlined area is place bit in question. 
JohnB

Fanie

#24
Hi John, the two resistors R10 and R11 is now a voltage divider with R9 and R7.
This means the FETs will only get 2V5 on the gate.  Measure it.
I suggest remove R10 and R11 so the FETs are switched with 5V on the gate.
A 1k resistor with 5V will draw 5mA, you need only around 1 or 2mA, unless you have some extreme induction problems.

JohnB

The resistor values are the defaults that EasyPC use and I was too lazy to change them on the CCT.
The values were 100 and 10K. Apologies for the confusion.
JohnB