Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/milesburton/Arduino-Temperature-Control-Library
Arduino Temperature Library
https://github.com/milesburton/Arduino-Temperature-Control-Library
Last synced: 3 months ago
JSON representation
Arduino Temperature Library
- Host: GitHub
- URL: https://github.com/milesburton/Arduino-Temperature-Control-Library
- Owner: milesburton
- Created: 2012-05-03T19:04:36.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-05-29T11:38:51.000Z (8 months ago)
- Last Synced: 2024-07-31T22:42:39.719Z (6 months ago)
- Language: C++
- Homepage: https://www.milesburton.com/w/index.php/Dallas_Temperature_Control_Library
- Size: 262 KB
- Stars: 963
- Watchers: 75
- Forks: 486
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-arduino - Arduino-Temperature-Control-Library - Arduino Library for Maxim Temperature Integrated Circuits (Libraries)
- awesome-arduino - Arduino-Temperature-Control-Library - Arduino Library for Maxim Temperature Integrated Circuits (Libraries)
README
[![Arduino CI](https://github.com/milesburton/Arduino-Temperature-Control-Library/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
[![Arduino-lint](https://github.com/milesburton/Arduino-Temperature-Control-Library/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/AS5600/actions/workflows/arduino-lint.yml)
[![JSON check](https://github.com/milesburton/Arduino-Temperature-Control-Library/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/AS5600/actions/workflows/jsoncheck.yml)
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/milesburton/Arduino-Temperature-Control-Library/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/milesburton/Arduino-Temperature-Control-Library.svg?maxAge=3600)](https://github.com/milesburton/Arduino-Temperature-Control-Library/releases)# Arduino Library for Maxim Temperature Integrated Circuits
## Usage
This library supports the following devices :
* DS18B20
* DS18S20 - Please note there appears to be an issue with this series.
* DS1822
* DS1820
* MAX31820
* MAX31850You will need a pull-up resistor of about 5 KOhm between the 1-Wire data line
and your 5V power. If you are using the DS18B20, ground pins 1 and 3. The
centre pin is the data line '1-wire'.In case of temperature conversion problems (result is `-85`), strong pull-up setup may be necessary. See section
_Powering the DS18B20_ in
[DS18B20 datasheet](https://datasheets.maximintegrated.com/en/ds/DS18B20.pdf) (page 7)
and use `DallasTemperature(OneWire*, uint8_t)` constructor.We have included a "REQUIRESNEW" and "REQUIRESALARMS" definition. If you
want to slim down the code feel free to use either of these by including#define REQUIRESNEW
or
#define REQUIRESALARMS
at the top of DallasTemperature.h
Finally, please include OneWire from Paul Stoffregen in the library manager before you begin.
## Credits
The OneWire code has been derived from
http://www.arduino.cc/playground/Learning/OneWire.
Miles Burton originally developed this library.
Tim Newsome added support for multiple sensors on
the same bus.
Guil Barros [[email protected]] added getTempByAddress (v3.5)
Note: these are implemented as getTempC(address) and getTempF(address)
Rob Tillaart [[email protected]] added async modus (v3.7.0)## Website
Additional documentation may be found here
https://www.milesburton.com/w/index.php/Dallas_Temperature_Control_Library# License
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA