paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Paparazzi run on STM32F4 Discovery board


From: kyaw khaing
Subject: Re: [Paparazzi-devel] Paparazzi run on STM32F4 Discovery board
Date: Sun, 21 Dec 2014 19:59:59 +0800

Hi James Hutton,
    Thanks for your details explanation and it helps me a lot.I would like to build quadcopter.

With regards ,
Kyaw Khaing



Sent from Samsung Mobile


-------- Original message --------
From: James Hutton
Date:20/12/2014 8:33 PM (GMT+08:00)
To: Paparazzi UAV devel list
Subject: Re: [Paparazzi-devel] Paparazzi run on STM32F4 Discovery board

Hi Kyaw, 

I'm working on something similar. I bought the 10 dof IMU from Drotek in France, though there are apparently cheaper alternatives.

I installed paparazzi from source on a ubuntu VM, the instructions on the wiki were easy to follow. You need the paparazzi software, and an ARM toolchain and flash tool for the dev board all installed - I think the wiki covers this. Once that is complete, you can create an airframe xml file for the board, compile and upload that to the dev board (in the paparazzi centre). I have a very basic airframe file here https://github.com/cuaf/Paparazzi-Config which you could use as a basic example. It's set up for fixed wing with the STM32F4 Discovery and the 10 DoF IMU. It is mostly based on other examples, but at least compiles, provides telemetry information, data from the IMU, and expects PPM rc input. 

To get telemetry from the board you need a USB-TTL converter (like the FTDI chips). These are really cheap. Hook it up to UART2 on the dev board (if you're using my example), or whatever port is specified as the MODEM_PORT in the config file. Then, in the paparazzi centre, run the "Flight-Serial USB 57600" and the ground station software will pop up. You can then run the "messages" program found under the "tools" menu of the paparazzi centre to view raw telemetry messages too. From here you can look at calibrating the IMU (look at the wiki), and setting up the board to read PPM inputs from your remote control (to read a PPM stream you need an extra 100-200 ohm resistor from the ppm input signal pin to ground - I was stuck on this for a couple of days). 

That's as far as I've got, though it all seems to work so far. Next I need to put it in a plane and check servos etc. I'm going to test it with a Hobbyking Bixler 2.

Hope that helped, and good luck!
James. 
    


On 20 Dec 2014, at 03:07, kyaw khaing <address@hidden> wrote:

Hi all,
       I want to run paparazzi on STM32F4 Discovery + 10dof imu. Anyone could guide me how it to be done. I have read one email under "Paparazzi-devel" , the person name "Christ" had already done this.But I don't find any instruction and guide for this.

With regards,
Kyaw Khaing
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]