heat80Gear,更改相电流采集
This commit is contained in:
parent
02d17c179c
commit
a7136d2dcd
|
@ -99,7 +99,8 @@ void ptz_send_bridge_temperature(char dev)
|
||||||
static float current_caculate(uint16_t I)
|
static float current_caculate(uint16_t I)
|
||||||
{
|
{
|
||||||
float i;
|
float i;
|
||||||
i = ((float)I/4096.0*3.3)/0.5;
|
// i = ((float)I/4096.0*3.3)/0.5;
|
||||||
|
i = ((float)I/4096.0*3.3)/0.1;
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
#define PTZ_HALL_DETECT 30//30
|
#define PTZ_HALL_DETECT 30//30
|
||||||
|
|
||||||
//相电流运行最大值
|
//相电流运行最大值
|
||||||
#define PHASE_CURRENT 3.5
|
#define PHASE_CURRENT 5.0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//L6235D涡轮蜗杆重型云台
|
//L6235D涡轮蜗杆重型云台
|
||||||
|
|
Loading…
Reference in New Issue