mirror of https://github.com/periph/devices
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
967 B
Go
29 lines
967 B
Go
// Copyright 2016 The Periph Authors. All rights reserved.
|
|
// Use of this source code is governed under the Apache License, Version 2.0
|
|
// that can be found in the LICENSE file.
|
|
|
|
// Package ds18b20 interfaces to Dallas Semi / Maxim DS18S20, DS18B20 and
|
|
// MAX31820 1-wire temperature sensors.
|
|
//
|
|
// Note that both DS18B20 and MAX31820 use family code 0x28.
|
|
//
|
|
// Both powered sensors and parasitically powered sensors are supported
|
|
// as long as the bus driver can provide sufficient power using an active
|
|
// pull-up.
|
|
//
|
|
// The DS18B20/DS18S20 alarm functionality and reading/writing the 2 alarm
|
|
// bytes in the EEPROM are not supported.
|
|
//
|
|
// # More details
|
|
//
|
|
// See https://periph.io/device/ds18b20/ for more details about the device.
|
|
//
|
|
// # Datasheets
|
|
//
|
|
// https://datasheets.maximintegrated.com/en/ds/DS18B20-PAR.pdf
|
|
//
|
|
// https://datasheets.maximintegrated.com/en/ds/DS18S20.pdf
|
|
//
|
|
// https://datasheets.maximintegrated.com/en/ds/MAX31820.pdf
|
|
package ds18b20
|