[ANNOUNCE] node-red-contrib-ads1x15_i2c

This solves the issues with the now deprecated node-red-contrib-anolog-to-digital-converter-raspberry-pi
This node now uses ads1x15 - npm for async and fixes the issue of callbacks not being async/await

Now you can select channels to poll voltages on and receive one payload.
Selection of Single Ended or Differential is now separated.

3 Likes

Great, will test it this as soon as possible

1 Like

Very useful node. Thank you.

I am wondering if you have drawn live charts at a sampling rate of 860 :laughing:

1 Like

hi,
can anyone show explain how to access the 'Volts' value from js?
(voltage = msg.payload./dev/i2c-1.ads1115.0x48.singleEnded.channel_0.Volts; doesnt work).
Screenshot at 2024-02-04 16-39-08

gary

There’s a great page in the docs (Working with messages : Node-RED) that will explain how to use the debug panel to find the right path to any data item.

Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.

BX00Cy7yHi

2 Likes