{"id":16658211,"url":"https://github.com/connorrigby/elixir-rf24","last_synced_at":"2025-07-24T13:10:43.236Z","repository":{"id":152452184,"uuid":"267774447","full_name":"ConnorRigby/elixir-rf24","owner":"ConnorRigby","description":"RF24 radio driver for Elixir","archived":false,"fork":false,"pushed_at":"2020-05-30T18:44:23.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T21:05:29.551Z","etag":null,"topics":["elixir","nerves","radio"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ConnorRigby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-29T05:39:19.000Z","updated_at":"2021-10-23T01:22:35.000Z","dependencies_parsed_at":"2023-06-08T02:30:23.704Z","dependency_job_id":null,"html_url":"https://github.com/ConnorRigby/elixir-rf24","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ConnorRigby/elixir-rf24","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorRigby%2Felixir-rf24","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorRigby%2Felixir-rf24/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorRigby%2Felixir-rf24/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorRigby%2Felixir-rf24/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConnorRigby","download_url":"https://codeload.github.com/ConnorRigby/elixir-rf24/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorRigby%2Felixir-rf24/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266845403,"owners_count":23994062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","nerves","radio"],"created_at":"2024-10-12T10:03:43.194Z","updated_at":"2025-07-24T13:10:43.211Z","avatar_url":"https://github.com/ConnorRigby.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RF24\n\nElixir Interface for nordic NRF24 radios\n\n[datasheet](https://www.nordicsemi.com/-/media/DocLib/Other/Product_Spec/nRF24L01PPSv10.pdf)\n\n[Arduino compatible library](https://github.com/nRF24/RF24/)\n\n## Current Features / Known Issues / wants\n\n* [x] Read/write pipe address\n* [X] Read/write tx address\n* [x] Send packets\n* [x] Receive packets\n* [x] Auto Ack packets\n* [ ] Sane defaults\n* [ ] Basic Usage documentation\n* [ ] Processing packet data outside of the library\n\n# WARNINGS\n\nBe sure to check your local laws for legal radio bands.\n2.4 ghz is a free band in most places, but be sure to \ncheck.\n\n## Compatability\n\nThere is no common library for encoding/decoding packet\ndata, so i decided to leave that up to the developer.\nSo far i've tested this library with the following \nArduino compatible libraries.\n\n* [My Sensors](https://www.mysensors.org/)\n* [nRF24](https://github.com/nRF24/RF24)\n\n## Wiring\n\nCurrently i've only tested on Raspberry Pi, but it should work\non any device that [ElixirCircuits](https://elixir-circuits.github.io/) supports.\n\n## Usage\n\nBelow is an example of the most basic usage from the Elixir console\n\n```elixir\niex(1)\u003e {:ok, pid} = RF24.start_link()\n{:ok, #PID\u003c0.1933.0\u003e}\n# cause a remote device to send a few packets..\niex(2)\u003e flush()\n{RF24, {:packet_received, 1, \"Hello, world! x1\"}}\n{RF24, {:packet_received, 1, \"Hello, world! x2\"}}\n{RF24, {:packet_received, 1, \"Hello, world! x3\"}}\niex(3)\u003e RF24.send(pid, \"Welcome to the world of radio!\", true)\n\u003c\u003c14\u003e\u003e\niex(4)\u003e flush()\n{RF24, {:packet_sent, 7}}\n```\n\n## Examples\n\nThere is a complement to [this arduino example](https://github.com/nRF24/RF24/blob/master/examples/pingpair_irq_simple/pingpair_irq_simple.ino)\nin this project: [lib/rf24/simple_ping_pair.ex]\n\n[There is a repo here](https://github.com/ConnorRigby/elixir-radio-examples) with some more examples\n\n## Encryption\n\nThe NRF24 radios do not support hardware encryption. It\nis up to the developer to implement this if so desired.\n\n## RSSI\n\nThe NRF24 radios do not support hardware based\nReceived Signal Strength Indication. There is a single \nregister that indicates if the last received packet was\ngreater than or less than -24 dbm. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorrigby%2Felixir-rf24","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnorrigby%2Felixir-rf24","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorrigby%2Felixir-rf24/lists"}