Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

vdbxio/ina237

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Deprecated 24.02

Deprecated in favor of https://github.com/latonita/esphome-ina228

Overview

This is the INA237 External Component for ESPHome specifically for the PwrTool 500 hardware from VDBX.io

YAML Config

external_components:
    - source: github://vdbxio/ina237@main
      components: [ina237]

and

sensor:
  - platform: ina237
    address: 0x40
    shunt_resistance: 0.0001 ohm
    temperature:
      name: INA237 Temperature
    current:
      name: INA237 Current
    power:
      name: INA237 Power  
    bus_voltage:
      name: INA237 Bus Voltage
    shunt_voltage:
      name: INA237 Shunt Voltage
      accuracy_decimals: 6
    max_voltage: 60.0V
    max_current: 500A
    gain: 1x
    update_interval: 500ms

TODO & Notes

  • Current and Power seem to be returning as 100x too small - more testing needed
  • ADC Config needs to be fixed - gain doesn't work - need access to in-built conversion times & averaging settings

Reference

Ilvesmaki/INA237

About

INA237 Component for ESPHome

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published