spark-dallas-temperature (community library)


Name Value
Name spark-dallas-temperature
Version 0.0.7
Installs 98413
License MIT
Author Tom de Boer
Maintainer Particle
Download .tar.gz
All Versions 0.0.7, 0.0.6, 0.0.5, 0.0.4, 0.0.2, 0.0.1

A Particle device compatible, but otherwise untouched libary for controlling Dallas Temperature Sensors (DS18B20, DS18S20, DS1822,DS1820)

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.

Spark Core compatible Dallas Temperature sensor library

This library is a port of the original Arduino compatible Dallas Sensor library. Some includes have been fixed, but the libary is otherwise untouched.

Note: This library depends on the OneWire library.

Original repository by Miles Burton: Arduino-Temperature-Control-Library.

Getting Started

This library supports the following devices :

  • DS18B20
  • DS18S20 - Please note there appears to be an issue with this series.
  • DS1822
  • DS1820

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'.

Browse Library Files