node-red-contrib-mlx-sensor 0.1.1

MLX90614 Infrared Temperature Sensor

npm install node-red-contrib-mlx-sensor


A node.js module for working with the infrared temperature sensor via i2c. Ported from

About the sensor

TThe MLX90614 is an infrared thermometer for non-contact temperature measurements. Both the IR sensitive thermopile detector chip and the signal conditioning ASIC are integrated in the same TO-39 can. Integrated into the MLX90614 are a low noise amplifier, 17-bit ADC and powerful DSP unit thus achieving high accuracy and resolution of the thermometer. Datasheet available via from melexis.

Install

TODO Have not published package yet use alternative
$ npm install mlx90614-driver

Alternative

$ cd <your-user-node-directory>
$ git clone https://github.com/prosperv/mlx90614-driver.git
$ npm install <path-to-mlx90614-driver>

Note: If you are installing the node module locally, the repo needs to be inside due to how node.js looks for packages.

Raspberry PI

Enable i2c on your Pi if you haven't done already. To avoid having to run the i2c tools as root add the ‘pi’ user to the i2c group:

sudo adduser pi i2c

Usage

var MLX90614 = require('mlx90614-driver');

var sensor = new MLX90614();

function getTemp() {
  var temp = sensor.readObject();
  console.log(temp);
}


window.setInterval(getTemp, 1000);

Node Info

Version: 0.1.1
Updated 6 months, 3 weeks ago
License: MIT
Rating: not yet rated

Downloads

0 in the last day
6 in the last week
21 in the last month

Nodes

  • mlx-sensor

Keywords

  • node-red
  • MLX90614
  • Infrared Temperature

Maintainers