obniz Parts Library

LMT87

GitHub
LMT87
Usable Devices :
obniz_board
Found at :
秋月電子通商
www.digikey.com

Temperature Sensor - LMT87

Temperature and Humidity sensor LMT87

photo of AnalogTemperatureSensor

wired(obniz, {vcc, gnd, output})

// Javascript Example
var tempsens = obniz.wired("LMT87", { gnd:0 , output:1, vcc:2});

onchange

callback function for temperature change.
Unit of temp is Celsius

// Javascript Example
var tempsens = obniz.wired("LMT87",   { gnd:0 , output:1, vcc:2});
tempsens.onchange = function(temp){
console.log(temp)
};

[await]getWait

get temperature change.
Unit of temp is Celsius

// Javascript Example
var tempsens = obniz.wired("LMT87",   { gnd:0 , output:1, vcc:2});
var temp = await tempsens.getWait();
console.log(temp);

Supported from: obniz.js 3.5.0

You will Get in Few Days

Circuit for Starter “obniz Board” is available on Amazon and other online stores.
You can get it at below

Our products and resellers

Forum

Visit our developer’s forum to discuss and discover technologies.

Forum

Contact

Feel free to contact out support and technical team.

Contact us