1.0.2 • Published 6 years ago

ncd-red-ams5812 v1.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

This library provides a class for the AMS5812 series, it relies on the ncd-red-comm library for communication, and includes a node-red node for AMS5812. AMS5812 pressure sensors are a series of high-precision OEM sensors with a digital I²C-interface. Ncd.io manufactures several mini-modules that utilize these sensors for different applications. You can see a list here.

AMS5812

Installation

This library can be installed with npm with the following command:

npm install ncd-red-ams5812

For use in node-red, use the same command, but inside of your node-red directory (usually ~./node-red).

Usage

The test.js file included in this library contains basic examples for use. All of the available configurations are available in the node-red node through the UI.

Raspberry Pi Notes

If you intend to use this on the Raspberry Pi, you must ensure that: 1. I2C is enabled (there are plenty of tutorials on this that differ based on the Pi version.) 2. Node, NPM, and Node-red should be updated to the latest stable versions. If you skip this step the ncd-red-comm dependency may not load properly.