Ofallo
Posts: 5
Joined: Wed May 13, 2020 8:57 am

Installing an App to RPi 4 (Drone Content)

Wed May 13, 2020 11:07 am

Morning all

I am very much new to all of this, my Raspberry Pi 4 has only arrived today and I already have a project in mind that I feel the RPi 4 is capable of.....I may be wrong with my very limited knowledge but I'm hoping that's where some of you may be able to help.

So a few weeks back I bought myself a DJI Mavic Mini Drone and I love it....but I want more. Since I was a kid I have always looked at something and thought of how I could improve, modify or get more from it and this is exactly where I am at with the Mavic Mini so I will explain what I am trying to achieve.

The drone itself operates using Wifi, a mixture of 2.4 and 5.8 this also sends back the image from the drone to the receiver which then uses a Micro USB (from the receiver) to Type - C (to the mobile phone) in order to display the real-time footage on the phone so that you can see where you are flying. This has a few setbacks, screen glare in sunlight, phone needing to be in airplane mode for minimal interference.

So I wanted to use FPV goggles for an overall better and more immersive experience....this is where the issues arise. DJI do not want you to have that capability on their entry level drone and as a result their goggles are not compatible so that rules that's out and is what has led me onto my work around. I purchased a Fusion 5 Android tablet as it had an input and output source and was only £99.....bargain.

When I installed the app it was apparent that the tablet barely scraped through the running requirements and as a result I was suffering from latency issues of over a second or two. This was told was down to the specs which are as follows.

FUSION 5

· 64-bit quad-core ARM Cortex-A53 MPCore 1.3ghz and 3D graphics at (OpenGL ES 3.1)
· 2GB RAM
.32gb storage.


Raspberry Pi 4

.quad-core Cortex-A72 (ARM v8) 64-bit at 1.5GHz.
. 4GB RAM
. 32gb storage (will run at 64gb card though)

DJI Fly APP Requirements

. Requires Android 6.0 or above
. Available ROM is 2GB
. Supporting ARM V8 64-bit Architecture (64-bit processor)

so from what I can tell (again very basic knowledge) It looks like the Pi would well out perform the Fusion 5. The Arm Cortex A72 is superior performance over the A53 that's more for efficiency.

So my plan is as follows, use a RPi 4 with a 3.5 display ( understand there will be latency due to the screen not the Pi and may upgrade to 7" later) that will have the DJI app installed that will replace the need for a phone and connect to the Transmitter, I will then use the HDMI port on the RPi to run a cable to the HDMI input on the goggles where the screen will be capable of running the image without any latency.

So onto my questions.

First and foremost am I way off and this wouldn't work?

How should I install the DJI Fly App onto my RPi, I am assuming I would need to put android software on and then download or can I just install the software direct?

Thanks in advance.

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Installing an App to RPi 4 (Drone Content)

Wed May 13, 2020 11:29 am

Ofallo wrote:
Wed May 13, 2020 11:07 am
Morning all

I am very much new to all of this, my Raspberry Pi 4 has only arrived today and I already have a project in mind that I feel the RPi 4 is capable of.....I may be wrong with my very limited knowledge but I'm hoping that's where some of you may be able to help.

So a few weeks back I bought myself a DJI Mavic Mini Drone and I love it....but I want more. Since I was a kid I have always looked at something and thought of how I could improve, modify or get more from it and this is exactly where I am at with the Mavic Mini so I will explain what I am trying to achieve.

The drone itself operates using Wifi, a mixture of 2.4 and 5.8 this also sends back the image from the drone to the receiver which then uses a Micro USB (from the receiver) to Type - C (to the mobile phone) in order to display the real-time footage on the phone so that you can see where you are flying. This has a few setbacks, screen glare in sunlight, phone needing to be in airplane mode for minimal interference.

So I wanted to use FPV goggles for an overall better and more immersive experience....this is where the issues arise. DJI do not want you to have that capability on their entry level drone and as a result their goggles are not compatible so that rules that's out and is what has led me onto my work around. I purchased a Fusion 5 Android tablet as it had an input and output source and was only £99.....bargain.

When I installed the app it was apparent that the tablet barely scraped through the running requirements and as a result I was suffering from latency issues of over a second or two. This was told was down to the specs which are as follows.

FUSION 5

· 64-bit quad-core ARM Cortex-A53 MPCore 1.3ghz and 3D graphics at (OpenGL ES 3.1)
· 2GB RAM
.32gb storage.


Raspberry Pi 4

.quad-core Cortex-A72 (ARM v8) 64-bit at 1.5GHz.
. 4GB RAM
. 32gb storage (will run at 64gb card though)

DJI Fly APP Requirements

. Requires Android 6.0 or above
. Available ROM is 2GB
. Supporting ARM V8 64-bit Architecture (64-bit processor)

so from what I can tell (again very basic knowledge) It looks like the Pi would well out perform the Fusion 5. The Arm Cortex A72 is superior performance over the A53 that's more for efficiency.

So my plan is as follows, use a RPi 4 with a 3.5 display ( understand there will be latency due to the screen not the Pi and may upgrade to 7" later) that will have the DJI app installed that will replace the need for a phone and connect to the Transmitter, I will then use the HDMI port on the RPi to run a cable to the HDMI input on the goggles where the screen will be capable of running the image without any latency.

So onto my questions.

First and foremost am I way off and this wouldn't work?

How should I install the DJI Fly App onto my RPi, I am assuming I would need to put android software on and then download or can I just install the software direct?

Thanks in advance.

Your Fusion 5 Tablet is not listed as supported device:

https://www.dji.com/uk/mobile/downloads/djiapp/dji-fly



There is no Official Release of Google's Android Operating System for the Raspberry Pi Single Board Computer:

viewtopic.php?f=73&t=71658



Also comparing base specifications is not a good way to compare, your Tablet has an Operating System ie Android which has been compiled to work on low power devices with specific hardware.



You are more than welcome to run an open source "Android" implementation and the developer is an active member of this forum:

viewtopic.php?f=73&t=261228
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

Ofallo
Posts: 5
Joined: Wed May 13, 2020 8:57 am

Re: Installing an App to RPi 4 (Drone Content)

Wed May 13, 2020 11:55 am

[/quote]


Your Fusion 5 Tablet is not listed as supported device:

https://www.dji.com/uk/mobile/downloads/djiapp/dji-fly



There is no Official Release of Google's Android Operating System for the Raspberry Pi Single Board Computer:

viewtopic.php?f=73&t=71658



Also comparing base specifications is not a good way to compare, your Tablet has an Operating System ie Android which has been compiled to work on low power devices with specific hardware.



You are more than welcome to run an open source "Android" implementation and the developer is an active member of this forum:

viewtopic.php?f=73&t=261228
[/quote]


Hi

Yes I know its not listed but there is plenty not listed that do work as I know people running other devices. I've also spoken with DJI who advised there is many more compatible they just list some of the common ones for guidance.

As I said my knowledge is limited hence the post.....so could this work if I was to use the open source Android you mentioned and downloaded the DJI Fly app?

Thanks

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Installing an App to RPi 4 (Drone Content)

Wed May 13, 2020 12:08 pm

Ofallo wrote:
Wed May 13, 2020 11:55 am


Your Fusion 5 Tablet is not listed as supported device:

https://www.dji.com/uk/mobile/downloads/djiapp/dji-fly



There is no Official Release of Google's Android Operating System for the Raspberry Pi Single Board Computer:

viewtopic.php?f=73&t=71658



Also comparing base specifications is not a good way to compare, your Tablet has an Operating System ie Android which has been compiled to work on low power devices with specific hardware.



You are more than welcome to run an open source "Android" implementation and the developer is an active member of this forum:

viewtopic.php?f=73&t=261228

Hi

Yes I know its not listed but there is plenty not listed that do work as I know people running other devices. I've also spoken with DJI who advised there is many more compatible they just list some of the common ones for guidance.

As I said my knowledge is limited hence the post.....so could this work if I was to use the open source Android you mentioned and downloaded the DJI Fly app?

Thanks

Only way is to try it and write up a tutorial on your success or failure ;)
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

Ofallo
Posts: 5
Joined: Wed May 13, 2020 8:57 am

Re: Installing an App to RPi 4 (Drone Content)

Wed May 13, 2020 12:21 pm

[/quote]


Only way is to try it and write up a tutorial on your success or failure ;)
[/quote]

As I mentioned I'm very new to this so hopefully I will get some pointers in the right direction and I will make sure I report back.

The Pi 4 from what I can see and to my knowledge seems capable but I fear getting the DJI Fly app to run will be the stumbling block.

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Installing an App to RPi 4 (Drone Content)

Wed May 13, 2020 12:25 pm

Ofallo wrote:
Wed May 13, 2020 12:21 pm


Only way is to try it and write up a tutorial on your success or failure ;)
As I mentioned I'm very new to this so hopefully I will get some pointers in the right direction and I will make sure I report back.

The Pi 4 from what I can see and to my knowledge seems capable but I fear getting the DJI Fly app to run will be the stumbling block.

The first step is getting Lineage OS running, linked above.
.
The second step is to get the .APK file of the DJ App and install.

https://www.apkpure.com/dji-fly/dji.go.v5
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

Ofallo
Posts: 5
Joined: Wed May 13, 2020 8:57 am

Re: Installing an App to RPi 4 (Drone Content)

Wed May 13, 2020 12:40 pm

[/quote]


The first step is getting Lineage OS running, linked above.
.
The second step is to get the .APK file of the DJ App and install.

https://www.apkpure.com/dji-fly/dji.go.v5
[/quote]


first thing I am going to do once I have set it up :D

I got the kit version so it comes with noobs. I will get that loaded on and then do as you have said and see how I get on.

really appreciate the advice

Ofallo
Posts: 5
Joined: Wed May 13, 2020 8:57 am

Re: Installing an App to RPi 4 (Drone Content)

Thu May 14, 2020 11:45 am

fruitoftheloom wrote:
Wed May 13, 2020 12:25 pm
Ofallo wrote:
Wed May 13, 2020 12:21 pm


Only way is to try it and write up a tutorial on your success or failure ;)
As I mentioned I'm very new to this so hopefully I will get some pointers in the right direction and I will make sure I report back.

The Pi 4 from what I can see and to my knowledge seems capable but I fear getting the DJI Fly app to run will be the stumbling block.

The first step is getting Lineage OS running, linked above.
.
The second step is to get the .APK file of the DJ App and install.

https://www.apkpure.com/dji-fly/dji.go.v5
Hit a brick wall already, I have installed the android software and it doesn't seem right. the display goes off the screen and I can't seem to use google to download the DJI file....any ideas?

thanks

Return to “Android”