Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?

[Ideas For Design]

1-Wire Technology Simplifies Humidity And Temperature Measurement



Contributing Author  |   ED Online ID #5035  |   December 18, 2000

Article Rating: Not Rated

A new 1-Wire technology component, the DS2438 Smart Battery Monitor provides several functions. Developed by Dallas Semiconductor, this device offers a unique 64- bit serial number, an internal temperature sensor, and an A/D that measures both the supply voltage (VDD) and the sensor voltage (VAD). It also acts as an integrated current accumulator and an elapsed time meter, while providing 40 bytes of EEPROM memory for nonvolatile storage of data or calibration values.

In this application, the internal nonvolatile memory is used to store the humidity and temperature calibration values as well as the sensor location data (see the figure).

Using 1-Wire technology, the DS2438 transmits both power and bidirectional data over a single twistedpair cable. Therefore, no extra wiring or power is required. (For detailed protocol information for the 1-Wire technology, refer to the Dallas iButton handbook.)

The Honeywell HIH-3605 was selected as the humidity sensor. This device provides a linear voltage-versusrelative-humidity (RH) output. Although the sensor is powered by 5 V dc, it’s capable of operating over a 4- to 5.8-V range. When the supply voltage changes, the sensor’s RH output voltage varies proportionally.

Once the sensor’s RH output voltage and supply voltage have been acquired, the RH value can be calculated according to the following formula:

RH% = [VAD − (0.157 × VDD)]/(0.00616 × VDD)

The DS2438 reports its own temperature from an internal 13-bit sensor whose LSB represents an increment of 0.03125°. Both the supply voltage and the RH output voltage are part of the three-wire connection to the humidity sensor.

A Keil C compiler was used to implement the firmware for the 1-Wire communication between the DS2438 and the AT89C51 MCU. This program is necessary for creating the humidity and temperature measurement function. To view the listing, go to www.planetee.com and click on the “Ideas for Design” icon.




Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


  • Network-On-Chip Tools Arrive for The Masses
  • Tackling System Design Challenges Through Early Verification
  • ESL Tools Take Center Stage As Designers Move Up
  • Parasitic Extraction Tool Targets Next-Generation Custom ICs
  • Synopsys Jumps Into ESL-Synthesis Pool
  • Verify Control Systems Before Committing To Hardware
  • You're Using How Many FPGAs?
  • Tool Up For The FPGA Blitz
    1) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (178 views today)
    2) Hot Hands For Some Cool Rock: Motion Sensing Meets Audio Engineering
    (169 views today)
    3) Adjustment-Free Fan Controller For Under $1
    (106 views today)
    4) Science Fiction Meets Science Fact In Today's Robot Research
    (106 views today)
    5) What's All This Transimpedance Amplifier Stuff, Anyhow? (Part 1)
    (105 views today)
    ALL TOP 20







    POST YOUR COMMENTS HERE

    Name:

    Email:
    Rate this article:

     less useful more useful 
    1
    2
    3
    4
    5
    Your Comments:

    Enter the text from the image below




    Please refresh the page if you have trouble reading this text.
    (Acceptable Use Policy)
     
     

    PartFinder

    Find real-time pricing, stock status, same-day/next-day shipping options and more. Brought to you by Digi-Key. Go to PartFinder.    
    GlobalSpec

    PART SEARCH :
    Powered by: GlobalSpec - The Engineering Search Engine
    Sponsored Links

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources