Ethernet Adapters

Ardupilot has the ability to use Ethernet peripherals and networking (see Network Interface). This page includes various switches and adapters known to work

../_images/Net_Adapter.png

Most H7 based autopilots do not include native ethernet support but ethernet networking capability can be added using an Ethernet Adapter (see BotBlox DroneNet and CubeLAN 8-Port Switch below) which provide connectivity using PPP protocol over the autopilot’s serial port

Hardware

PPP Setup

  • PPP capability is not included by default on standard H7 autopilot firmware, so the Custom Firmware Build Server must be used to build an firmware that includes it

../_images/build-server-ppp.jpg

Note

if using a local build environment (Building the code), you can include PPP capability by using the --enable-ppp waf configuration option when building the code for an autopilot locally.

  • Connect one of the H7 based autopilot’s serial ports to the ethernet switch’s or Ethernet-to-PPP-adapter’s USART port. For optimum performance a serial port with flow control should be used (e.g. normally SERIAL1 or SERIAL2). In the following instructions SERIAL2 is used

Autopilot Setup

See PPP configuration and ArduPilot Port Configuration sections of Network Interface. Be sure to set NET_ENABLE = 1 and reboot first. The Ethernet MAC configuration is internal to the Adapter itself.

Adapter Setup

Currently available adapters use DroneCAN to change or setup the Ethernet interface parameters such as MAC and IP addresses, NET mask, etc. Once setup/changed, the DroneCAN connection can be removed, if desired. When attached to a DroneCAN enabled port on the autopilot, you can use Mission Planner or the DroneCAN GUI tool to explore/change its Ethernet parameters.

In addition, it may implement its own Web Browser interface for status and configuration on the network similar to:

../_images/PPP_web_server.jpg

Adapters

../_images/BotBlox_DroneNet.jpg

Video