Hardware Setup Process Again for Parrot Mambo

Intro

Parrot Blaze

Without Paparazzi the Parrot Minidrones are nice minor flight quadrotor that tin can be flown over a Bluetooth connection with an Android or iOS device. Just there it stops... Not whatsoever more: With a few simple clicks you tin run Paparazzi on y'all Minidrone and let it perform any yous wan it to. Well that is the intend, volunteers are hard at work to brand information technology a reality.

Although at that place are diverse different Parrot minidrones, the base of all the drones is the same. that is why yous meet all this info on just one folio.

Supported Minidrones

Paparazzi have been tested with the special EDU | Firmware v2.six.11. The original firmware doesn't permit bluetooth network connections. Although one tin upload

Supported models are:

  • Swing

    Parrot Swing

  • Mambo
  • Parrot Rolling Spider

Tested and basics working. Note that the support did non (withal) land upwardly in principal branch sourcecode every bit of 20190223. A pullrequest is fabricated, so me changes need to be added but we are getting shut as developers scrape some leftover time...

Not supported:

  • Airborne Night
    • Parrot Airborne Nighttime Maclane
    • Parrot Airborne Night Bonfire
    • Parrot Airborne Dark Swat
  • Airborne Cargo
    • Parrot Airborne Cargo Travis

The Non is since these airframes cannot create a IP network over bluetooth (no BNEP interface) by default. While it is possible from a hardware component perspective, setup and drivers are non in default firmware. If ane has time to hack it in, great. Or if Parrot would provide an firmware with this option, nice, simply don't count on information technology. I could still endeavour to hack a Mambo firmware on the Airborne Night types somehow. Note that Paparazzi does run on these if upload over USB network, but no bluetooth telemetry. A 100% GPS or vision based flight belongs to the possibilities if you lot fancy that, no need for a connectedness... But either you lot add an external GPS or brand good vision modules. All in all to much effort compared to benefit.

The Jumping Sumo and the Hydrofoil extension, while Paparazzi likely tin can run on those, since they cannot fly in that location are no plans for testing or back up. If you accept one and tested information technology with Paparazzi, bang-up! Please make a pull request with any improvements y'all fabricated, yous're welcome.

Notes

This commodity assumes that you have already installed Paprazzi software on you lot local development PC. Used is Ubuntu 16.04. older version have dissimilar Bluetooth support, instructions there may differ.

Features

Connectivity

The minidrones accept a Bluetooth Smart technology, Bluetooth V4.0 BLE device. Communication over older two.0 bluetooth also possible after making some configuration changes on the Minidrone. Paparazzi tin can exercise this for you automatically

Sensors

Accelometer and gyroscope

  • three-centrality gyroscope and 3-axis accelerometer (MPU 6050)

Pressure sensor

Air Pressure is available and gives valid presure ABI message output, a ameliorate integration into the code is worked on (MS5607)

Ranging

Ultra sonic bottom sensor

  • Sonar not fully working yet...developer work is ongoing, we had sensor readings as of 20171025, still needs quite some work, simply we volition get there 99% sure

Vertical camera

Vertical photographic camera

  • A development branch at present got the showtime imagery out of the camera, hurray. Needs TLC and set timing issues, simply camera utilise is proven possible.

Note that when continued to USB camera is disabled so use a bluetooth connection to telnet and debug and develop in

Device /dev/video0 opened. Device `USB2.0 Camera' on `usb-p6i-ehci.0-one.1' is a video capture device. - Bachelor formats:        Format 0: YUYV (56595559)        Type: Video capture (1)        Name: YUV four:2:2 (YUYV)        Frame size: 640x480 (1/30)        Frame size: 160x120 (ane/threescore)        Frame size: 80x60 (1/60)        
          Format 1: MJPEG (47504a4d)        Type: Video capture (1)        Name: MJPEG        Frame size: 640x480 (1/30)        

Battery

Parrot Minidrone Battery

  • Swappable: Aye
  • Blazon: Lithium-polymer 1s
  • Chapters: 550mAh
  • Charging time: about 25 minutes
  • Compatibility: Parrot Mambo, Swing Jumping Night, Jumping Race, Airborne Night, Airborne Cargo and Hydrofoil

How to connect

At that place are two ways to connect a Parrot Minidrone with Paparazzi. The offset one is an USB cable and the second 1 is via a Bluetooth connection. Both have the possibility to transfer files through FTP and execute programs over telnet. Annotation that connecting over USB disables the vertical camera, as it uses the aforementioned USB bus. Also free flight with USB attached is non platonic.

Pre steps

Latest Parrot firmware needs some button pressing action before we can outset using the connection in combination with Paparzzzi

4x Push press

Parrot Blaze on/off button location Parrot Blaze on/off button location bottom view

