UART communication using J19 - VOXL2 SENTINEL
-
hi guys!
I have a very dumb question.
I'd like to develop a gimbal using uart communication. But since I'd already removed the GPS module, I thought I'd use these uart ports.
I tried connecting an ESP32 to J19 of the VOXL2 (PINOS: #2-TX, #3-RX, #6-GND) and checking communication using the qrb5165io-uart-test and qrb5165io-slpi-uart-test commands.
I also checked this link:
https://docs.modalai.com/voxl2-qups/
Could you please guide me?!
Thank you! -
@leonardo-Andrade-0 , the UART port on J19 is connected to the DSP where PX4 typically runs. This means the uart test apps from the cpu side (which interface with DSP to get to the UART port) cannot run concurrently with PX4 (currently only one app can run on DSP at a time).
Perhaps when you were testing, PX4 was running and your test did not work?
Would you want to interface to your gimbal from PX4 running on DSP or from CPU?
Alex
-
Hi Alex,
When I tested was with the px4 running.
That apps you said is like this?
https://docs.px4.io/main/en/modules/hello_sky.htmlI’m still learning some parts of px4 itself
.
Ideally, I thought to connect the esp to cpu where I could to read the data coming , such as to connect a arduino board in a computer. However to control the gimbal should be using mavlink .
It’s like to learn to use the peripherals of my sentinel, because in the future I need also to connect UART lidar.
What do you recommend? Because the others UARTs ports that I have are full right now.
Best regards!
-
@Alex-Kushleyev
Hi, and what if I want to add a Mavlink sensor (say a number of distance sensors connected to a dedicated MCU) to the VOXL2 using the J19 (PINS: #2-TX, #3-RX, #6-GND) instead of the GPS? I plan to read it using PX4. It that possible? -
@constantines Unfortunately, the PX4 Mavlink module is only running on the applications processor (Linux) and not on the DSP side. Mavlink would have to be added to the DSP PX4 build.