{"repo":"fphammerle/python-cc1101","free":true,"listed":false,"github":"https://github.com/fphammerle/python-cc1101","clone":"git clone https://github.com/fphammerle/python-cc1101.git","description":"Python Library & Command Line Tool to Transmit RF Signals via CC1101 Transceivers","language":"Python","stars":108,"topics":["radio-frequency-communication","cc1101","raspberry-pi","python","linux"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"python-cc1101 Python Library & Command Line Tool to Transmit RF Signals via CC1101 Transceivers Setup On Raspbian / Raspberry Pi OS, dependencies can optionally be installed via: Wiring Raspberry Pi Connect the following pins directly: CC1101 Raspberry Pi ------- -------------------- VDD 3.3V (Pin 1 or 17) SI MOSI (Pin 19) SO MISO (Pin 21) CSn CE0 (Pin 24) SCLK SCLK (Pin 23) GDO2\\ Any GPIO pin, commonly GPIO25 (Pin 22) \\[1,2,3\\] GDO0\\ Any GPIO pin, GPIO24 (Pin 18) recommended GND Ground No resistors required. Connection of pins marked with \\ is optional. GDO2 stays \"high until power and crystal have stabilized\" (see CHIP RDYn in docs). GDO0 is used by .asynchronous transmission() for data input. If some of these pins are already in use, select a different SPI bus or chip select: https://www.raspberrypi.org/documentation/hardware/raspberrypi/spi/README.md (permalink) Raspberry Pi GPIO docs: https://www.raspberrypi.org/documentation/usage/gpio/ Usage Library See examples. In case CC1101 is connected to a different SPI bus or chip select line than /dev/spidev0.0 , use CC1101(spi bus=?, spi chip select=?) . Command Line See cc1101-transmit --help . Troubleshooting In case a PermissionError gets raised, check the permissions of /dev/spidev . You'll probably need sudo usermod -a -G spi $USER , followed by a re-login. Consult CC1101's offical docs for an in-depth explanation of all options: https://www.ti.com/lit/ds/symlink/cc1101.pdf","default_branch":null,"files":null,"tree":[],"storefront":"/r/fphammerle","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fphammerle/python-cc1101/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}