npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@rakwireless/ads7830

v1.0.0

Published

A Node-RED node providing access to an ADS7830 I2C analog to digital converter

Downloads

24

Readme

@rakwireless/ads7830

A Node-RED node providing access to a ADS7830 I2C analog to digital converter.

version downloads

Install from Node-RED

From within NodeRED, visit the top right menu, select Manage palette and then the Install tab. Look for @rakwireless/ads7830 and install it.

Manual installation (development)

Please install @rakwireless/ads7830 node with the following commands. If you use docker of Node-RED, you may need to replace ~/.node-red with /usr/src/node-red.

git clone https://github.com/RAKWireless/node-red-nodes.git
cp -rf node-red-nodes/node-red-contrib-ads7830 ~/.node-red/node_modules
cd ~/.node-red/node_modules/node-red-contrib-ads7830 && npm install

Tips: After @rakwireless/ads7830 being installed, Node-RED should be restarted, otherwise, the node cannot be found on the page.

Usage

NOTE: Please make sure that user of system has the permissions to access i2c device, or you cannot get the result you want when use ads7830 node, the result will be empty.

To get a voltage or difference of voltage from a ADS7830 analog to digital converter just select the correct setting for your device and trigger the node.

  • Name

    Define the msg name if you wish to change the name displayed on the node.

  • /dev/i2c-?

    Default I2C Bus is 1. 1 is for '/dev/i2c-1'.

  • i2c_Address

    The Address by default is set to 0x4A. You can setup the ADS7830 with one of four addresses, 0x48, 0x49, 0x4a, 0x4b. Please see ads7830 documentation for more information.

  • Inputs

    Inputs may be used for Single-ended measurements (like A0-GND) or Differential measurements (like A0-A1). Single-ended measurements measure voltages relative to a shared reference point which is almost always the main units ground. Differential measurements are “floating”, meaning that it has no reference to ground. The measurement is taken as the voltage difference between the two wires. Example: The voltage of a battery can be taken by connecting A0 to one terminal and A1 to the othe with Common-ground.

  • Internal Reference

    Open or close internal Reference in chip.

  • A/D Converter

    Open or close A/D Converter in chip.

Example

rak16001-read - Extend RAK16001 in RAK7391 board and test it with NodeRed.

License

This project is licensed under MIT license.