DS18B20-1.0.0.zip

  • Abhi1028
    了解作者
  • WINDOWS
    开发工具
  • 933KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 0
    下载次数
  • 2021-04-06 18:28
    上传日期
Temperature sensor ds18b20 code
DS18B20-1.0.0.zip
  • DS18B20-1.0.0
  • examples
  • Multiple
  • Multiple.ino
    1.2KB
  • Alarms
  • Alarms.ino
    608B
  • Single
  • Single.ino
    591B
  • extras
  • single_external.png
    193KB
  • multiple_external.png
    197.5KB
  • single_parasite.png
    192.8KB
  • mixed_mode.png
    197.4KB
  • multiple_parasite.png
    196.5KB
  • src
  • DS18B20.cpp
    8.3KB
  • DS18B20.h
    2.5KB
  • keywords.txt
    631B
  • library.properties
    468B
  • LICENSE.txt
    1.1KB
  • README.md
    1.7KB
内容介绍
# DS18B20 # Arduino library for the Maxim Integrated DS18B20 1-Wire temperature sensor. This library is very simple and intuitive to use, and supports auto-discovering sensors with an optional high/low condition or manually addressing individual sensors. For example, we can get the temperature from every sensor on the wire with just a few lines of code: ``` #include <DS18B20.h> DS18B20 ds(2); void setup() { Serial.begin(9600); } void loop() { while (ds.selectNext()) { Serial.println(ds.getTempC()); } } ``` See the included [examples](/examples/) for more. ## Installation ## This library uses the OneWire library, so you will need to have this installed. Install it using the Library Manager in the Arduino IDE or download the latest release from [GitHub](https://github.com/PaulStoffregen/OneWire). In the **OneWire.h** file set `ONEWIRE_SEARCH` to 0 since the search functionality is also implemented in this library (don't do this if you need the search functionality for other 1-Wire devices). CRC must be enabled (choose whichever algorithm you prefer). This may save some space on your Arduino. ## Wiring the DS18B20 ## The resistor shown in all the circuit diagrams is 4.7k Ohm pullup resistor. ### External Power Mode ### #### Single #### ![A single externally powered DS18B20](/extras/single_external.png) #### Multiple #### ![Multiple externally powered DS18B20s](/extras/multiple_external.png) ### Parasitic Power Mode ### #### Single #### ![A single parasite powered DS18B20](/extras/single_parasite.png) #### Multiple #### ![Multiple parasite powered DS18B20s](/extras/multiple_parasite.png) ### Mixed Power Mode ### ![Mixed mode DS18B20s](/extras/mixed_mode.png)
评论
    相关推荐
    • ds18b20驱动.zip
      ds18b20驱动,单片机开发,温度传感器
    • 单片机+读取DS18B20序列号
      单片机读取DS18B20序列号,方便多级控制
    • ds18b20:ds18b20 温度传感器
      #DS18B20 温度传感器与Python ##Run on Raspberry Pi 我用 Archlinux 运行这个 ###我使用了 Systemd/定时器 ds18b20.timer [Unit] Description=Run ds18b20 for temperature [Timer] OnBootSec=1min ...
    • ds18b20
      DS18B20温度传感器 处理树莓派的DS18B20温度传感器的类和方法。 该文件将成为您的自述文件以及文档的索引。 安装 pip install ds18b20 如何使用 请填写我! 不要忘记代码示例: device = Device(base_dir='...
    • DS18B20程序_2.zip
      DS18B20测温程序,STM32测温,基于STM32F103ZET6,可扩展。
    • DS18B20.rar
      读温度模块DS18B20(STC15Fxxxx)C语言程序
    • 25 DS18B20温度传感器实验.zip
      DS18B20的读写时序和测温原理与DS1820相同,只是得到的温度值的位数因分辨率不同而不同,且温度转换时的延时时间由2s减为750ms。 DS18B20测温原理如图3所示。图中低温度系数晶振的振荡频率受温度影响很小,用于产生...
    • ds18b20.rar
      ds18b20开发的资料,详细的有相关的介绍
    • DS18B20.zip
      通过控制51单片机将DS18B20检测到的温度在LCD1602上显示
    • SPHE8281DV01.rar
      sunplus(凌阳)8202D的data sheet,内部资料,很难找的