Dallas One Wire Temperature And Humidity Sensor

The ms th is an easy to use 1 wire temperature and humidity sensor.
Dallas one wire temperature and humidity sensor. The sensor communicates over a 1 wire bus. 1 wire humidity and temperature sensor is a low cost open source device for measuring temperature and relative air humidity in 1 wire micro lan network. Vdd pin supplies power for the sensor which can be between 3 3 to 5v. The connections are fairly simple.
1 wire network allows multiple devices connected on the same bus in parallel. The th tl and configuration registers are nonvolatile eeprom so they will retain data when the device is powered down. Gnd is a ground pin. 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.
Enough of the theory let s go practical. Tsh202 is a 1 wire humidity and temperature sensor. Other environmental sensors are available in our multisensor product line for accessories and other hardware see the products below. Dq is 1 wire data bus should be connected to a digital pin on microcontroller.
Both the supply voltage and the rh output voltage are part of the three wire connection to the humidity sensor. Wiring ds18b20 temperature sensor to arduino. A keil c compiler was used to implement the firmware for the 1 wire communication. Every 1 wire device has a unique 64bit id.
Let s hook the ds18b20 up to the arduino. Temperature to digital conversion to 9 10 11 or 12 bits. The control line requires a weak pullup resistor.