VOXL FPV Racing 4-in-1 ESC with flight core v2 and voxl2
-
hey @Alex-Kushleyev
I am facing the same issue again, the ESC is not initialising when connected through fc v2 , i have followed all the suggestions you mentioned earlier. the FC as well as VOXL 2 is powered through ESC.nsh> voxl_esc start INFO [voxl_esc] VOXL_ESC: Starting VOXL ESC driver INFO [voxl_esc] Params: VOXL_ESC_CONFIG: 1 INFO [voxl_esc] Params: VOXL_ESC_MODE: 0 INFO [voxl_esc] Params: VOXL_ESC_BAUD: 2000000 INFO [voxl_esc] Params: VOXL_ESC_FUNC1: 101 INFO [voxl_esc] Params: VOXL_ESC_FUNC2: 104 INFO [voxl_esc] Params: VOXL_ESC_FUNC3: 102 INFO [voxl_esc] Params: VOXL_ESC_FUNC4: 103 INFO [voxl_esc] Params: VOXL_ESC_SDIR1: 0 INFO [voxl_esc] Params: VOXL_ESC_SDIR2: 0 INFO [voxl_esc] Params: VOXL_ESC_SDIR3: 0 INFO [voxl_esc] Params: VOXL_ESC_SDIR4: 0 INFO [voxl_esc] Params: VOXL_ESC_RPM_MIN: 5500 INFO [voxl_esc] Params: VOXL_ESC_RPM_MAX: 15000 INFO [voxl_esc] Params: VOXL_ESC_T_PERC: 90 INFO [voxl_esc] Params: VOXL_ESC_T_DEAD: 20 INFO [voxl_esc] Params: VOXL_ESC_T_EXPO: 35 INFO [voxl_esc] Params: VOXL_ESC_T_MINF: 0.150000 INFO [voxl_esc] Params: VOXL_ESC_T_COSP: 0.990000 INFO [voxl_esc] Params: VOXL_ESC_VLOG: 0 INFO [voxl_esc] Params: VOXL_ESC_PUB_BST: 1 INFO [voxl_esc] Params: VOXL_ESC_T_WARN: 0 INFO [voxl_esc] Params: VOXL_ESC_T_OVER: 0 INFO [voxl_esc] Params: GPIO_CTL_CH: 0 nsh> voxl_esc status INFO [voxl_esc] not running nsh> voxl_esc start INFO [voxl_esc] VOXL_ESC: Starting VOXL ESC driver INFO [voxl_esc] Params: VOXL_ESC_CONFIG: 1 INFO [voxl_esc] Params: VOXL_ESC_MODE: 0 INFO [voxl_esc] Params: VOXL_ESC_BAUD: 2000000 INFO [voxl_esc] Params: VOXL_ESC_FUNC1: 101 INFO [voxl_esc] Params: VOXL_ESC_FUNC2: 104 INFO [voxl_esc] Params: VOXL_ESC_FUNC3: 102 INFO [voxl_esc] Params: VOXL_ESC_FUNC4: 103 INFO [voxl_esc] Params: VOXL_ESC_SDIR1: 0 INFO [voxl_esc] Params: VOXL_ESC_SDIR2: 0 INFO [voxl_esc] Params: VOXL_ESC_SDIR3: 0 INFO [voxl_esc] Params: VOXL_ESC_SDIR4: 0 INFO [voxl_esc] Params: VOXL_ESC_RPM_MIN: 5500 INFO [voxl_esc] Params: VOXL_ESC_RPM_MAX: 15000 INFO [voxl_esc] Params: VOXL_ESC_T_PERC: 90 INFO [voxl_esc] Params: VOXL_ESC_T_DEAD: 20 INFO [voxl_esc] Params: VOXL_ESC_T_EXPO: 35 INFO [voxl_esc] Params: VOXL_ESC_T_MINF: 0.150000 INFO [voxl_esc] Params: VOXL_ESC_T_COSP: 0.990000 INFO [voxl_esc] Params: VOXL_ESC_VLOG: 0 INFO [voxl_esc] Params: VOXL_ESC_PUB_BST: 1 INFO [voxl_esc] Params: VOXL_ESC_T_WARN: 0 INFO [voxl_esc] Params: VOXL_ESC_T_OVER: 0 INFO [voxl_esc] Params: GPIO_CTL_CH: 0 nsh>
-
The primary causes of ESC not being detected by the FC (aside from hardware / wiring issues) is using incorrect UART port or incorrect baud rate. So you should make sure the ESC is running the latest firmware, double check the params that you want to use on the ESC (for your motor / prop) and you can also set the ESC baud rate in the ESC params. You should set up your ESC (using
voxl-esc
tools) before plugging it into your FC, so that you know exactly what your ESC is set up to do and then you just need to match your PX4 params to what you set in the ESC (baud rate, rpm limits, and use correct UART port).Alex
-
@Alex-Kushleyev Thank you for reverting, I didnt change anything with respect to the fc or ESC, the firmware is the same.
could you help me with understanding why it was working earlier , it is not now.
The firmware of the FC is voxl-fpv-dev version, and when i tried to build again it is giving error, and not building.
I still dont know whether the issue is with respect to FC firmware or ESC -
@Jetson-Nano , please confirm the ESC is working by using a usb to serial connection directly to the esc and voxl-esc Python tools on a Linux PC or VM.
You can run simple commands to detect the esc and perform spin tests if needed, this is all documented.
https://docs.modalai.com/voxl-escs/faq/
If the esc is ok, then you will need to double check the FC v2 setup.
Alex