Maker Pro
Maker Pro

ESP8266 Temperature log

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,722
Joined
Nov 17, 2011
Messages
13,722
why they'd add a 4.7k resistor between the temperature sensor middle pin (data) and the current (last pin)
Because the datasheet says so in figure 3 accompanied by the following text:
The control line requires a weak pullup resistor since all devices are linked to the bus via a 3-state or open-drain port (the DQ pin in the case of the DS18B20).
. Withoutthis resistor the data line would be undefined instead of high.
 
Top