Giter Club home page Giter Club logo

esp32-mavlink-arduino-example's Introduction

How to use MAVLink on Arduino ESP32 with PlatformIO

MAVLink for Arduino ESP32

Configuration and Installation

Change the creds.h file with your WiFi credentials.

#define WIFI_SSID "YOUR_SSID"
#define WIFI_PASS "YOUR_WIFI_PASS"

It's recommanded to use a static IP address. You can change it in the conf.h file. Don't forget to set your Groundstation IP address.

#define LOCAL_IP 192, 168, 23, 23
#define SUBNET 255, 255, 255, 255
#define GATEWAY 192, 168, 23, 1
#define LOCAL_PORT 14500

#define GROUNGSTATION_IP "192.168.23.2"
#define GROUNDSTATION_PORT 14550

And change the status LED pins to your need.

#define LED_GREEN 16
#define LED_RED 17

QGroundControl

After successfully flashing your ESP32 with the firmware, the serial monitor should output the WiFi connection status.

Open QGroundControl and go to Application Settings tick SiK Radio (Serial) and/or UDP under AutoConnect the following devices. QGroundControl should automatically connect to your ESP32 and show its position on the map. Optionally you can enable Virtual Joystick under Fly View.

You can also set connection type and settings manually under Comm Links.

Use MAVLink Inspector under Analyze Tools to get an insight into the MAVLink traffic between your ESP32 and Groundstation.

ESP32 MAVLink QGroundControl

Sources and Inspiration

More

Here is a list of projects that uses this sourcecode as a base (coming soon):

  • ESP32 MAVLink Rover
  • MAVLink Standalone Hardware Groundstation
  • Pelco-D to MAVLink

โœ๏ธ Blog: https://www.technopolis.tv/How-to-use-MAVLink-on-ESP32/

esp32-mavlink-arduino-example's People

Stargazers

 avatar

Watchers

 avatar

Forkers

cmb87

esp32-mavlink-arduino-example's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.