The sensor communicates over a 1 wire bus.
Dallas one wire temperature and humidity sensor.
Both the supply voltage and the rh output voltage are part of the three wire connection to the humidity sensor.
Other environmental sensors are available in our multisensor product line for accessories and other hardware see the products below.
The ds18b20 uses maxim s exclusive 1 wire bus proto col that implements bus communication using one control signal.
Temperature to digital conversion to 9 10 11 or 12 bits.
The control line requires a weak pullup resistor.
The ms th is an easy to use 1 wire temperature and humidity sensor.
Dq is 1 wire data bus should be connected to a digital pin on microcontroller.
It provides a low cost option for humidity and temperature monitoring.
Each sensor has a unique 64 bit serial code which allows multiple sensors to be connected on the same 1 wire bus.
Using the plug and play technology the ms th can be daisy chained with other 1 wire products to create a low power environmental sensor network.
Wiring ds18b20 temperature sensor to arduino.
1 wire network allows multiple devices connected on the same bus in parallel.
The connections are fairly simple.
Gnd is a ground pin.
The th tl and configuration registers are nonvolatile eeprom so they will retain data when the device is powered down.
Let s hook the ds18b20 up to the arduino.
Every 1 wire device has a unique 64bit id.
Enough of the theory let s go practical.
Vdd pin supplies power for the sensor which can be between 3 3 to 5v.