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:
VOXL 2 QUPs
ModalAI technical documentation for VOXL and VOXL 2 Companion Computers for PX4 and ArduPilot Obstacle Avoidance and GPS-denied navigation, assembled in the USA
ModalAI Technical Docs (docs.modalai.com)
Could you please guide me?!
Thank you! -
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:
VOXL 2 QUPs
ModalAI technical documentation for VOXL and VOXL 2 Companion Computers for PX4 and ArduPilot Obstacle Avoidance and GPS-denied navigation, assembled in the USA
ModalAI Technical Docs (docs.modalai.com)
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
-
@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!
-
@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
@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? -
@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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login