Has any body any experience of using fuel gauge,like MAX17044, MAX17048 or any other, with ESP-IDF?
Or using ADC reading is the only choice to get LiPo battery condition?
Fuel Gauge to go with ESP32
Re: Fuel Gauge to go with ESP32
Both MAX17044 and MAX17048 have I2C interfaces. It shouldn't be hard to whip up some code to read the two chips using ESP-IDF I2C driver. Take a look at the esp-iot-solutions repo as it contains a bunch of examples on talking to different sensors over I2C.Zeni241 wrote: Has any body any experience of using fuel gauge,like MAX17044, MAX17048 or any other, with ESP-IDF?
Or using ADC reading is the only choice to get LiPo battery condition?
Using the ESP32's internal ADC is also an option (which requires less hardware and probably saves costs). But the downside to using the internal ADC is having to deal with calibrating the ADC and your circuit to get an accurate reading of the battery voltage.
Re: Fuel Gauge to go with ESP32
Great. Thank you Dazz. Also the link esp-iot-solutions repo is great.
Re: Fuel Gauge to go with ESP32
Wow, I left the battery world for a couple years and now there are fuel-gauges that don't need to measure current!? I'm betting there's some sophisticated algorithms and DSP going on in there. https://www.maximintegrated.com/en/prod ... 17048.html
I don't advise trying to roll-your-own battery fuel-gauge - it's very difficult to get it right (I know from experience).
I don't advise trying to roll-your-own battery fuel-gauge - it's very difficult to get it right (I know from experience).
Who is online
Users browsing this forum: Baidu [Spider], jjsch-dev and 105 guests