'Driving P-channel mosfet. [EE]'
PIC output maxes out at 25ma. You're swinging the line by 5V.
V=IR so R=V/I = 5/0.025 = 200 ohms.
Personally I wouldn't trust using the PIC's internal resistance to limit
the current. The primary purpose of the resistor is to set the speed of the
gate since it functions as a capacitor. So the lower the resistance, the
faster the gate charges/discharges.
So, put something in the ballpark of 200 ohms and everything should be
On Sat, Sep 12, 2020 at 04:59:08PM +0100, David C Brown wrote:
-- Byron A. Jeff
Associate Professor: Department of Computer Science and Information Technology
College of Information and Mathematical Sciences
Clayton State University
-- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
More... (looser matching)
- Last day of these posts
- In 2020
, 2021 only
- New search...