Class OneWireContainer22

All Implemented Interfaces:
OneWireSensor, TemperatureContainer

public class OneWireContainer22 extends OneWireContainer28 implements TemperatureContainer

1-Wire container for temperature iButton which measures temperatures from -55@htmlonly invalid input: '&#176'C @endhtmlonly to +125@htmlonly invalid input: '&#176'C @endhtmlonly, DS1822. This container encapsulates the functionality of the iButton family type 22 (hex)


  • Measures temperatures from -55@htmlonly invalid input: '&#176'C @endhtmlonly to +125@htmlonly invalid input: '&#176'C @endhtmlonly. Fahrenheit equivalent is -67@htmlonly invalid input: '&#176'F @endhtmlonly to +257@htmlonly invalid input: '&#176'F @endhtmlonly
  • Power supply range is 3.0V to 5.5V
  • Zero standby power
  • +/- 2@htmlonly invalid input: '&#176'C @endhtmlonly accuracy from -10@htmlonly invalid input: '&#176'C @endhtmlonly to +85@htmlonly invalid input: '&#176'C @endhtmlonly
  • Thermometer resolution programmable from 9 to 12 bits
  • Converts 12-bit temperature to digital word in 750 ms (max.)
  • User-definable, nonvolatile temperature alarm settings
  • Alarm search command identifies and addresses devices whose temperature is outside of programmed limits (temperature alarm condition)
  • Software compatible with DS18B20 (family type 28 hex)


See the usage example in TemperatureContainer for temperature specific operations.

See Also:
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Retrieves the Maxim Integrated Products part number of this OneWireContainer22 as a String. For example 'DS1822'.
      getName in class OneWireContainer28
      this OneWireContainer22 name
    • getAlternateNames

      public String getAlternateNames()
      Retrieves the alternate Maxim Integrated Products part numbers or names. A 'family' of 1-Wire Network devices may have more than one part number depending on packaging. There can also be nicknames such as 'Crypto iButton'.
      getAlternateNames in class OneWireContainer28
      this OneWireContainer22 alternate names
    • getDescription

      public String getDescription()
      Retrieves a short description of the function of this OneWireContainer22 type.
      getDescription in class OneWireContainer28
      OneWireContainer22 functional description