Hi everyone, I want to get some data (flight mode etc) from the mission planner via the arduino (connected to the computer via usb). Is it possible ? or can I get data via same arduino in a different way from pixhawk
mission planner (PC) and the pixhawk flight controller speak Mavlink protocol between each other.
So all you need to do is to “teach” your arduino to “talk” mavlink as well.
There are some threads on this forum describing how to do that. Just search for “arduino mavlink”
Here are the threads I think are helpful in learning to use MAVLink with the Arduino.
MAVLink and Arduino
by Juan Pedro López
This is not a post on the details of MAVLink serial protocol. If you are interested on the protocol itself, you can read the fantastic post by Pedro Alburquerque:
This post will be focused on my experience and practical use of MAVLink protocol on an on-board Arduino (Nano with ATmega328) that communicates with a Pixhawk flight controller (a clone one, v2.4.8). I am using the Arduino to control the lights of my drone (WS2812B leds) and the code you will…
Here’s the Blog about MAVLink.
#MAVLink - Step-by-Step
by Pedro Albuquerque
This post result from my struggle to find information about the subject to understand the concept, and developing a basic concept test.
My background - I have been using Ardupilot software on Multirotors and airplanes for 1 year.
I learned to program C (C86, Microsoft C, Turbo C) 30 year ago (yes 1986) , i’ve been away from programming in C, eventually only reading some code since then , and recently (2 month ago) I got to know arduino and its IDE…