(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}/3
Description
Product Description
A module description 1. Size: 3.1cm X width 2.1cmX height 1.5cm 2. Main chip: LM393, tilt sensor probe 3. Working voltage: DC 5V 4. The analog voltage output of tilt signal [0-180 °corresponding to 0.5-4.5V] can be collected by single-chip AD; 5. Two-way tilt signal alarm output; 6. The low-level indicator of the effective signal is on; 7. The alarm range of left and right tilt angle is adjustable from 0-90°90-180°, and the adjustment accuracy is ±1° 8. With mounting holes, convenient for fixed installation; 9. The circuit board tilt signal is TTL high and low level, which can be directly connected to the IO port of the MCU. 10. Application: Smart car body balance detection, teaching experiment demonstration, product development, etc.;