Kamalesh
Posts: 8
Joined: Fri Sep 05, 2014 4:18 am

Using RPI for Drone Projects

Tue Mar 01, 2016 3:44 pm

i have questions about this , please do answer me with some patience ..cause im new to rpi

1) is it possible to control rpi over a wifi network ,using either a pc or android device ..if so how ?

2) how to control and interface motors and other things and make camera footage stream to pc ?

3) is it safe to use a powerbank to power both rpi and motors ...considering how these things blow up cause of lithium

4) how do we write apps for rpi ?

Heater
Posts: 16092
Joined: Tue Jul 17, 2012 3:02 pm

Re: Using RPI for Drone Projects

Tue Mar 01, 2016 4:22 pm

Kamalesh,

You have six questions in one post. Each one of which could take a lot of explaining, and study on your part.

1) Yes. I communicate with my Pi via ethernet of WIFI.

2a) Motors will require motor drivers. For drones they are typically the Electronic Speed Controllers (ESC) you use for electric powered model aircraft. The Pi can generate the required Pulse Width Modulated (PWM) for such speed controllers.

2b) What other things?

2c) There are many ways to stream video from the camera to the PC. Including streaming to a web browser.

3) I use a power bank to run my Pi. A power bank is no use for those motors. You will require the proper LiPo batteries. Again as used to power electric motors in model aircraft.

4) Programs for the Pi can be written in many languages. Python, C/C++, Pascal, Javascript etc. Beginners are normally encouraged to start with Python. I'm sure you will find links to Python tutorials on the Pi web pages and all over the internet. GUI applications are easily made in Pascal with the Lazarus IDE, in C++ with qtcreator. There are many other options.

Perhaps you would like to concentrate on one of those topics at a time. I might suggest starting with 4) and asking about that if need be.
Memory in C++ is a leaky abstraction .

User avatar
liudr
Posts: 687
Joined: Sat Jun 01, 2013 12:11 am
Location: Central MN, USA
Contact: Website

Re: Using RPI for Drone Projects

Tue Mar 01, 2016 4:23 pm

Sounds like you are lost in an attempt at a grandiose project (some video streaming flying drone-copter). You should download a few issues of magpi and read them:

https://www.raspberrypi.org/magpi/

There are projects befitting many hobby levels, including yours.
Arduino data loggers, user interface, printed circuit board designer since 2009, RPI 3B 2B 2B Zero Jessie, assembly/C/C++/java/python programmer since the 80's

Return to “General discussion”