Skip to main content

Python3 implementation of the Multi Serial Protocol

Project description

Multi Serial Protocol communication library

This python3.7 library enables control of MSP based cleanflight/betaflight flight controller boards via UART serial communication. It covers all commands and features listed in the MultiWii wiki page. Initially tested using a Raspberry pi zero and an SP Racing F3 board communicating via the GPIO rx/tx pins.

Installation and Initial setup

Dependencies

  • Python3.7
  • pySerial
  • Struct

pip install . should automatically install all requirements.

Requirements on the flight controller's side

  • RX_MSP (#define USE_RX_MSP)
  • DYNBALANCE (#define DYNBALANCE)

Throttle control via MSP may be disabled on certain boards with insufficient flash memory (anything under 128k flash size). Details on how to enable them can be found on Cleanflight's GitHub repo.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MultiWii-0.0.1.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

MultiWii-0.0.1-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page