VOXL 2 No ESC(s) detected
-
@modaltb confirmed I'm using J18 and the ESC has power (I get an LED blink and quick chirp on connection). I've got a borrowed oscilloscope and confirmed there is traffic on the ESC. I also tried switching TX/RX on the cabling and this didn't help. I've also now installed voxl-esc per this discussion now and still get the following:
voxl2:/$ voxl-esc scan enabling bridge bridge enabled Detected Python version : 3.6.9 (default, Mar 10 2023, 16:46:00) [GCC 8.4.0] Found voxl-esc tools bin version: 1.1 VOXL Platform: M0054 Detected VOXL2 M0054 or M0104! INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 2000000 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 250000 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 921600 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 230400 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 57600 INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 115200 INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 38400 Updated baud rate to 38400 INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400 Updated baud rate to 230400 ERROR: No ESC(s) detected, exiting. FAILED to ping ESCs disabling bridge bridge disabled
What would you recommend for next step?
-
What if we remove VOXL2 from the equation real quick, and try to go host PC to the ESC? This would be my next step, and we use little USB to Serial adapters for this, e.g. this dongle.
We have a guide here and this would reduce a variable for us.... I'm semi scratching my head at this point.
-
Hi @Taylor-Presley
Make sure if you get that dongle modaltb suggested, you set the interface voltage to 3.3V. -
@modaltb @Vinny I'm using an Adafruit USB to TTL cable that I had around. Only gnd, tx, and rx are connected, and the ESC is powered by the power supply. It had the same issue.
mdr@mdr-System-Product-Name:~/voxl-esc-dev-python27/tools$ python voxl-esc-scan.py INFO: Device and baud rate are not provided, attempting to autodetect.. Scanning for ESC firmware: /dev/ttyUSB0, baud: 250000 Scanning for ESC firmware: /dev/ttyUSB0, baud: 2000000 Scanning for ESC firmware: /dev/ttyUSB0, baud: 921600 Scanning for ESC firmware: /dev/ttyUSB0, baud: 57600 Scanning for ESC firmware: /dev/ttyUSB0, baud: 115200 Scanning for ESC firmware: /dev/ttyUSB0, baud: 230400 Scanning for ESC bootloader: /dev/ttyUSB0, baud: 38400 Scanning for ESC bootloader: /dev/ttyUSB0, baud: 230400 Scanning for ESC bootloader: /dev/ttyUSB0, baud: 921600 ERROR: No ESC(s) detected, exiting.
I can order the other dongle, but I'm measuring traffic on Tx and Rx. Thoughts?
-
Can you check using two scope probes that there is a tx packet into ESC and a reply from ESC immediately after? Also check the signal levels - both should be at 3.3V. Tx and Rx could be shorted, appearing that there is rx and tx traffic. Can also measure resistance between tx and rx lines.
-
@Alex-Kushleyev @Vinny @modaltb It has taken a while for me to run this to ground, but I have an update. It does look like there is a tx packet into ESC and a reply when I run the script, and from what I can tell they are simultaneous. Both are at 3.3V and measuring resistance between the lines is ~40-50 kilohms.
I've ordered another ESC and will perform the same tests to see if I can get a successful scan on it. Thanks for the help so far!
Taylor
-
Hi @Taylor-Presley give me a holler if after you get the new setup you still have problems and I can get on the phone with you and try to troubleshoot!
-
@Taylor-Presley , just to clarify, when you checked TX and RX on the scope, you should have seen first TX data coming from VOXL2 to ESC and then almost immediately ESC responding, right? (not RX and TX showing data at the same time)
If that is true, then the ESC seems to be working fine (at least in terms of UART communication) and there may be an issue that is outside of the ESC. Considering that you tried running voxl-esc tools on VOXL2 and on a PC, I am a bit puzzled.
Just to be absolutely sure, can you please run the
voxl-esc
tools from master branch, not the python27 branch. The python27 branch should still work but we are no longer testing it. the latest and greatest is in the master branch.Thank you!
Alex
-
Hello @Taylor-Presley , were you able to resolve your issue? I am curious what it was or you still need some help. Thanks!
Alex
-
@Alex-Kushleyev we were able to run voxl-esc tools but could only spin up 3 motors. The new ESC that you sent us works now and I'm able to spin all the motors. I wasn't able really to trace a root cause, but I'm just happy that it's working now. Thanks for all the help so far!