Skip to content

OLED screen shows current to 0.00mA when charger is disconnected #2

@xblend

Description

@xblend

Hi, I am using Waveshare's Jetbot AI kit, when I scanned the i2c bus, I got to know that the address 0x42 on the i2c bus was not acquired. However, I saw that the address 0x41 was been acquired so I updated the display_server.py file accordingly, it displays the voltage and battery capacity to 100% while disconnected from the charger, but the current shown is 0.00mA.
I tried running the ina219.py file on the address 0x41 to get the following output:

  1. When the charger is not connected
python3 -m ups_display.ina219
Load Voltage:  11.796 V
Current:        0.000000 A
Power:          0.000 W
Percent:       100.0%
  1. When the charger is connected
Load Voltage:  12.296 V
Current:        2.026800 A
Power:         24.882 W
Percent:       100.0%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions