LibrePilot Forum

Development => Hardware => Topic started by: Riz on February 04, 2016, 03:42:33 pm

Title: Interfacing STM32F3 to Raspberry Pi
Post by: Riz 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: https://www.youtube.com/watch?v=-ZPOL4dl1ug

Any help would be appreciated. Thanks.
Title: Re: Interfacing STM32F3 to Raspberry Pi
Post by: Sh0ck 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
Title: Re: Interfacing STM32F3 to Raspberry Pi
Post by: jcg1541 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.