Library for reading temperature from DS1820, DS18B20 and DS1822

Dependencies:   LinkedList

Dependents:   heatmap BLE_Temperature BLE_Temperature_Exercise F334andDS18B20 ... more

Fork of DS1820 by David Pairman

HelloWorld: http://mbed.org/users/Sissors/code/DS1820_HelloWorld/

Library should currently work on all mbed targets, let me know if there is an issue. First however make sure you have latest version of mbed library and this library.

Changes

RevisionDateWhoCommit message
15:236eb8f8e73a 6 months agoSissorsRemoved specialized STM code (still uses OpenDrain mode), should work now still. default tip
14:c591209285e9 8 months agoSissorsSwitched for STM devices to OpenDrain mode. Since also OpenDrain mode is bugged for STM devices it has a workaround to properly enable it. Should be removed once STM fixes it in the mbed lib.
13:51a5011dc0ad 2015-03-09SissorsSwitched to Sam's LinkedList
12:196e9e54b033 2015-02-26SissorsFixed issue with multplie probes
11:1a3c3002b50c 2015-02-16SissorsRenamed all CRC to _CRC to remove conflict with STM devices.
10:d297ce9ce422 2015-01-30floriancorrection of bugs compared to original library.; _Unitialized variable; _Wrong reading of temperature (when subdegree precision is required)
9:3821ca0b7f14 2015-01-29floriansuppress a bug uninitialized variable
8:d87e11e8d012 2014-07-08SissorsInstead of open drain use CMOS output for writing. Not according to standard, but can help for long busses. And helps with parasite powered via data pin (no external mosfet)
7:58b61681818f 2014-04-08SissorsAdded define for invalid conversion
6:abfdd851218a 2014-04-02Sissorsset default convert temperature to all devices
5:2cd4928e8147 2014-02-24SissorsSimplified code, works also on KL25Z now, added support for DS1822
4:29264b0a2c9f 2013-08-07pairmandAdded check of CRC to end of search_ROM
3:8f2b7f4940b5 2013-08-01pairmandFixed to work with latest library version, allowed immediate return from convert_temperature(), and tidied up a few other things.
2:ee820a991b95 2011-12-15Michael_Updated documentation. (maybe)
1:6a427f54e82c 2011-12-14Michael_Added code to support the DS18B20
0:61d83318f2d6 2010-12-19Michael_Dec 18, 2010 First pubication