Riz

  • *
  • 17
Interfacing STM32F3 to Raspberry Pi
« on: February 04, 2016, 03:42:33 pm »
Hello I am trying to create a communication between Raspberry Pi and the CC3D board. I have plan to use the USB connection to interface the Raspberry Pi with the CC3D board  and I learned that it's possible to get telemetry data on Raspberry Pi. For this, do I need to install Globalcontrol, UAVObjects into my Raspberry Pi? I want to do something similar to this video:

Any help would be appreciated. Thanks.

Sh0ck

  • *
  • 2
Re: Interfacing STM32F3 to Raspberry Pi
« Reply #1 on: February 27, 2016, 12:50:43 am »
Hi, i found a document on the web that seems to refer to the same quadcopter in the video you posted, here the link http://www.es.ele.tue.nl/education/5HC99/wiki/images/0/0f/Report_group3.pdf
in the document there's also a link to the source code used for the project, https://github.com/fhp/TauLabs, but when i tried to compile it on my pi2 i got some errors... did not have time to understand why, but in the future i will surely try again.
I also found this interesting page http://dev.ardupilot.com/wiki/raspberry-pi-via-mavlink/
of course is another board and another protocol, but the concept is the same and the code used there could be a good starting point for creating custom scripts...
I think also that would be better to make them communicate over a serial link through main flexi port, instead of using usb

jcg1541

  • **
  • 98
    • Phones, Networks, And The Red Pill
Re: Interfacing STM32F3 to Raspberry Pi
« Reply #2 on: November 01, 2017, 06:18:08 pm »
UAVTalk  should be the obvious choice with the standard XML based protocol. Ardu uses specialized binary formatting to transfer the bits and bytes.