I am building my first drone,

Objective: - Need to control drone by wifi on phone or laptop using ground station software of Openpilot

I have a Arduino 2560 , cc3d Openpilot flight controller , raspberry pi with wifi bluetooth in built...

Now i am not able to understand , how to go forward , should i connect arduino with openpilot cc3d flight controller , or raspberry pi directory with cc3d flight controller ....

Do i really need arduino 2560 now ?

also how to connect r pi with cc3d flight controller , and how to mock PWM signals ?


1 Answer 1


I'm not sure if you are connecting the Flight Controller directly to the Arduino / PI within the drone.

If you are then ditch the Arduino Mega and the PI and use a Nano. It will still provide you with 6PWM pins. The PI is going to require a "Hat" to generate PWM as far as I can tell, and the Mega is just to damn big and heavy.

  • $\begingroup$ what is a nano ? , can you name the device fully , with Rpi and flight controller , i will be able to program r pi to get info from internet and send signals to motor via cc3d... thats why i am going to join r pi wth cc3d $\endgroup$ Jun 10, 2016 at 8:50
  • $\begingroup$ @anshulkatta by Nano I mean an "Arduino Nano" (arduino.cc/en/Guide/ArduinoNano) Its not quite as capable as the Arduino Uno (I think) but its the size of your thumb, well my thumb. Using a Pi for real time control may prevent issues because of the operating system, you can't rely on a multithreaded OS for flight control. An alternative might be an ESP8266 + Nano combination. Program the ESP using the Arduino IDE, not using AT commands, and then use the Nano for the PWM (can't remember if ESP does PWM) $\endgroup$ Jun 10, 2016 at 9:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.