A 1-Wire Humidity Sensor
August 1, 2000 By: Dan Awtrey, Motorola Semiconductor
![]() |
![]() |
| Simply holding the 1-Wire humidity sensor in an open hand can raise the reported output substantially due to the evaporation of moisture from the body. In the example shown, the change is a rise from 38% to 81% RH. |
Dallas Semiconductor, in conjunction with Texas Weather Instruments, Inc., previously developed a basic weather station that used 1-Wire technology to measure wind speed, wind direction, and temperature [1]. The station's capability was next expanded to include a rain gauge that was connected to the 1-Wire net by simply plugging it into the expansion connector on the weather station board [2]. Because 1-Wire technology transmits both power and bidirectional data over a single twisted-pair cable [3,4], no extra wiring or power was required.
A PC or microcontroller executing Touch Memory Executive (TMEX) software controls the 1-Wire net. Data transfers are half duplex and bit sequential over a single twisted-pair cable using short and long time slots to encode the binary ones and zeros, while power is transmitted during communication idle times. Because every 1-Wire device has a unique ID address that identifies it to the bus master, multiple sensors can share the same net and the software can automatically recognize and display data.
It's in the Chips
To calculate true relative humidity (RH) with a ratiometric sensor requires that the supply voltage, sensor temperature, and output voltage all be measured. Conveniently, all three sensor parameters can be monitored with a single, new 1-Wire IC. The DS2438 Smart Battery Monitor, designed to work in battery packs to perform multiple functions such as tagging and fuel gauging, contains the voltage and temperature A/D converters needed for RH calculations. The device also contains a 10 bit current converter, a current accumulator, and an elapsed time meter that can be used for other sensors which will be described at a later time. The monitor also provides 40 bytes of nonvolatile memory that can provide a useful storage area for calibration or location information.
| Calculating True Relative Humidity |
| The output of the Honeywell HIH-3605 humidity sensor is an analog voltage proportional to the supply voltage. Consequently, converting it to relative humidity (RH) requires that both the supply and sensor output voltages be taken into account according to the formula:
sensor RH = (VOUT / VSUPPLY) – 0.16 / 0.0062, typical at 25°C To correct the calculation for temperature and compute true RH, use: true RH = sensor RH / (1.0546 – 0.00216 T) where T is in °C Since the DS2438 reports temperature in °C, this is the most convenient formula for use with the 1-Wire humidity sensor. If temperature is known in °F, however, true RH can be calculated by: true RH = sensor RH / (1.093 – 0.0012 T) where T is in °F |
The Honeywell HIH-3605 humidity sensor chosen is a monolithic IC containing a laser-trimmed capacitive sensing element with onchip signal conditioning. It develops a linear voltage vs. RH output that is ratiometric to the supply voltage. That is, when the supply voltage varies, the sensor output voltage follows in the same proportion. The part is calibrated at 5 VDC, but it will operate over a 4–5.8 VDC range. At the calibration voltage and room temperature, the output voltage ranges from 0.8 to 3.9 VDC as the humidity varies from 0% to 100% (noncondensing). At 200 mA, its operating current is well suited for use on a 1-Wire net. Since the part is light sensitive, it should be shielded from bright lights when in operation.
Measuring RH via the 1-Wire Net
![]() |
| Figure 1. Power for the sensor is provided by CR1 and C1. To compute relative humidity, the DS2438 reads the voltage across the sensor, Vdd, and the sensor output, Vad. The DS2438 also provides temperature compensation with a 13 bit temperature sensor. R1 and C2 provide low-pass filtering. |
In the circuit shown in Figure 1, C1 and one of the Schottky diodes in CR1 form a half-wave rectifier that provides power for both the sensor and the battery monitor by "stealing" it from the bus when it is at 5 V during idle communication periods. This is a discrete implementation of the parasite power technique used internally by 1-Wire devices to provide their own operating power. The remaining Schottky diode connected across DATA and GND provides circuit protection by clamping signal excursions that go below ground to ~0.4 V. Under bus master control U1, the DS2438 monitors the supply voltage available to U2, the humidity sensor, and its own Vdd (pin 5). It then measures U2's output seen on its analog input pin 4. Finally, the DS2438 reports temperature in °C from its internal 13 bit converter. Software then uses these data to compute and display true relative humidity.
Summary
A humidity sensor designed for retrofit into a 1-Wire weather station is powered by and communicates over a single twisted pair. Because of their unique ID addresses, multiple copies of the sensor can be arbitrarily placed anywhere on the 1-Wire net to track ambient moisture content over a specified area such as a greenhouse.
1-Wire, TMEX, and 1-Wire net are trademarks of Dallas Semiconductor.
Acknowledgments
The author wishes to thank Mike Bolan, Mike Overlaur, and Jason Cole, who provided the support necessary to develop the humidity sensor.
References
1. Dan Awtrey. June 1998. "The 1-Wire Weather Station," Sensors, Vol. 15, No. 6:34-40.
2. ———. Dec. 1999. "A 1-Wire Rain Gauge," Sensors, Vol. 16, No. 9:56-59.
3. ———. Feb. 1997. "Transmitting Data and Power over a One-Wire Bus," Sensors, Vol. 14, No. 2:48-51.
4. ———. 1-Wire Net Design Guide.
| sensorsonline: Do you subscribe to Sensors Weekly? If not, you might have missed these articles today http://t.co/YrbicBsi #sensorsweekly | |
| sensorsonline: Do you subscribe to Sensors Weekly? If not, you might have missed these articles today http://t.co/YrbicBsi #sensorsweekly | |
|
|
|
| sensorsonline: February R&D Round Up: This month's examples of clever and useful sensor research includes smart paint to monito... http://t.co/oTsU3EBx | |
| sensorsonline: February R&D Round Up: This month's examples of clever and useful sensor research includes smart paint to monito... http://t.co/oTsU3EBx | |
|
|
|
| sensorsonline: Will Tu: http://t.co/77KHZndE | |
| sensorsonline: Will Tu: http://t.co/77KHZndE | |
|
|
|
| sensorsonline: Quake Global Receives Certification for Q4000 Modem: The Q4000 is the first fully integrated, dual-mode modem fo... http://t.co/YzLgOtjg | |
| sensorsonline: Quake Global Receives Certification for Q4000 Modem: The Q4000 is the first fully integrated, dual-mode modem fo... http://t.co/YzLgOtjg | |
|
|
|
| sensorsonline: Tiny Black Box Detects Electric Power Crashes: New tiny electronic instrument detects and records power glitches... http://t.co/Pe6sbivL | |
| sensorsonline: Tiny Black Box Detects Electric Power Crashes: New tiny electronic instrument detects and records power glitches... http://t.co/Pe6sbivL | |
|
|
|
| sensorsonline: Libelium Offers e-Learning Platform for Sensor Networks: New e-Learning platform enables system integrators worl... http://t.co/TOCQclaS | |
| sensorsonline: Libelium Offers e-Learning Platform for Sensor Networks: New e-Learning platform enables system integrators worl... http://t.co/TOCQclaS | |
|
|
|
| sensorsonline: Schneider Electric To Expand Collaboration With Cisco: Introduces new solutions for comprehensive building and d... http://t.co/GoZvqLRT | |
| sensorsonline: Schneider Electric To Expand Collaboration With Cisco: Introduces new solutions for comprehensive building and d... http://t.co/GoZvqLRT | |
|
|
|
| sensorsonline: RT @SensorsExpo: #sensors12 digital brochure is here! download it at http://t.co/LFe7twTj OR register w/code 602K for the lowest rates h ... | |
| sensorsonline: RT @SensorsExpo: #sensors12 digital brochure is here! download it at http://t.co/LFe7twTj OR register w/code 602K for the lowest rates h ... | |
|
|
|
| sensorsonline: Seen and Heard: Articles and postings about Sensors Expo & Conference in blogs, news sites and publications read more http://t.co/rZCFxDoS | |
| sensorsonline: Seen and Heard: Articles and postings about Sensors Expo & Conference in blogs, news sites and publications read more http://t.co/rZCFxDoS | |
|
|
|
| sensorsonline: Sensor and System Design Track: Sensor and System Design Track read more http://t.co/Sz29WxXv | |
| sensorsonline: Sensor and System Design Track: Sensor and System Design Track read more http://t.co/Sz29WxXv | |
|
|
|
| sensorsonline: Soitec and Sumitomo Electric Announce GaN Milestone: The strategic joint developed program has successfully demo... http://t.co/DH4MFCBG | |
| sensorsonline: Soitec and Sumitomo Electric Announce GaN Milestone: The strategic joint developed program has successfully demo... http://t.co/DH4MFCBG | |
|
|
|
| sensorsonline: Imec, Genalyte Report Disposable Silicon Biosensor Chips: The disposable silicon photonics biosensor chips will ... http://t.co/Y22O3Bwf | |
| sensorsonline: Imec, Genalyte Report Disposable Silicon Biosensor Chips: The disposable silicon photonics biosensor chips will ... http://t.co/Y22O3Bwf | |
|
|
|
| sensorsonline: Peter Himes: Peter Himes has over 25 years' experience in helping startups and public companies establish their ... http://t.co/483WVNWS | |
| sensorsonline: Peter Himes: Peter Himes has over 25 years' experience in helping startups and public companies establish their ... http://t.co/483WVNWS | |
|
|
|
| sensorsonline: RT @MDT_Sensor_News: Announcement to our new magnetic switch #sensors reposted at @sensorsonline, http://t.co/0QoriRIo | |
| sensorsonline: RT @MDT_Sensor_News: Announcement to our new magnetic switch #sensors reposted at @sensorsonline, http://t.co/0QoriRIo | |
|
|
|
| sensorsonline: Catch the latest Sensors Prod Picks featuring @Kionix @BoschSensortec @Dynasonics @InvenSense http://t.co/vGQvTtyh #sensorsmag | |
| sensorsonline: Catch the latest Sensors Prod Picks featuring @Kionix @BoschSensortec @Dynasonics @InvenSense http://t.co/vGQvTtyh #sensorsmag | |
|
|
|
| sensorsonline: RT @SensorsExpo: #sensors12 welcomes these exhibitors @KamanIndustrial @Sika @InfinitePower @Xeno @MEDERelectronic @Interplex @HBM @Sens ... | |
| sensorsonline: RT @SensorsExpo: #sensors12 welcomes these exhibitors @KamanIndustrial @Sika @InfinitePower @Xeno @MEDERelectronic @Interplex @HBM @Sens ... | |
|
|
|
| sensorsonline: You Can’t Manage What You Can’t Measure: Turning Sensor Data into ROI: read more http://t.co/dPKhTgLZ | |
| sensorsonline: You Can’t Manage What You Can’t Measure: Turning Sensor Data into ROI: read more http://t.co/dPKhTgLZ | |
|
|
|
| sensorsonline: Speaker Marketing Tool Kit: Marketing Tool Kit for speakers selected to present at the 2012 event. read more http://t.co/TST8jMpA | |
| sensorsonline: Speaker Marketing Tool Kit: Marketing Tool Kit for speakers selected to present at the 2012 event. read more http://t.co/TST8jMpA | |
|
|
|
| sensorsonline: Pondering Parking: One of the promises of wireless sensor networking is its ability to add a level of sensing an... http://t.co/s12IH4Ha | |
| sensorsonline: Pondering Parking: One of the promises of wireless sensor networking is its ability to add a level of sensing an... http://t.co/s12IH4Ha | |
|
|
|
| sensorsonline: IMUs/AHRS from YEI Technology: The 3-Space Sensor family of intelligent IMUs and AHRS from YEI Technology, Ports... http://t.co/OqklJSKs | |
| sensorsonline: IMUs/AHRS from YEI Technology: The 3-Space Sensor family of intelligent IMUs and AHRS from YEI Technology, Ports... http://t.co/OqklJSKs | |
|
|
|
| sensorsonline: Photoelectric Sensors from Pepperl+Fuchs: Pepperl+Fuchs Inc., Twinsburg, OH, has expanded its ML4.2 Series of su... http://t.co/P6fvyrKf | |
| sensorsonline: Photoelectric Sensors from Pepperl+Fuchs: Pepperl+Fuchs Inc., Twinsburg, OH, has expanded its ML4.2 Series of su... http://t.co/P6fvyrKf | |
|
|
|
| sensorsonline: Wall Shear Stress Sensors from Lenterra: RealShear sensors from Lenterra Inc, Newark, NJ, are inline sensors tha... http://t.co/i3CUF2JR | |
| sensorsonline: Wall Shear Stress Sensors from Lenterra: RealShear sensors from Lenterra Inc, Newark, NJ, are inline sensors tha... http://t.co/i3CUF2JR | |
|
|
|
| sensorsonline: 3D Metrology Software from InnovMetric: InnovMetric Software Inc., Quebec City, PQ, Canada, offers its V12.0.3 P... http://t.co/lMoTasYo | |
| sensorsonline: 3D Metrology Software from InnovMetric: InnovMetric Software Inc., Quebec City, PQ, Canada, offers its V12.0.3 P... http://t.co/lMoTasYo | |
|
|
|
| sensorsonline: RT @SensorsExpo: Registration is now live for 2012 Sensors Expo & Conf. Register w/code 602K for the lowest 2012 rates: http://t.co/q0yR ... | |
| sensorsonline: RT @SensorsExpo: Registration is now live for 2012 Sensors Expo & Conf. Register w/code 602K for the lowest 2012 rates: http://t.co/q0yR ... | |
|
|
|
| sensorsonline: January R&D Round Up: Welcome to 2012! As we start the new year, how about some intriguing research breakthroug... http://t.co/48NNA24d | |
| sensorsonline: January R&D Round Up: Welcome to 2012! As we start the new year, how about some intriguing research breakthroug... http://t.co/48NNA24d | |
|
|
|
| sensorsonline: 01-Jan-2012: 01-Jan-2012 read more http://t.co/N7p9u6Fc | |
| sensorsonline: 01-Jan-2012: 01-Jan-2012 read more http://t.co/N7p9u6Fc | |
|
|
|
| sensorsonline: Molly Bakewell Chamberlin: Molly Bakewell Chamberlin is President of Embassy Global LLC. http://t.co/23PIOzFU | |
| sensorsonline: Molly Bakewell Chamberlin: Molly Bakewell Chamberlin is President of Embassy Global LLC. http://t.co/23PIOzFU | |
|
|
|
| sensorsonline: Happy New Years! Make one of your resolutions to stay on top of industry news w/ @sensorsonline - sign up today at http://t.co/LFI8n1zU | |
| sensorsonline: Happy New Years! Make one of your resolutions to stay on top of industry news w/ @sensorsonline - sign up today at http://t.co/LFI8n1zU | |
|
|
|
| sensorsonline: What's New at Sensors...System Solutions for Industrial Sensors/Field Transmitters...and more http://t.co/n7speoxH | |
| sensorsonline: What's New at Sensors...System Solutions for Industrial Sensors/Field Transmitters...and more http://t.co/n7speoxH | |
|
|
|
| sensorsonline: Happy Holidays from the Sensors Team to Yours http://t.co/taoAX06L #happyholidays #sensorsmag #sensorsexpo #sensors12 | |
| sensorsonline: Happy Holidays from the Sensors Team to Yours http://t.co/taoAX06L #happyholidays #sensorsmag #sensorsexpo #sensors12 | |
|
|
|
| sensorsonline: December Product Picks avail now at http://t.co/09v3hVAT. See New Sensors, Components, and Data Acquisition & Control Products #sensorsmag | |
| sensorsonline: December Product Picks avail now at http://t.co/09v3hVAT. See New Sensors, Components, and Data Acquisition & Control Products #sensorsmag | |
|
|
|
| sensorsonline: RT @sherbornesensor: Great article in @sensorsonline 'MEMS: The Future Looks Bright' http://t.co/x0fjxBhz | |
| sensorsonline: RT @sherbornesensor: Great article in @sensorsonline 'MEMS: The Future Looks Bright' http://t.co/x0fjxBhz | |
|
|
|
| sensorsonline: Sensors Weekly is available here: http://t.co/cZSkJcxr. Catch the latest R&D Round Up and sensors news #sensorsnews #sensorsmag | |
| sensorsonline: Sensors Weekly is available here: http://t.co/cZSkJcxr. Catch the latest R&D Round Up and sensors news #sensorsnews #sensorsmag | |
|
|
|
| sensorsonline: triaxial accelerometers, chlorine sensors, thermal imagers & more products can be found in this week's Product Picks http://t.co/WS50rlEX | |
| sensorsonline: triaxial accelerometers, chlorine sensors, thermal imagers & more products can be found in this week's Product Picks http://t.co/WS50rlEX | |
|
|
|
| sensorsonline: Oct issue of What's New at Sensors is now live at http://t.co/z89lKgKU #potentiometers #positionsensing #sensorsmag | |
| sensorsonline: Oct issue of What's New at Sensors is now live at http://t.co/z89lKgKU #potentiometers #positionsensing #sensorsmag | |
|
|
|





