{"id":13343774,"url":"https://github.com/yplam/ot1m","last_synced_at":"2026-01-17T01:51:11.155Z","repository":{"id":80254532,"uuid":"325223015","full_name":"yplam/ot1m","owner":"yplam","description":"OpenThread Demos base on NRF52840 and Zephyr.","archived":false,"fork":false,"pushed_at":"2022-02-08T12:00:49.000Z","size":355,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-24T16:49:17.885Z","etag":null,"topics":["lwm2m","nrf52840","openthread","zephyr","zephyr-rtos"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yplam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-29T07:55:34.000Z","updated_at":"2022-08-30T15:15:42.000Z","dependencies_parsed_at":"2023-07-21T04:32:04.264Z","dependency_job_id":null,"html_url":"https://github.com/yplam/ot1m","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yplam%2Fot1m","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yplam%2Fot1m/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yplam%2Fot1m/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yplam%2Fot1m/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yplam","download_url":"https://codeload.github.com/yplam/ot1m/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243171367,"owners_count":20247876,"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":["lwm2m","nrf52840","openthread","zephyr","zephyr-rtos"],"created_at":"2024-07-29T19:32:00.830Z","updated_at":"2026-01-17T01:51:11.124Z","avatar_url":"https://github.com/yplam.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"OT1M - OpenThread Development Module\n========================================\n\nOT1M 是一个开源的低功耗物联网模块，提供一个简便的方式来接入与测试 OpenThread 网络。\n\n模块硬件基于 NRF52840，引脚跟常见的 ESP8266 模块兼容，以及引出了USB相关引脚；\nOT1M 模块为设备接入物联网提供一个低功耗的选择，适合电池供电设备。\n\nNRF52840 是一个支持多协议的低功耗无线 SOC，支持 BLE，Zigbee，Thread，在这里选用的是 Thread 协议 。\n\nOpenThread 是由 Google 发布的 Thread 的开源实现，基于 IEEE 802.15.4， \n主要特点是实现了一个低功耗的IPv6协议，可以很容易的将原来基于IP协议的应用移植过来。\n\n模块软件基于 Zephyr RTOS，实现了以下几个子应用：\n\n* at_server，AT Server 用于配置网络，请求数据，实现了 SNTP 客户端、COAP 客户端以及LWM2M客户端功能\n* thingsboard_coap_sersor，配合 OT1M_EVM 底板，实现温湿度传感器数据通过COAP协议发送到ThingsBoard服务端\n* mcuboot，Bootloader 相关配置\n* cpu_idle，用于测试模块静止功耗\n\n## 入门\n\n参考 Zephyr 官方文档，安装 SDK：https://docs.zephyrproject.org/latest/getting_started/index.html\n\n创建项目主目录，如 ot_app，然后 clone 此项目源码到 ot1m 目录，然后使用 west 命令编译，如：\n\n```\nmkdir ot_app\ncd ot_app\ngit clone https://github.com/yplam/ot1m.git\nwest init -l ot1m\nwest update\ncd ot1m/applications/at_server\nwest build -b nrf52840ot1m_nrf52840  -- -DCONF_FILE=\"prj.conf overlay-at-modem.conf overlay-coap.conf\"\n\n```\n\n## 功耗\n\n* cpu_idle 状态下平均电流约 3ua\n* thingsboard_coap_sersor SED 模式，100s SLEEPY_POLL_PERIOD，并且没60秒读取温湿度上传，平均电流约 30ua-50ua，","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyplam%2Fot1m","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyplam%2Fot1m","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyplam%2Fot1m/lists"}