Smart Home Automation Forum
Powering a DS18b20 - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=62)
+--- Forum: F16 (https://www.kincony.com/forum/forumdisplay.php?fid=63)
+--- Thread: Powering a DS18b20 (/showthread.php?tid=8577)



Powering a DS18b20 - Onepointbrewing - 09-23-2025

Hello

Is it possible to power (VCC) from a GPIO output? I need to be able to reset a DS18B20 by turning off the VCC to the sensor as they get out of timing sync often and only are able to re-sync from a power cycle - not from a node reset.

Whats the max current the GPIO as an output that ic an supply


RE: Powering a DS18b20 - admin - 09-23-2025

GPIO can't use as a power supply VCC.


RE: Powering a DS18b20 - neveridea - 10-04-2025

A safer approach is to use a P-channel MOSFET or an N-MOSFET low-side switch to control the sensor’s VCC, or even a small transistor. This way, your GPIO just controls the gate/base and the sensor gets proper power for resets.