{"id":18565581,"url":"https://github.com/leech001/rf-leak-module","last_synced_at":"2025-11-01T14:30:20.416Z","repository":{"id":53611220,"uuid":"311921499","full_name":"leech001/rf-leak-module","owner":"leech001","description":"Leak module based on STM32G030F6P6 and NRF24L01","archived":false,"fork":false,"pushed_at":"2023-08-26T04:35:44.000Z","size":2358,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-26T12:11:31.926Z","etag":null,"topics":["control","control-systems","hal","leak","monitoring","nrf24l01","stm32","stm32g030","water"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leech001.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}},"created_at":"2020-11-11T09:25:13.000Z","updated_at":"2024-12-25T14:11:18.000Z","dependencies_parsed_at":"2023-02-01T02:45:51.377Z","dependency_job_id":null,"html_url":"https://github.com/leech001/rf-leak-module","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"4803be992d104da0089572f2a7bf7fe37f95ac10"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leech001%2Frf-leak-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leech001%2Frf-leak-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leech001%2Frf-leak-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leech001%2Frf-leak-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leech001","download_url":"https://codeload.github.com/leech001/rf-leak-module/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239293947,"owners_count":19615043,"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","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":["control","control-systems","hal","leak","monitoring","nrf24l01","stm32","stm32g030","water"],"created_at":"2024-11-06T22:19:27.358Z","updated_at":"2025-11-01T14:30:20.337Z","avatar_url":"https://github.com/leech001.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Radio module for leak monitoring\n\nThe module is a board based on STM32G030F6P6 microcontroller and NRF24L01 radio module.\nThe module is designed to detect water leaks and notify the head unit about them.\nThis version of the module is powered by the 16340 (CR123) battery which should be enough for 12 months of operation.\n\n![image info](./image/module-3d.png)\n\nThe default operation logic of the module is as follows:\n1. Deep sleep for one minute;\n2. Humidity sensor interrogation;\n3. In case the threshold value is exceeded, send a message via NRF24L01 to the head unit which controls the devices;\n\n## Sensor general circuit\nThe radio sensor design itself is on EasyEDA https://easyeda.com/leech001/leakcontrol.\n\n## Software description\n\nA project source code based on the HAL library is available.\nThe project itself is generated in STM32CubeMX.\n\nSetting up the pipe identifier\n```\nconst uint64_t pipe1 = 0xF0F0F0F0A1LL;\n```\nSetting up speed\n```\nsetDataRate(RF24_250KBPS);\n```\nSetting up channel\n```\nsetChannel(76);\n```\nAdjusting the sensor threshold\n```\nif (water \u003e 200) {\n```\nСonfigure the period for sending the sensor status (min)\n```\nif (up_count == 0 || up_count \u003e= 360)\n```\n\nFor those who are not strong, there is a ready-made binary that just needs to be write in microcontroler (https://github.com/leech001/rf-leak-module/releases).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleech001%2Frf-leak-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleech001%2Frf-leak-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleech001%2Frf-leak-module/lists"}