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.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

rfrx-2.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file rfrx-2.1.0.tar.gz.

File metadata

  • Download URL: rfrx-2.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.10.6 Linux/5.15.0-1037-azure

File hashes

Hashes for rfrx-2.1.0.tar.gz
Algorithm Hash digest
SHA256 d3177cdac5004479d7a541d72340a61989c18a3a5830429e5a0ba3f09604d7b8
MD5 15839a16f287066515776b079f093b74
BLAKE2b-256 6a425ae87e07426fc5029027d2e53897a2532819695d043f100f52ee5c050400

See more details on using hashes here.

File details

Details for the file rfrx-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: rfrx-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.10.6 Linux/5.15.0-1037-azure

File hashes

Hashes for rfrx-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6fda4898ad37f47f37f1def53ee218e467dc51bf0675ac14f1e1b34083fd9301
MD5 a5db462ba8d875cc9885fa0b6481574f
BLAKE2b-256 f29536ca943fad0447f9f9d4528fa276c2c4b2e995a7055f0d4706ce2c54f90c

See more details on using hashes here.

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