Difference between revisions of "Cosmostreamer for DJI Fly drones"

From Cosmostreamer Wiki
Jump to navigation Jump to search
Line 108: Line 108:
<pre style="color: red">DJI RC and DJI RC2 are not supported!</pre>
<pre style="color: red">DJI RC and DJI RC2 are not supported!</pre>
<pre style="color: red">DJI RC-N2 is not supported yet!</pre>
<pre style="color: red">DJI RC-N2 is not supported yet!</pre>
Use any USB-C to USB-C cable and plug one side to Raspberry Pi USB-C port, second side - to USB-C port on DJI RC-N1. The same USB-C which is used for smartphone connection.
Use any USB-C to USB-C cable and plug one side to Raspberry Pi USB-C port, second side - to USB-C port on DJI RC-N1. The same USB-C which is used for smartphone connection.<br>
[https://cosmostreamer.com/products/djiflydrones/diy/img/rcn1-usb.jpg https://cosmostreamer.com/products/djiflydrones/diy/img/rcn1-usb-small.jpg]
<br><br><br>
<br><br><br>



Revision as of 16:16, 13 December 2023

Product page

http://cosmostreamer.com/products/djiflydrones/

Supported Drones

Any drone which work with DJI Fly application and DJI RC-N1 controller.

DJI RC and DJI RC2 are not supported!
  • DJI Mini 2
  • DJI Mini 3
  • DJI Mini 3 Pro
  • DJI Mavic 3
  • DJI Mavic 3 Pro
  • DJI Air 2S
  • DJI Mavic Air 2




Hardware

Cosmostreamer for DJI Fly drones can work on these boards:



Raspberry Pi 4B

Any RAM size. 1Gb, 2Gb, 4Gb, 8Gb.

  • Two micro-HDMI outs, only one available for video output
  • Analog video out (CVBS, TV-out) in 3.5 mini-jack
  • DSI display may be used. If DSI display connected - video output only on this display.
  • Wi-Fi 2.4/5 GHz
  • Ethernet 10/100/1000 Mbit/s
  • 2 USB 2.0 ports + 2 USB 3.0 ports
  • 1 USB-C port (used for DJI RC-N1 connection)




Installing the Cosmostreamer firmware

  1. Get a blank microSD card of 8GB or larger. Insert the microSD card into the card reader
  2. Download ZIP-archive with firmware content
  3. Extract .img file from downloaded ZIP archive
  4. Use Win32DiskImager on Windows or Balena Etcher on Mac and write .img file on microSD card
  5. Insert the microSD card into the Raspberry Pi
  6. If you have a monitor or a TV with HDMI input - plug it to the Raspberry Pi 4B HDMI-0 port (nearest to USB-C port)
  7. Plug a standard USB power supply or powerbank to the Raspberry Pi (go to chapter Power for Raspberry Pi). Raspberry Pi must start booting. A couple of reboots may be during the first boot process.




Power for Raspberry Pi

For using with DJI RC-N1 Raspberry Pi 4 must be powered ONLY from GPIO or from PoE or via USB-C port with custom cable.


Power with GPIO (pins)

Use any USB cable, need to cut it and connect to the RPI only 2 wires - Red (5V) and Black (Gnd). Then you can use it with any standard USB power supply or powerbank.
rpi-gpio-pwr.jpg


Power with USB-C port

USB-C port on Raspberry Pi 4 is busy by DJI RC-N1 connection, so need to made a custom USB cable with additional part for power.
usb-c-with-power-cable-rcn1.jpg
usb-c-power-cable-scheme-rcn1-small.jpg



Network connection

Ethernet

Connect Ethernet cable to the Raspberry Pi Ethernet port at one side and home router or PC/Mac Ethernet port on another side


Wi-Fi

Connect your PC/Mac or smartphone to Wi-Fi network cosmostreamer, password 1234512345


Settings and controls

Browser

Also you could open Cosmostreamer web admin page in browser
http://192.168.50.1
http://my.cosmostreamer.com
http://cosmostreamer.local


Windows application

Download, install and run CosmoViewerNG application.


Mac application

Download, install and run CosmoViewerNG application.


Firmware update

  1. Run CosmoViewerNG for Win or for Mac or open web page and then open device settings, chapter "System"
  2. Download the Latest firmware update file
  3. Choose downloaded update file (with .csuf extension) in "Firmware update" field and press "Upload file" button
  4. Raspberry Pi must goes to reboot automatically after update installed



Changing camera type

In Cosmostreamer system terminology, a camera is any device that Cosmostreamer can work with. DJI Pocket, DJI Osmo, Goggles - this all a "camera".
MicroSD image with Cosmostreamer configured for "DJI Goggles2/Integra" by default, so needed to change a "camera type".

  1. Open device settings in CosmoViewerNG application or in web interface
  2. Go to chapter "Info"
  3. Choose camera type "DJI Fly drones"
  4. Don't forget to click "Save" button.




License key

License key is a text string, unique for each Raspberry Pi. Each camera type needs different license keys. It's possible to install multiple amount of license keys on one device and use this device for some camera types, i.e. Pocket Osmo, Pocket 2, and others. Need to buy license for correct operation process.

  1. Buy license key on a product page
  2. Make a photo of HDMI display or screenshot of the app with a QR image and send it in email on cosmostreamer@gmail.com for making a license key
  3. When you got a license key - use web interface or CosmoViewerNG application, menu "device settings" -> "License" and insert license key into field. And click "Install license" button.




DJI RC-N1 connection

DJI RC and DJI RC2 are not supported!
DJI RC-N2 is not supported yet!

Use any USB-C to USB-C cable and plug one side to Raspberry Pi USB-C port, second side - to USB-C port on DJI RC-N1. The same USB-C which is used for smartphone connection.
rcn1-usb-small.jpg


Smartphone connection

You can connect any Android smartphone or tablet to Raspberry Pi and use DJI Fly app as usual.
Just plug USB cable from Android smartphone to any of USB ports on Raspberry Pi.


Downloads




FAQ

Can I just unplug the power cable from the box?

Yes, the file system on the microSD is in read-only mode, so you can unplug the power cable without any problem