Hi - I have spent hours trying to come up with ideas for a multi-use MOSEFT circuit for use on a model train layout.
I am going to be switching 26 solenoids from a 3.3v MCU and thought I would use a logic level MOSFET, the FQP30N06L is easily available in Australia -
https://www.sparkfun.com/products/10213. I am going to use multiple MCP23017 I2C I/O port expanders to increase the MCU outputs and had hoped to trigger the N channel MOSFET with this.
I then thought, "maybe I need opto-coupling" from the MCP23017 to the MOSFET, but what about PWM ? I want to also be able to dim a string of LED's from the MOSFETs and this is where I became stuck. I figured I would need up to 10kHz PWM capability and I don't know whether I can drive the FQP30N06L at 10kHz and not have the gate capacitance issues at that frequency. I also don't know how to find an optocoupler that will support 10kHz. A lot of topics I read talked about using a MOSFET driver such as the MCP1407 to provide a faster gate charge pump (I think) to speed up switching time.
I am switching < 30v at about 5A max. The PWM LED's will be significantly less.
The MCP23017 pins can drain about 20mA so I would need approx 150ohm gate resistor (at 3.3v) and a 10k gate to GND resistor as well as the usual flyback diode.
I am not sure where to go from here, do I need opto-isolation (this is all just for low voltage DC), how do I know what the max PWM freq I can use with the FQP30N06L and is a dedicated low-side MOSFET driver required?
Any help would be appreciated.