Reference
This article delves into the HID-UPS protocol implemented on Arduino, offering insights into optimizing battery management for LattePanda UPS Hat. Readers will learn how to set charging voltage limits, extend battery life, and explore the benefits of using open-source technology for improved system performance.
Library
Arduino Library Installation Tutorial
The HID-UPS protocol is implemented through Arduino and is fully open source. You can edit a more accurate battery capacity algorithm yourself and set a charging voltage limit to extend battery life.
Communication Protocol Description
Through the HID-UPS protocol, the LattePanda UPS Hat can be recognized as a battery device in the operating system and use system power management to implement performance limitations and automatic shutdown functions, just like a built-in battery in a laptop. The HID-UPS protocol is implemented through Arduino and is fully open source.
Other Supplementary Information
Precautions
-
? To ensure the normal operation of the UPS, please use a reputable brand 3.7V 18650 lithium-ion battery with a capacity of no less than 3000mAh.
-
? The UPS Hat has integrated battery protection, so you can safely use "flat top" 18650 batteries without the need for "pointed top" 18650 batteries with integrated protection boards.
-
⚠ The UPS Hat does not support 3.2V lithium iron phosphate batteries of the same 18650 size. Installing the wrong battery for charging may lead to fire or explosion.
-
? If the UPS is not in use for an extended period of time, please remove the battery from the UPS to avoid over-discharging and damaging the battery.
More Documents
Was this article helpful?
