𝗨𝗻𝗱𝗲𝗿𝘀𝘁𝗮𝗻𝗱𝗶𝗻𝗴 𝗔𝗗𝗖𝘀 𝗮𝗻𝗱 𝘁𝗵𝗲 𝗔𝗗𝗦𝟭𝟭𝟭𝟱 𝘄𝗶𝘁𝗵 𝗥𝗮𝘀𝗽𝗯𝗲𝗿𝗿𝘆 𝗣𝗶

The Raspberry Pi lacks a built-in Analog-to-Digital Converter (ADC).

This means you cannot read analog sensors directly. You cannot connect these devices to a Pi by themselves:

You need an external ADC to bridge this gap. The ADS1115 is a high-precision 16-bit ADC. It connects to your Raspberry Pi via the I2C protocol.

How an ADC works: An ADC converts varying voltage into digital numbers. It follows three steps:

Resolution matters. Higher resolution means better precision.

Why use the ADS1115?

How to connect it:

Setup steps:

  1. Enable I2C in raspi-config.
  2. Install i2c-tools to verify the device.
  3. Run i2cdetect -y 1. You should see address 0x48.
  4. Install the Adafruit ADS1x15 library using pip.

You can use this module for smart agriculture, battery management, and industrial automation. It turns physical sensor data into digital information your code can use.

Source: https://dev.to/kenryikegbo/understanding-adcs-and-using-the-ads1115-with-raspberry-pi-40m6

Optional learning community: https://t.me/GyaanSetuAi