am32-firmware / AM32

GNU General Public License v3.0
235 stars 80 forks source link

skystars am60 (MVP60) wrong current in telemetry #40

Open Stricted opened 1 month ago

Stricted commented 1 month ago

i recently got a skystars am60 (MVP60) ESC

after i hooked up the telemetry line i can see in mission planner that the esc is reporting the wrong current for all 4 esc Screenshot_37

the voltage is within margin of error, the current value is completely out of whack, when connected to an external power supply and measuring current with a good multimeter i can dial it in to draw a total of 2A (both multimeter and power supply agree) but the ESC reports >60A of current draw on all 4 esc (even with the motors turned off)

any pointers as to what is going wrong here or how i can debug it? i already updated the esc to the latest firmware (2.12)

AlkaMotors commented 1 month ago

There is no current sensor feedback on those esc's. There are only a handful of older esc's I know of with individual current shunt. Most 4 in 1s only have the current sense going to the flight controller.

Stricted commented 1 month ago

thanks,

interesting, so the current sense line is not connected to the individual esc to read? damn

would it be possible to have it just report 0 in such cases? it reporting 240A of total current in the mission planner manitor is not great Screenshot_38

guess i have to read into how to use the current sense wire

edit: i also see no configuration/compile target for neither AM32_SKYSTARS_AM60_V2_F421 nor AM32_SKYSTARS_MVP60_F421, am i missing something?

howels commented 1 month ago

thanks,

interesting, so the current sense line is not connected to the individual esc to read? damn

would it be possible to have it just report 0 in such cases? it reporting 240A of total current in the mission planner manitor is not great Screenshot_38

guess i have to read into how to use the current sense wire

edit: i also see no configuration/compile target for neither AM32_SKYSTARS_AM60_V2_F421 nor AM32_SKYSTARS_MVP60_F421, am i missing something?

Usually the current sense wire on the ESC has a dedicated ADC pad on the FC which scales the 0-3.3V value and calculates current usage. If a dedicated Current ADC is absent it can sometimes be possible to use the RSSI ADC pad instead.