bammer187/ads1115

1.0.0

Latest
uploaded 4 hours ago
ESP-IDF compatible ADS1115 Library

readme

# ADS1115 Library for ESP-IDF (v5.x)
This is a lightweight, non-blocking C library for the ADS1115 16-bit ADC, designed specifically for the **ESP32** using the modern `i2c_master` driver.

## Table of Contents
  - [Features](#features)
  - [Installation](#installation)
  - [License](#license)

## Features

- Modern ESP-IDF: Uses the new i2c_master driver (v5.0+).
- Single-Shot Mode: Power-efficient measurements.
- Differential Measurements: Support for measuring voltage differences (e.g., across shunts).
- Configurable Gain & SPS: Easy-to-use enums for Full Scale Range and Data Rate.
- Polling Synchronization: Ensures data is ready before reading (checks OS bit).

## Installation

### Manual Integration

Copy the source files (`ads1115.c`, `ads1115.h`, `CMakeLists.txt`) into your project's components or main directory. Ensure the header file is accessible within your include path

### ESP-IDF Component Manager
`idf.py add-dependency "bammer187/ads1115^1.0.0"`

### Add as submodule
`git submodule add https://github.com/Bammer187/ADS1115.git components/ads1115`

Don't forget to update your `CMakeLists.txt`!

## License

[MIT License](LICENSE)

Links

Supports all targets

License: MIT

To add this component to your project, run:

idf.py add-dependency "bammer187/ads1115^1.0.0"

download archive

Stats

  • Archive size
    Archive size ~ 7.39 KB
  • Downloaded in total
    Downloaded in total 0 times
  • Downloaded this version
    This version: 0 times

Badge

bammer187/ads1115 version: 1.0.0
|