Oznog
Active Member
2camjohn said:Will 10nf do for the regulators capacitors?
Probably not. Look up the spec sheet for your specific reg, 0.1uF is common. 10nF is 10,000 times too small.
The motor capacitor and the input capacitor to the reg only needs to be done with one capacitor. Actually, there is little need for a capacitor on the motor at all.
It is impossible for the PIC to heat up at all in the way you shown. A MOSFET's gate draws no current. It is physically impossible to generate any heat with the driver unless you're driving it at many MHz. So the only answer is that resistor is far smaller than 10k, or something's not wired right on the PIC.
Are you sure that's a MOSFET? N-channel? And you have the gate/drain/source hooked up correctly?
But you can just take out the resistor and see. It's only there for two reasons. One, the PIC's got brief period when it turns on and when the power-on timer expires and the code sets the tristate bits. During that time, the transistor can turn on or worse, it can halfway turn on, which will dissipate a lot of heat in the transistor. Second, if the code's got bugs or has a power surge, the battery's run down, or whatever locks up the PIC, the state could persist indefinitely. That's why it's a good idea to guarantee the gate of a power MOSFET cannot float!