Any views expressed within media held on this service are those of the contributors, should not be taken as approved or endorsed by the University, and do not necessarily reflect the views of the University in respect of any particular issue.

Piccolo3 spectral systems

Piccolo3 spectral systems

Mac Arthur A.(1,2), Hagdorn, M.(1), Taylor R.(3), and Robinson I. (4). (1) GeoSciences, U. of Edinburgh, (2) LEO/IPL U. of Valencia, (3) Physics, U. of Edinburgh, (4) Rutherford Appleton Laboratories

Piccolo3 Long Range Wireless connection for UAVs by Big Sky Science

Dr Rick Thomas rick@bigskyscience.com

DISCLAIMER: These notes are from Big Sky Science internal documents and may not be fully complete, coherent or work on your system! Please use at your own risk, Big Sky Science cannot be held responsible for damage resulting from use of information within this document. However, we can answer questions on the wiki and provide more services to help with your system – just let us know at Rick@bigskyscience.com Thanks!

Introduction

The aim is to use long range wifi transmitters on the M600 pro and basesation to connect to the Piccolo through a supplementary wifi network at a range of up to 500m (VLOS). 

Main risk is RF disturbance of the flight control link. However, experience has shown this is unlikely and this connection is extremely robust. Flight parameters should be double checked for loss-of-link actions. 

The best way to achieve a piccolo link is through the RC link. The solution presented here is a working fix for now until funds for such development become available. 

Very simply, this solution involves using a long-range wifi booster on the piccolo, coupled with a long range access point at the launch site. Any device connected to the access point can talk to each other.

Equipment

For Piccolo/UAS: Brostrend AC1200 AC3L – e.g. https://www.amazon.co.uk/BrosTrend-Linux-Wi-Fi-Adapter-AC3L/dp/B07FCN6WGX

Ground station: TP-Link 5GHz N300 Long Range Outdoor CPE for PtP and PtMP Transmission

 https://www.amazon.co.uk/gp/product/B00N2RO63U/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1

(I would consider a dual band next time- with 2.4 Ghz, so more wifi equipment can connect)

You will also need portable power for the ground station (and possible laptop, though can use a phone/tablet). We a car battery and an inverter. 

Setup

Rover’ wifi

Raspi pi – a brostrend AC1200 AC3L is attached to the rasp pi via a USB port. Was a pain to install due to the kernel version on the pi. Here are some pointers:

  1. On the piccolo pi ssh connection, type: unmame -a //tis displays the kernel version
  2. If the kernel version is current (5.4.51), then skip to 4), otherwise:
  3. Type: sudo apt update , then: sudo apt full-upgrade //this will update and use the newer kernel
  4.  Type : sudo sh -c ‘busybox wget deb.trendtechcn.com/install -O /tmp/install && sh /tmp/install’ //to install the driver

Further info on driver installation is here: https://deb.trendtechcn.com/

  1. May need a reboot – check wifi is there with: ifconfig

Should see wlan0 and wlan1 – e.g. two wifi adapters. If you have the pi setup over wifi already then it should connect to you existing network, but with a different IP. See networking steps below for how to add pi to wifi network. 

  1. Disable the onboard wifi:

edit /boot/config.txt and add this lines:

dtoverlay=pi3-disable-wifi

Optionally can disable bluetooth by adding this:

dtoverlay=pi3-disable-bt

After reboot, onboard wifi is disabled. Confirm only one wlan is present with ifconfig and that is is the ACL3.  To undo, comment out the same line above. 

 

  1. While we are here, set the SSID for new wifi network we are about to create below:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

And add a block like this with the correct details:

network={

    ssid=”FieldLAN”

    psk=”piccolo is cool”

    id_str=”FieldLAN”

priority=2

}

 

  1. Priority 2 is added to make sure it connects to the fieldLAN above my home network, which has priority=1, change numbers accordingly for different setups.  
  1. Check DCHD settings with:

sudo nano /etc/dhcpcd.conf

Basestation’ wifi

Tp-link PHAROS – 13Dbi directional antenna. This is plugged in at base and pointed at the aircraft. There are some mounting considerations in the manual. 

To set it up, power it on and attach to the ethernet port of a computer. Set a static IP to 192.168.0.10. Then open a browser and go to:

192.168.0.254

My user/pwrd:

bigskyscience

C00nected

Router IP set to:

192.168.0.254 (home router set to 0.1)

Or

169.254.185.106

SSID: FieldLAN

pwd: piccolo is cool

In network settings make sure DCHP is enabled, lease time set to at least a day 11440, and a range say .100 to .200. (we will fix these for devices soon). 

Reboot.

Hopefully the piccolo pi will now reboot and join the new local network. Once this is done, go back into the router settings and fix the IP address through: network, address reservation: select the pi by mac address. 

 

Piccolo trigger/logger

 

  1. Add SSID for the FieldLAN wifi network created above:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

And add a block like this with the correct details:

network={

    ssid=”FieldLAN”

    psk=”piccolo is cool”

    

priority=3

}

(Priority 3 as I have my phone as 2.)

11. That’s it, it should all work and be ready to go in the field. Do test and refine the above based on your own experience though, and let me know any improvements.

css.php

Report this page

To report inappropriate content on this page, please use the form below. Upon receiving your report, we will be in touch as per the Take Down Policy of the service.

Please note that personal data collected through this form is used and stored for the purposes of processing this report and communication with you.

If you are unable to report a concern about content via this form please contact the Service Owner.

Please enter an email address you wish to be contacted on. Please describe the unacceptable content in sufficient detail to allow us to locate it, and why you consider it to be unacceptable.
By submitting this report, you accept that it is accurate and that fraudulent or nuisance complaints may result in action by the University.

  Cancel