Xinyuan-LilyGO / LilyGo-T-Call-SIM800

https://www.aliexpress.com/item/33045221960.html
482 stars 239 forks source link

Library for upgraded power management AXP192? #65

Closed BillyGriffiths closed 4 years ago

BillyGriffiths commented 4 years ago

According to the documentation, power management on my SIM800L v1.3 board is handled by AXP192. Is there a library available for getting data like getUSBVoltage() etc?

peterchs commented 4 years ago

Seen this example sketch? https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800L/blob/master/examples/Arduino_TinyGSM_AXP192/Arduino_TinyGSM_AXP192.ino

Uses this library for reading AX192 vbus voltage, vbus current and batt voltage; https://github.com/lewisxhe/AXP202X_Library

BillyGriffiths commented 4 years ago

Seen this example sketch? https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800L/blob/master/examples/Arduino_TinyGSM_AXP192/Arduino_TinyGSM_AXP192.ino

Uses this library for reading AX192 vbus voltage, vbus current and batt voltage; https://github.com/lewisxhe/AXP202X_Library

Exactly what I was looking for! Not sure how I missed it. Thanks @peteakalad !