rdz_ttgo_sonde
rdz_ttgo_sonde copied to clipboard
Add support for AXP2101 (battery voltage + 2nd button)
New T-Beam V1.2 has replaced PMU
There is no AXP192 but AXP2101
Please add support for that chip, probably migration to XPowersLib is needed.
https://github.com/dl9rdz/rdz_ttgo_sonde/pull/379
Hi, just wondering if you have seen this https://www.aliexpress.com/item/4001178678568.html in which they say that adding a 22R resistor between GPS Supply rail and LORA Supply rail fixes the low output from the new power chip that causes the LORA chip not to work? It could get it working until the software can be updated.
Interesting. There is nothing about SW loaded. What version erc. Maybe this is dirty HW hack for SW without AXP2101 support?
Well, devel20230828b should contain all necessary code for (a) initializing the AXP2101 and (b) handling the AXP2101 button. Let me know if not. There is also a pull request with updates that add support for reading battery values from the AXP2101 that I still have to merge.
The site you are linking to shows that this is from Aug 25, so that was before the devel of Aug 28 was released :) So at that time such mod might have been necessary.
So at that time such mod might have been necessary.
Yes, I think so.
Hack HW or write copule lines of code ;)
Hi Guys,
any luch if latest dev version is fixing that battery problem ? I have the latest dev and battery stats are not working same story with on board GPS in t-beam? I can give you debug logs if required
Thanks Rafal SQ4LOL
No update since devel20230828b, and with that:
- The power configuration is working, i.e. RX and GPS should be working fine
- Enhancements on the battery stats on the screen are in a pending pull requests. Still have to merge that (Sorry, I was too busy over the last weeks)
- The AXP2101 is different and does not provide all features, in particular current measurements are not supported. So these will never be working in the same way as with older T-Beam.
I can confirm that Rx & GPS are working on that dev.
With that power chip we don't have info about current(s) but battery precentage is available.
did you configure anything special for that GPS ? i tried to get fix for 30 mins outdoor and nothgin :(
did you configure anything special for that GPS ?
Nothing special. Pins are default. Power as on dev.
Hi Thanks for all the work on the APX2101 chip and its changes . I note that the XPowerLib has what it calls the EGauge and does have this as a % but that it useses fixed charging current model. The most important part is the Voltage Measurement to show the user the state of the battery. Look forward to the update following the pull requiest being incorporated.