logo elektroda
logo elektroda
X
logo elektroda

NodeMCU v3 ESP8266 and DS18B20: D0/D8 pin compatibility and pull-up resistor selection

Travisek 1842 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19187815
    Travisek
    Level 5  
    Hi, I have a NodeMCU v3 ESP8266 (attachment) and a DS18B20 temperature sensor.

    If I plug the data pin of the temperature sensor under e.g. D1 or D7, there are no problems. On the other hand, if I plug in D0 or D8, it does not detect the device.

    On the other hand, with pin D0 I can normally control the diode via digitalWrite, etc.

    So why could this not work?

    And I have a second question if anyone knows: if VCC is 5 V, should I connect 4.7 kOhm pull-up or 10k?

    NodeMCU v3 ESP8266 and DS18B20: D0/D8 pin compatibility and pull-up resistor selection .
  • ADVERTISEMENT
  • #2 19187937
    khoam
    Level 42  
    Travisek wrote:
    On the other hand, when I plug in D0 or D8, it does not detect the device.
    .
    These pins have their limitations in use: Link .

    Travisek wrote:
    if VCC is 5 V, then connect 4.7 kOhm pull-up or 10k?
    .
    If already, the DS18B20 should be connected via a 3k3 - 4k7 resistor to 3V3.
ADVERTISEMENT