Hmmm. Well, it seems like there's an awful lot of < $2 N-channel MOSFETS that will easily switch 10 or more amps with gate voltages well under 5 volts. You've got P-channel MOSFETS cheaper than that? Plus a NPN?
I use a 16F684 and N-channel MOSFET to PWM control power to a 50 watt 12 volt heater element @ 100Hz with no issues.
I suppose the question is how much current is Megahertz talking about? Small 25-50W halogens, or 250 watt driving lights?
As long as the frequency isn't too high there shouldn't be any trouble driving an N-channel MOSFET directly from a PIC. For driving a halogen lamp there's probably no need for more than about 100 Hz.
If your PIC is running at 3 volts or less, then the choice of logic level high current FETs does diminish greatly and a driver circuit may be necessary.
I suppose it might be worth mentioning that dimming a halogen bulb reduces the operating temperature and disrupts the halogen cycle which can lead to premature envelope blackening and early death. For cheap garden variety bulbs, you may not care. But if you're playing with expensive photography bulbs or something like that, then it might be worth mentioning...
Steve
Bookmarks