Installing VOXL IO on Sentinel Drone – QUP2 and QUP7 Conflicts
-
@tonygurney I am also using a ghost atto as my receiver
-
@tonygurney Did you want to control the gripper using an application on Linux? Or as a driver in PX4?
-
@Eric-Katzfey I’m trying to control the gripper using a Python script running in a Docker container on Linux. My plan is to use pymavlink to listen for remote controller commands, like a specific channel input, and then trigger the gripper based on that input. So I think it's not integrated directly as a PX4 driver; it’s more of a companion application running alongside PX4 that reacts to MAVLink messages in real time.
-
@tonygurney One option is to use the ESC board. It has PWM outputs. There is a
voxl-send-esc-pwm-cmd
utility on your VOXL 2 that can be used to send PWM commands to the ESC. However, with this option you would need to solder the PWM connections directly to the ESC board and not everyone is comfortable with that. -
@Eric-Katzfey Correct me if I am wrong, but doesn't the ESC only have enough motor outputs for each of the propellers? So to add another PWM signal I need to either use a GPIO pin or the expansion voxl2 IO board
-
@tonygurney The ESC doesn't use PWM to control the motors. So it has the PWM channels free for other uses. The ESC used in the Sentinel actually has the PWM IO on a connector (J3) so no need to solder: https://docs.modalai.com/modal-esc-datasheet/
-
@Eric-Katzfey How can I control those PWM signals? Since at the moment I am not reading anything from any of the pins.
-
@tonygurney Try the test application
voxl-send-esc-pwm-cmd
. Source code is here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-io-server/-/blob/dev/tools/voxl-send-esc-pwm-cmd.c?ref_type=heads -
@Eric-Katzfey Thank you I got this helped a lot! I was able to get it working with root access!
-
@Eric-Katzfey when using the voxl-send-esc-pwm-cmd do you know how I would be able to trigger the VREF Pin on the ESC 4-in-1?
I have tried running:
sudo voxl-send-esc-pwm-cmd -p 12 -w 2201
sudo voxl-send-esc-pwm-cmd -p 11 -w 2000and when I measure the voltage from that wire I get ~0.01V which I presume to be noise.
Is there something that I am missing?
I am looking to produce a 5V Rail.