0

So I have not yet bought a Raspberry Pi, but I just want to know if I have chosen the correct development board that will help to make a model airplane that flies by itself. I know this is too much, but I am planning to make it. So, I have listed out all the stuff I might need to make this aircraft. I want Raspberry Pi to learn how to fly a plane. Thats my first goal.

Thanks, Paarth

1
  • 1
    Keep in mind the "standard" (raspberry pi OS) linux doesn't use a real-time kernel so there are no guarantees about latency before some critical part of your control software gets run. ie. you plane might not perform the way you want while the kernel is off doing something else. See also this.
    – Paul
    Nov 23, 2021 at 0:38

2 Answers 2

2

Just trying to understand exactly what you're asking here:

If you're querying if the pi can power the dc motor(s) you'll need some extra hardware usually with seperate power supply (like a motor HAT or a motor driver IC - see https://www.electronicshub.org/controlling-a-dc-motor-with-raspberry-pi/ ) as the raspberry pi alone cannot supply the current required to get the motor running initially.

If you're querying the programming capabilities of the raspberry pi, you should be just fine - a raspberry pi 4 has been more than enough for all projects I've undertaken when it comes to the processor.

Good luck with your project :)

2
  • Sure, I have the the ESCs and Brushless motors and I have seen a few video about connecting an ESC to Raspberry Pi. Nov 24, 2021 at 10:32
  • I am on the right track!!!!!!!! Feb 9 at 10:34
1

First of all, the Raspberry Pi itself is not able to fly a plane. As Ben stated, you could use a HAT to get motor controls or using the PWM output to drive an ESC. You could connect a GPS to the UART and get the exact position to steer the plane. But there is one problem, you have to program everything by yourself, as there aren't any softwares known to me, that enable the Pi to auto pilot your plane.

I think what you're looking forward to is a Pixhawk or an Ardupilot. The last one is cheaply available through chinese sellers. There you can connect out of the box a GPS, program failsafe and do way more features.

Good luck from me aswell :)

15
  • So, if I learn Raspberry Pi, then can I program, I mean, is it possible?? And I checked out Ardupilot, but didn't understand much Nov 24, 2021 at 10:35
  • pyimagesearch.com/2017/10/02/… Is this related to my project?? Nov 24, 2021 at 10:51
  • Almost everything is possible, but please take a look in the BetaFlight Repository. The task of making a plane fly by itself and itself being aware of its location and steering takes a lot of skill you have to aquire. You should "learn the Raspberry Pi" but you also should learn to program, communication protocols etc. ArduPilot is basically a custom Arduino Board, which is a Flight Controller. You can Install a software like BetaFlight on it and setup a GPS antenna.
    – Marvin
    Nov 24, 2021 at 14:53
  • Hi Marvin, Here's a list of stuff that I am going to buy: Needed for Project Brushless Motor ESC LiPo Battery pack Charger GPS Module Heatsink and Cooling Fans Cost = Rs. 7000 And with Raspberry Pi: Rs. 11,500 I have and are needed Voltage Sensor Gyroscope Servos (I need more) Nov 24, 2021 at 14:54
  • 1
    Paarth, please use google.
    – Marvin
    Nov 24, 2021 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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