tmp36

1.1.0 • Public • Published

tmp36js

Node.js module for temperature reading from TMP36 sensor via PCF8591 analog/digital converter using WiringPi GPIO command line utility.

Usage

var tmp36 = require('tmp36');  
var t = new tmp36();  
setInterval(  
    function() {  
        console.log(t.temperature());  
    },  
    500  
);

Defaults

{  
    address: 120,
    base: 48,
    pin: 0,
    voltage: 3.3,
    interval: 300,
    samples: 20,
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    1
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i tmp36

Weekly Downloads

1

Version

1.1.0

License

none

Last publish

Collaborators

  • kavacky