Skip to main content

Receive RF frames from SBUS and Pro-Tronik PTR-6A v2

Project description

rfrx

Test Release PyPI version pre-commit.ci status Code style: black Ruff

Receive RF frames from some remote controllers.

Available Decoder / Readers:

  • SBUS
  • Pro-Tronik PTR-6A v2

:warning: Don't forget to invert its electrical signal, eg. with a NAND gate ! :warning:

Configuration

Could be done in python calls, or by setting the following environment variables:

SBUS

  • RFRX_PORT: default to /dev/ttyS0
  • RFRX_TIMEOUT: default to 1
  • RFRX_N_CHANS: default to 16, number of useful channels for your case
  • RFRX_RUNNING: default to ON, to keep reading and procesing data
  • RFRX_RETRY: default to ON, to close and reopen the port again when something went wrong
  • RFRX_LOG_LEVEL: default to WARNING

ProTronik

Minimum, Middle and Maximum values read on your Right and Left Horizontal and Vertical joysticks

  • RFRX_RX_MIN: default to 192
  • RFRX_RX_MID: default to 992
  • RFRX_RX_MAX: default to 1796
  • RFRX_RY_MIN: default to 302
  • RFRX_RY_MID: default to 1100
  • RFRX_RY_MAX: default to 1900
  • RFRX_LY_MIN: default to 180
  • RFRX_LY_MID: default to 980
  • RFRX_LY_MAX: default to 1779
  • RFRX_LX_MIN: default to 192
  • RFRX_LX_MID: default to 992
  • RFRX_LX_MAX: default to 1790

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

rfrx-2.1.2.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

rfrx-2.1.2-py3-none-any.whl (5.8 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