uploaded 3 days ago
INA226 driver for voltage and power measurement

readme

# INA226 component for ESP-IDF

[![Examples build](https://github.com/cybergear-robotics/ina226/actions/workflows/build_example.yml/badge.svg)](https://github.com/cybergear-robotics/ina226/actions/workflows/build_example.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/cybergear-robotics/ina226/graphs/commit-activity)
[![Framework](https://img.shields.io/badge/Framework-ESP_IDF-orange.svg)](https://shields.io/)
[![Language](https://img.shields.io/badge/Language-C-purple.svg)](https://shields.io/)


## Using component
```bash
idf.py add-dependency "cybergear-robotics/ina226"
```

## Example
Not all examples are ported. For further examples, please look at the original project.

1. create example project
```bash
idf.py create-project-from-example "cybergear-robotics/ina226:read_voltage"
```
2. Go to to example directory (for example `read_voltage`)
   `cd read_voltage`
3. Set ESP chip
   `idf.py set-target esp32`
4. Configure I2C settings
   `idf.py menuconfig`
5. Build, flash
   `idf.py build flash monitor`


Links

Supports all targets

Maintainer

  • Johannes Fischer

License: MIT

To add this component to your project, run:

idf.py add-dependency "cybergear-robotics/icm20948^1.0.0"

or download archive

Stats

  • Archive size
    Archive size ~ 7.01 KB
  • Downloaded in total
    Downloaded in total 1 time
  • Downloaded this version
    This version: 0 times

Badge

cybergear-robotics/icm20948 version: 1.0.0
|