響應國網加快推進泛在電力物聯網建設的要求
架空線路警示器,架空線路故障指示器,現場存在跌落風險
當出現跌落故障後及時時喚醒nb模塊進行預警
NB-iot遠傳低功耗技術,基於MT2625的opencpu開發
NB-iot模塊,ME3616,opencpu,片上編程
陀螺儀6軸加速度傳感器MPU6050
檢測到z軸加速度多次低於0.6之後,進行預警,I2C總線獲取6軸狀態
IICreadBytes(0x50, AX, 24,&chrTemp[0]);
a[0] = (float)CharToShort(&chrTemp[0])/32768*16;
a[1] = (float)CharToShort(&chrTemp[2])/32768*16;
a[2] = (float)CharToShort(&chrTemp[4])/32768*16;
w[0] = (float)CharToShort(&chrTemp[6])/32768*2000;
w[1] = (float)CharToShort(&chrTemp[8])/32768*2000;
w[2] = (float)CharToShort(&chrTemp[10])/32768*2000;
h[0] = CharToShort(&chrTemp[12]);
h[1] = CharToShort(&chrTemp[14]);
h[2] = CharToShort(&chrTemp[16]);
Angle[0] = (float)CharToShort(&chrTemp[18])/32768*180;
Angle[1] = (float)CharToShort(&chrTemp[20])/32768*180;
Angle[2] = (float)CharToShort(&chrTemp[22])/32768*180;
if (a[2]<0.6)
{
checktimes++;
if(checktimes>=3)
status |=DROPBIT;
}
else
{
checktimes=0;
}
git鏈接:https://github.com/dading105/NB_StatusDetect
技術交流羣:334312796 驗證密碼:深圳友先達