![]() Likewise, the two resistors in the gate drive circuit (22 ohm each) keep the PIC outputs from "fighting" if the software is somehow corrupted and the two outputs assume different states. There are more details about this circuit in #TritiLED.Ī 100-ohm resistor is added in series with the battery for fault protection - if the PIC becomes stuck for some reason, the MOSFET shorting the inductor across the supply might drain the battery, but the 100-ohm resistor will hold the current and dissipation to a safe level. The MOSFET allows current to build through a 1 mH inductor once the MOSFET shuts off, the inductor discharges through the LED to create the light pulse. A PIC12LF1571 periodically wakes to pulse the gate of an N-channel MOSFET. Here's the circuit used to drive the LED.
0 Comments
Leave a Reply. |