pstolarz / OneWireNg

Arduino 1-wire service library. OneWire compatible. Dallas thermometers support.
BSD 2-Clause "Simplified" License
89 stars 20 forks source link

CONFIG_PWR_CTRL_ENABLED with BJT instead of a MOSFET #28

Closed rajiv-kanchan closed 3 years ago

rajiv-kanchan commented 3 years ago

Can the circuit for CONFIG_PWR_CTRL_ENABLED be modified to use a BJT instead of a MOSFET? If yes how would the circuit look like?

pstolarz commented 3 years ago

Yes, you can use PNP bipolar transistor. More info here (as a note for gpu attribute). On my setups I tested both types of transistors: MOSFET and PNP and both variants worked fine.