Giter Site home page Giter Site logo

mavpixelgui's Introduction

MavpixelGUI

Windows Installer - Download

MavpixelGUI is the Windows configurator application for Mavpixel.

Mavpixel brings Cleanflight-style LED strip functionality to the APM project.

Mavpixel is a LED strip controller designed as a companion for APM, Pixhawk and other Mavlink-compatible flight controllers. Based on simple, inexpensive hardware, Mavpixel is a well-featured complete LED lighting solution for larger UAVs.

For more information on the Mavpixel board including installation and wiring see the Mavpixel Github

MavpixelGUI main window

Using MavpixelGUI

MavpixelGUI is provided with layout and controls familiar to users of Cleanflight. It acts as a minimal ground station and can connect to any available serial or network port or through another ground station in either Mavlink or CLI mode as appropriate. It also includes a firmware flasher for preparing and keeping Mavpixel boards up to date.

Because Mavpixel is based on Cleanflight LED control, much of the Cleanflight LED strip documentation is quite relevant, including the CLI commands. This information can be used to provide a perspective on the LED control system used by Mavpixel and MavpixelGUI.

Note that changes made in the GUI are activated on the Mavpixel only after the Send button at the bottom of the window is pressed.

Connecting to Mavpixel

MavpixelGUI can connect to Mavpixel in many ways, using existing channels or through new ones, either offline or while running.

Mavpixel has two serial ports, either of which can be used by MavpixelGUI directly. Connecting using the FTDI programmer gives quick offline access. A secondary configuration port is also available as described below.

When Mavpixel is connected to a vehicle the flight controller can forward it's messages over the Mavlink connection, allowing MavpixelGUI to connect through the flight controller's USB or network port.

Mission Planner and other ground stations can also forward Mavlink messages to the network giving MavpixelGUI the ability to connect over the network, through a running ground station, back up to the vehicle, and on to a live Mavpixel for full remote configuration access. For more details see below.

Connecting through Mission Planner

Connect Mission Planner to the vehicle in the usual way over USB, telemetry or any other preferred connection.

In MavpixelGUI select the UDP entry from the Port selector. Note the port (usually 14550). Click 'Connect' and leave MavpixelGUI waiting for the connection.

MavpixelGUI Port Selector

In Mission Planner, press - f to bring up the hidden menu.

Mission Plnner hidden menu

Click 'Mavlink' to open Mission Planner's Mavlink mirror window. In this window, select 'UDP Client' and 115200, enable write access and click 'Connect'.

Mission Planner UDP window

In the next window 'remote host' leave it as default 127.0.0.1 and click 'OK'.

Mission Planner UDP Host

In the next window 'remote Port' ensure the port number matches the port in MavpixelGUI and click 'OK'.

Mission Planner UDP Port

MavpixelGUI should now connect to the Mavpixel through Mission Planner. In this mode with heartbeats disabled Mavpixel messages are invisible to Mission Planner which is simply acting as a router.

Note that configuring Mavpixel this way generates extra traffic on telemetry connections which could create problems in some circumstances. It is therefore not recommended to configure Mavpixels in flight.

More to come..

Acknowledgements

MavpixelGUI owes thanks to it's contributors. Most notably:

Cleanflight (LED strip window design) - Dominic Clifton, Petr Ledvina, Gaël James and many others.

Mission Planner (Mavlink libraries and simpleexample.cs) - Michael Oborne.

Serial Port Net - Daniel Moth and Yuri Astrakhan.

GraphicsExtension.cs - Arun Reginald Zaheeruddin.

AVRDude - Brian S. Dean.

Alpanum.cs - Dominik Hurnaus

Apologies to any I may have forgotten or missed. If you belong here let me know.

This software is released under the open source GPL license. For more details, see LICENSE in the application directory.

mavpixelgui's People

Contributors

edo2313 avatar

Stargazers

 avatar Priyank Patel avatar Fabian avatar David B. Bitton avatar Mike avatar Alexander K avatar Cedric Malitte avatar Simon Luger avatar

Watchers

James Cloos avatar Cedric Malitte avatar Nick Metcalfe avatar Houtkabouter avatar Mike avatar

mavpixelgui's Issues

Problem with communication

I've a lot of problems with the Mavpixel GUI, I can't set these parameters (comunication error after the first connection).
The GUI read the led config and then give me an error, i can't see "Mavlink ready" at the bottom.
Same issue with USB and UPD connection.
The Mavlink connection with the Pixhawk work fine, I see the colors changes of the LEDs, I can't adjust the brightness.
I use Arduino Nano, connected with the Mini USB port at 57600 Bd.
Regards,

Marco

immagine

immagine

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.