Afterwards the drone is fully started, on e.g. the Mambo visible by green LED's, then press the small on/off button four times (4x) in succession Note that information technology volition have a while earlier the Connection is ready.

Automated

E'er 4x pressing the button subsequently a battery bandy is not platonic. It is possible to disable this behaviour and automatically be able to telnet into the device. It is tested and work only a clarification or better automatic flag is in the works and will be added to this wiki and the sourceode.

Connect via USB

  • Plug in a micro-usb cable from your Drone to the computer
  • Switch on your Minidrone
  • A new network device will bear witness upwardly
  • Connect with 192.168.two.1, or 192.168.4.1 depending on your firmware, through ftp or telnet

Connect via Bluetooth

Using blueman tool (tested with Ubuntu 16.04)

  • Install blueman via:
          sudo apt install blueman        
  • Power upwardly your Minidrone
  • Enable bluetooth on your reckoner, this can be done from blueman applet if present
  • Scan or select your Minidrone from the list of the peripheral

Blueman: peripherals list

  • Configure this peripheral and select the "network admission point" connexion type

Blueman: blazon of connection

  • A new network connection should appear
  • To test go to your terminal and execute this line:
          ifconfig bnep0        

Result something similar this:

          bnep0     Link encap:Ethernet  HWaddr 5c:e0:c5:63:8e:5d              inet adr:192.168.iii.2  Bcast:192.168.three.255  Masque:255.255.255.0            ...        
  • The minidrone has the IP 192.168.3.1, connect over bluetooth network with telnet via:
telnet 192.168.three.1        

(With an USB the connectedness is via 192.168.4.1)

Older Ubuntu versions using the pand tool

  • Execute "hcitool scan" and look for the mac address of the "RS_...." device. (If you cannot find information technology wait at #Setup normal Bluetooth)
  • Install the bluez-utils package (if not installed) with "sudo apt-go install bluez-utils"
  • Execute "sudo pand --connect <MAC accost> -dGN -n", to connect to the bluetooth of the drone. *
  • Execute "sudo ifconfig bnep0 192.168.2.3 up", to setup the ethernet device over bluetooth. *
  • Connect with the drone with telnet via:
telnet 192.168.two.1        

Setup normal Bluetooth

This part doesn't seem to be needed anymore!!!

  • First connect over Bluetooth 4.0 or USB to the drone equally described above
  • Connect with telnet to the drone. (telnet 192.168.*.1)
  • Open the "/etc/init.d/rcS" file and search for the line with "BLEproxy". (vi /etc/init.d/rcS)
  • Now modify the "BLEproxy" to "BLEproxy --normalbt"
  • Reboot your drone past executing: "reboot". (This makes certain the filesystem is saved)

Upload Paprazzi

If you practise have a connection, press the upload push in the Paparazzi center

Airframe

At the moment, the Swing and Mambo airframes are supported and an instance airframe is available. Choose Parrot_Mambo or Parrot_Swing

Note that while the Swing is a transitional airframe a full transistional configuration is not yet available just worked on to make information technology a reality presently.

Power button

One time the Paparazzi autopilot is running, the original Parrot software is stopped, but keeping the network connection open. A side effect is that the power button needs to be managed by Paparazzi likewise. When pressing it, the lath will reboot, restarting immediately with the original software. Pressing once more the push button will finish the minidrone.

Bottom camera

All minidrones take a camera which can be used for various purposes. 640x480 pixels. Note that a camera module for Paparazzi is not created yet. Feel free to assistance out.

Optic Catamenia

Using the Optic catamenia module and the bottom camera the Drone should exist able to hover even so.

Extend Hardware

GPS + Magneto

An GPS + Magneto module with I2C out continued to the USB port with a FTDI FT232H to 12C adapter] board, while possible, not done yet. Work is on its way to exam information technology.

Serial

XBee and Si10xx based modems

By using external modems via an USB to series adapter information technology would be possible to extend the telemetry range of the drones.

Micro laser range band

A TU Delft project is in the works to make it possible to fly autonomous within a building using micro light amplification by stimulated emission of radiation rangers. See here... {TODO}

External power

Sometimes when developing it wouldbe niceto have your done on all mean solar day. Although standing still the batter last long an culling would be skillful.

One can modify an exiting battery. not for the faint, of eye. but that is just what was done

{TODO} describe procedure an add together picture

Power added via USB externally sadly disables the photographic camera even if only usb GND and + are connected, but needs more than investigation.

Links

Some links that might be helpful for developers or otherwise

andersonwhelving.blogspot.com

Source: https://wiki.paparazziuav.org/wiki/Ap.parrot_minidrone

0 Response to "Hardware Setup Process Again for Parrot Mambo"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel