heat80Gear,更改相电流采集

This commit is contained in:
REASEARCHER\18383 2025-08-27 08:51:18 +08:00
parent 02d17c179c
commit a7136d2dcd
2 changed files with 3 additions and 2 deletions

View File

@ -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;
} }

View File

@ -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涡轮蜗杆重型云台