Just one head-scratcher remains: why the monitor on the battery reports ~0A when the battery is discharging.

Negative power while the battery charges makes sense since the battery is receiving power rather than supplying it.

The server rack uses a combination of mains power (supplied by a 5kW solar inverter), grid power, and its own DC solar PV array during the day, but once the solar mains inverter stops producing more than 200W, mains power is shut off to the server rack… so it is forced to run off the batteries at this point.

The battery's output should be equal to the server load… but instead that INA219 reports ~0A.

Anyone have a clue what's going on there?

#INA219 #electronics

Я тут маялся с подключением к #OrangePi5 измеритель напряжения и силы тока #ina219 - но не сильно успешно. Но в руки мне попала #RaspberryPi4 и всё завелось без особых усилий.
Вот как так?

Think I solved why my inside Docker (ROS 2) access to I2C INA219 current sensor was colliding with my outside Docker access to the device - forgot to map the /var/lock directory so the mutex is visible from both environments!

#Docker #mutex #ina219 #robot #GoPiGo3 #ros2humble

Loving the INA219 Voltage and Current sensor. Allows my robot to monitor the Li-Ion battery recharging, and get off the dock when the charging current less is than 20mA. The robot is getting back on the dock when voltage shows there is about 15 minutes "playtime" left before the battery jerks the power off.

#ina219 #GoPiGo3 #robot #recharging #liion #battery

It took 5 days for my Heltec Lora v3 #meshtastic router node to use up 6.6Wh of one 18650 cell at 5% air utilization rate (one telemetry message per minute). That brings it to 6.6W / 5days /24h or 0.055W ([email protected]) on average.

Importantly, this node was also powering a #INA219 sensor which was doing the power measurements every minute.

Now I'll be doing a reference measurement without the INA219 and with zero telemetry.

Has anyone been able to trigger or read #INA219 using #esp32 ULP coprocessor during sleep?

The Heltec #ESP32 Lora v3 uses #TP4054 with 2K PROG resistor so it only supports 0.5A charge current which would give roughly 2W max. This is why I'm planning on connecting ESP32 to the 5V output of solar FP6276B and let it buck-convert to 3.3V via CE6260B33M.

I'm wondering if it would be possible to somehow measure the charge current and report that via the Lora node? Is #INA219 the only option?

@rabid_inventor @foosel
Not only it doesn't respond, but I have also an #INA219 current sensor, to measure the solar input and it stopped working too.

So probably it messes with the whole I2C communication.

The sensor did fine until after some days with rain, which shot up the humidity. Unfortunately Home Assistant doesn't keep all the logs so here it's from last week.

I guess I shouldn't buy cheap sensors from china.

#BME280 #arduino #esp8266 #esp32 #homeassistant

Hackaday Prize 2023: Pi Pico Measures Volts, Amps And Watts

Measuring a voltage is pretty easy: just place your multimeter’s probes across the relevant pins and read the value. Probing currents is a bit trickier, since you need to open up the circuit …

Hackaday