Node-Red node for ads1115 analog to digital converter
Install with Node-Red Palette Manager or npm command:
cd ~/.node-red
npm install @iiot2k/node-red-ads1115
View on npm
View on Node-Red
View used library
Report any issues here
ads1115 16bit analog to digital converter
- 16bit Conversion Resolution.
- Four Analog Inputs.
- Each input can be selected Single-Ended, Differential.
- Internal Voltage Reference.
- Internal Oscillator.
- Programmable Data Rate 8 SPS to 860 SPS.
- The PGA offers input ranges from ±256 mV to ±6144 mV.
- I2C Interface with four pin-selectable addresses.
Node ads1115 reads single adc input.
Node ads1115-m reads multiple adc inputs.
- This node works on Raspberry Pi with 32bit or 64bit OS.
- The output value is mV or adc raw data.
- Enable I2C with raspi-config.
- In this case i2c-1 is enabled (port=1).
- If you use i2c-0 port add
dtparam=i2c_vc=on
to /boot/config.txt,
then Pin27=SDA, Pin28=SCK.
- For other ports add this to /boot/config.txt.
I2C Address | ADDR Pin |
---|---|
48H | GND or open |
49H | VCC |
4AH | SDA |
4BH | SCL |