(function(){
let w = window.innerWidth;
function setHeaderCssVar() {
const headerEle = document.getElementById('shoplaza-section-header');
if(!headerEle){ return };
document.body.style.setProperty('--window-height', `${window.innerHeight}px`);
document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`);
const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide');
if (mdScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`);
}
const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide');
if (pcScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`);
}
}
function handlResize() {
if(w == window.innerWidth){return};
w = window.innerWidth;
setHeaderCssVar();
};
function init(){
setHeaderCssVar();
window.removeEventListener('resize', window._theme_header_listener)
window._theme_header_listener = handlResize;
window.addEventListener('resize', window._theme_header_listener);
}
init();
})();
${data.index + 1}/4
Description
Product Description
The device monitors the current through a small test resistor between the battery and the negative cargo charger circuit. Because charging is the time of current accumulation,The charge and discharge of the battery can be indicated by a series of output pulses of a single communication pin which is measured by the Micro-Controller.It supports one or two Li ion batteries. Only an external detection resistor and a filter capacitor can provide a very small and simple scheme to monitor the activity of the battery charging . The micro controller provides a series of output pulses and a polarity signal. In this way, the system can start counting from the full charge state and estimate the remaining battery power at any time during the battery charge or discharge period.