{ "info": { "author": "Adafruit Industries", "author_email": "circuitpython@adafruit.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries", "Topic :: System :: Hardware" ], "description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-rfm9x/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/rfm9x/en/latest/\n :alt: Documentation Status\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n :target: https://discord.gg/nBQh6qu\n :alt: Discord\n\n.. image:: https://travis-ci.com/adafruit/Adafruit_CircuitPython_RFM9x.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_RFM9x\n :alt: Build Status\n\nCircuitPython module for the RFM95/6/7/8 LoRa 433/915mhz radio modules.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n* `Bus Device `_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle `_.\n\nUsage Example\n=============\n\nInitialization of the RFM radio requires specifying a frequency appropriate to\nyour radio hardware (i.e. 868-915 or 433 MHz) and specifying the pins used in your\nwiring from the controller board to the radio module.\n\nThis example code matches the wiring used in the\n`LoRa and LoRaWAN Radio for Raspberry Pi `_\nproject:\n\n.. code-block:: python\n\n import digitalio\n import board\n import busio\n import adafruit_rfm9x\n\n RADIO_FREQ_MHZ = 915.0\n CS = digitalio.DigitalInOut(board.CE1)\n RESET = digitalio.DigitalInOut(board.D25)\n spi = busio.SPI(board.SCK, MOSI=board.MOSI, MISO=board.MISO)\n rfm9x = adafruit_rfm9x.RFM9x(spi, CS, RESET, RADIO_FREQ_MHZ)\n\nNote: the default baudrate for the SPI is 50000000 (5MHz). The maximum setting is 10Mhz but \ntransmission errors have been observed expecially when using breakout boards.\nFor breakout boards or other configurations where the boards are separated, it may be necessary to reduce\nthe baudrate for reliable data transmission.\nThe baud rate may be specified as an keyword parameter when initializing the board.\nTo set it to 1000000 use :\n\n.. code-block:: python\n\n # Initialze RFM radio with a more conservative baudrate\n rfm9x = adafruit_rfm9x.RFM9x(spi, CS, RESET, RADIO_FREQ_MHZ, baudrate=1000000)\n\nOptional controls exist to alter the signal bandwidth, coding rate, and spreading factor\nsettings used by the radio to achieve better performance in different environments.\nBy default, settings compatible with RadioHead Bw125Cr45Sf128 mode are used, which can\nbe altered in the following manner (continued from the above example):\n\n.. code-block:: python\n\n # Apply new modem config settings to the radio to improve its effective range\n rfm9x.signal_bandwidth = 62500\n rfm9x.coding_rate = 6\n rfm9x.spreading_factor = 8\n rfm9x.enable_crc = True\n\nSee examples/rfm9x_simpletest.py for an expanded demo of the usage.\n\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n`_\nbefore contributing to help this project stay welcoming.\n\nBuilding locally\n================\n\nZip release files\n-----------------\n\nTo build this library locally you'll need to install the\n`circuitpython-build-tools `_ package.\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install circuitpython-build-tools\n\nOnce installed, make sure you are in the virtual environment:\n\n.. code-block:: shell\n\n source .env/bin/activate\n\nThen run the build:\n\n.. code-block:: shell\n\n circuitpython-build-bundles --filename_prefix adafruit-circuitpython-rfm9x --library_location .\n\nSphinx documentation\n-----------------------\n\nSphinx is used to build the documentation based on rST files and comments in the code. First,\ninstall dependencies (feel free to reuse the virtual environment from above):\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install Sphinx sphinx-rtd-theme\n\nNow, once you have the virtual environment activated:\n\n.. code-block:: shell\n\n cd docs\n sphinx-build -E -W -b html . _build/html\n\nThis will output the documentation to ``docs/_build/html``. Open the index.html in your browser to\nview them. It will also (due to -W) error out on any warning like Travis will. This is a good way to\nlocally verify it will pass.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adafruit/Adafruit_CircuitPython_RFM9x", "keywords": "adafruit lora radio rfm95 rfm9x rfm96 rfm97 rfm98 hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-rfm9x", "package_url": "https://pypi.org/project/adafruit-circuitpython-rfm9x/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-rfm9x/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_RFM9x" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-rfm9x/1.1.7/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for RFM95/6/7/8 LoRa 433/915mhz radio modules.", "version": "1.1.7" }, "last_serial": 5776953, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "fe9d6a7608753aefde7deb2031eb0503", "sha256": "b656a44ae85ec517bb0ee8ac214ddee1ca0dc17252907c24cc0f319c720748d4" }, "downloads": -1, "filename": "adafruit-circuitpython-rfm9x-1.1.0.tar.gz", "has_sig": false, "md5_digest": "fe9d6a7608753aefde7deb2031eb0503", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28824, "upload_time": "2018-08-07T22:21:58", "url": "https://files.pythonhosted.org/packages/92/a1/33166d84f1523726b73bcff5d4f5f5d40a36ac3e406c7cfc1a512ebbf12e/adafruit-circuitpython-rfm9x-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "f97dfd9077d27ec84c2cffa9c26a099e", "sha256": "4650676b810a722df15c5a12c22f135819c675a384b8881a88b9ab019320fa60" }, "downloads": -1, "filename": "adafruit-circuitpython-rfm9x-1.1.1.tar.gz", "has_sig": false, "md5_digest": "f97dfd9077d27ec84c2cffa9c26a099e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28782, "upload_time": "2018-08-29T00:57:32", "url": "https://files.pythonhosted.org/packages/02/65/a023f27b2220c71c341febcf0802bc1d82dd49f780d0600de65ade394234/adafruit-circuitpython-rfm9x-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "c7a98311eeadb10ef9798c89f3b9d1b3", "sha256": "fa062e678cfa7a7dc32319f364618abf23bf3146688db1094dd2953fcbe9056d" }, "downloads": -1, "filename": "adafruit-circuitpython-rfm9x-1.1.2.tar.gz", "has_sig": false, "md5_digest": "c7a98311eeadb10ef9798c89f3b9d1b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29203, "upload_time": "2018-11-25T18:51:54", "url": "https://files.pythonhosted.org/packages/7a/db/c99211468f07561e585d806311455707f752023c0ffec67074765c1a28c3/adafruit-circuitpython-rfm9x-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "4e5b3d50e6ffe3c1696283eb17690e96", "sha256": "b8c38abdabec5fa9a36e0c44a497754f36964792ca6a649b07d60e1acd00498a" }, "downloads": -1, "filename": "adafruit-circuitpython-rfm9x-1.1.3.tar.gz", "has_sig": false, "md5_digest": "4e5b3d50e6ffe3c1696283eb17690e96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28313, "upload_time": "2018-12-30T21:37:14", "url": "https://files.pythonhosted.org/packages/f7/98/cde76f1a6b28d75433ea4d047f35b223336c3d52c155f4c8db450f8ceb48/adafruit-circuitpython-rfm9x-1.1.3.tar.gz" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "04b05eff4af43b2c2ea483dc2eb84360", "sha256": "a82ab38e47fea905a8ed2c99346faa759e92786b3a15eaeae44d1bd16a82d4a4" }, "downloads": -1, "filename": "adafruit-circuitpython-rfm9x-1.1.4.tar.gz", "has_sig": false, "md5_digest": "04b05eff4af43b2c2ea483dc2eb84360", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28368, "upload_time": "2019-01-16T03:12:09", "url": "https://files.pythonhosted.org/packages/4c/f1/a19287152049981950cff09029f24fe300ff81bff0580ed482ef3b9e5307/adafruit-circuitpython-rfm9x-1.1.4.tar.gz" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "c8d2cdd6d80698e235e9827e03f266f4", "sha256": "c41660940e2de330f3d06d920b08f1e695c04e53beab1b0409b62754017e5e28" }, "downloads": -1, "filename": "adafruit-circuitpython-rfm9x-1.1.5.tar.gz", "has_sig": false, "md5_digest": "c8d2cdd6d80698e235e9827e03f266f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30518, "upload_time": "2019-03-21T16:43:21", "url": "https://files.pythonhosted.org/packages/44/68/ca178b9c7f901eb17dbd2846e2d60a79229e661451e7fa6d86a78634d5d5/adafruit-circuitpython-rfm9x-1.1.5.tar.gz" } ], "1.1.6": [ { "comment_text": "", "digests": { "md5": "12ae19d76ad31360694ed66c3acd0274", "sha256": "549351a8e85a648e865b8404f5081f30749474163b4ddfd85a70895e49a36b78" }, "downloads": -1, "filename": "adafruit-circuitpython-rfm9x-1.1.6.tar.gz", "has_sig": false, "md5_digest": "12ae19d76ad31360694ed66c3acd0274", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30566, "upload_time": "2019-05-06T19:24:46", "url": "https://files.pythonhosted.org/packages/29/3d/3c3ff427f0aeb8b45e3e6fe652f35b83befeb91fa86f6bd703f05116d5c8/adafruit-circuitpython-rfm9x-1.1.6.tar.gz" } ], "1.1.7": [ { "comment_text": "", "digests": { "md5": "c09f5ae791b9e1303011863f17076dc9", "sha256": "58af4af11ac765059c06bf83148bc5c819e56d0e6db0ad2b6ff297738a0387c0" }, "downloads": -1, "filename": "adafruit-circuitpython-rfm9x-1.1.7.tar.gz", "has_sig": false, "md5_digest": "c09f5ae791b9e1303011863f17076dc9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30565, "upload_time": "2019-09-03T16:32:02", "url": "https://files.pythonhosted.org/packages/ac/b4/1de11888a02b8b98260d9e42d0e21c5108360a5390abe32e74c60f610cc6/adafruit-circuitpython-rfm9x-1.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c09f5ae791b9e1303011863f17076dc9", "sha256": "58af4af11ac765059c06bf83148bc5c819e56d0e6db0ad2b6ff297738a0387c0" }, "downloads": -1, "filename": "adafruit-circuitpython-rfm9x-1.1.7.tar.gz", "has_sig": false, "md5_digest": "c09f5ae791b9e1303011863f17076dc9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30565, "upload_time": "2019-09-03T16:32:02", "url": "https://files.pythonhosted.org/packages/ac/b4/1de11888a02b8b98260d9e42d0e21c5108360a5390abe32e74c60f610cc6/adafruit-circuitpython-rfm9x-1.1.7.tar.gz" } ] }