# 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
You 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 <miles@mnetcs.com> originally developed this library.
Tim Newsome <nuisance@casualhacker.net> added support for multiple sensors on
the same bus.
Guil Barros [gfbarros@bappos.com] added getTempByAddress (v3.5)
Note: these are implemented as getTempC(address) and getTempF(address)
Rob Tillaart [rob.tillaart@gmail.com] added async modus (v3.7.0)
## Website
You can find the latest version of the library at
https://www.milesburton.com/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
没有合适的资源?快使用搜索试试~ 我知道了~
DS18B20DS18B20DS18B20
共35个文件
ino:21个
h:4个
json:2个
需积分: 0 2 下载量 11 浏览量
2022-09-01
21:21:07
上传
评论 1
收藏 53KB RAR 举报
温馨提示
DS18B20DS18B20DS18B20
资源详情
资源评论
资源推荐
收起资源包目录
DS18B20.rar (35个子文件)
DS18B20
DallasTemperature
DallasTemperature.cpp 29KB
DallasTemperature.h 9KB
library.json 955B
keywords.txt 2KB
library.properties 468B
examples
Timing
Timing.ino 2KB
oneWireSearch
oneWireSearch.ino 1KB
Single
Single.ino 4KB
Alarm
Alarm.ino 4KB
AlarmHandler
AlarmHandler.ino 4KB
Multibus_simple
Multibus_simple.ino 1KB
UserDataWriteBatch
UserDataWriteBatch.ino 2KB
Tester
Tester.ino 4KB
SaveRecallScratchPad
SaveRecallScratchPad.ino 3KB
TwoPin_DS18B20
TwoPin_DS18B20.ino 1KB
setUserData
SetUserData.ino 1KB
ExternalPullup
ExternalPullup.ino 1KB
WaitForConversion
WaitForConversion.ino 2KB
readPowerSupply
readPowerSupply.ino 3KB
WaitForConversion2
WaitForConversion2.ino 2KB
Simple
Simple.ino 1KB
UserDataDemo
UserDataDemo.ino 2KB
Multiple
Multiple.ino 5KB
README.md 2KB
OneWire
docs
issue_template.md 2KB
OneWire.h 7KB
library.json 1KB
OneWire.cpp 18KB
keywords.txt 857B
library.properties 429B
examples
DS2408_Switch
DS2408_Switch.ino 2KB
DS18x20_Temperature
DS18x20_Temperature.ino 3KB
DS250x_PROM
DS250x_PROM.ino 4KB
util
OneWire_direct_gpio.h 17KB
OneWire_direct_regtype.h 1KB
共 35 条
- 1
创客@小白
- 粉丝: 302
- 资源: 88
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0