响应国网加快推进泛在电力物联网建设的要求
架空线路警示器,架空线路故障指示器,现场存在跌落风险
当出现跌落故障后及时时唤醒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 验证密码:深圳友先达