Physical Port access

Hi!

We were wondering if there a way to output data from the anafi ukr directly, beyond connecting to wifi/lora/mars (eg. is there a way to send raw data out of the usb port, ideally without webserver, or if there are any other physical connections we could connect to to make that happen)

Similarly, if this is possible, how would we go about doing it with code from airdk?

Thank you

Hello @yzzzz ,

Yes, an Air SDK mission can communicate with a device connected to the drone’s USB bottom port (not the one on the battery).

If USB serial communication fits your use case, we provide a sample that demonstrates how to exchange data with an ESP32 connected over USB:

Could you describe your use case a bit more? In particular, what kind of device are you planning to connect to the USB port, and what type of data are you looking to exchange?

Best regards,
Hugo

Hello,

thanks for the response!
We want to transmit calculated gps coordinates over XBee

Best regards,
yz

Hello @yzzzz ,

So yes, it should work! :slight_smile: The serial_peripheral sample connects to the drone’s USB port and talks plain serial (115200 baud), the Air SDK service just reads/writes text lines.

As long as you connect your XBee to the drone’s USB port (via a USB-to-serial adapter, since XBee itself isn’t USB), you can send your GPS coordinates as plain text over that link, same way the sample sends its Morse commands.

I remain available if needed.

Best regards,
Hugo

Thank you! one more question:

Instead of having to boot from the usb, is there a way to just get the firmware, so I can run the simulator on the sphinx that exists on my computer, without having to boot from the USB every time? This would also allow direct access to pre-existing code

Thank you!

Best regards,
yz

Hello @yzzzz ,

Indeed, we do not publicly share the ANAFI UKR PC/Simulator firmware.
I recommend reaching out to sales@parrot.com. They will be able to address your needs.

Best regards,
Hugo