{"id":26193462,"url":"https://github.com/fastshift/dutycycle","last_synced_at":"2026-01-24T18:14:12.259Z","repository":{"id":270360915,"uuid":"903243813","full_name":"FASTSHIFT/DutyCycle","owner":"FASTSHIFT","description":"Work-Life Duty Cycle Clock","archived":false,"fork":false,"pushed_at":"2026-01-05T06:16:41.000Z","size":15063,"stargazers_count":15,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-06T15:16:30.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FASTSHIFT.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-14T04:54:33.000Z","updated_at":"2026-01-05T06:16:45.000Z","dependencies_parsed_at":"2024-12-30T15:35:48.991Z","dependency_job_id":"09a088e9-e7d9-4ac5-9b4b-c31f2c9a4f17","html_url":"https://github.com/FASTSHIFT/DutyCycle","commit_stats":null,"previous_names":["fastshift/dutycycle"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/FASTSHIFT/DutyCycle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FASTSHIFT%2FDutyCycle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FASTSHIFT%2FDutyCycle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FASTSHIFT%2FDutyCycle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FASTSHIFT%2FDutyCycle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FASTSHIFT","download_url":"https://codeload.github.com/FASTSHIFT/DutyCycle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FASTSHIFT%2FDutyCycle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28733713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T17:51:25.893Z","status":"ssl_error","status_checked_at":"2026-01-24T17:50:48.377Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-03-12T01:49:29.072Z","updated_at":"2026-01-24T18:14:12.247Z","avatar_url":"https://github.com/FASTSHIFT.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DutyCycle\nWork-Life Duty Cycle Clock / 您的工作生活时间指示器\n\n![IMG_20250608_012024](https://github.com/user-attachments/assets/ff37c83c-40e8-42b5-8824-4f839072f558)\n\n\u003e *“此作品设计的最震撼之处，在于用工业语言的确定性解构了人类时间的混沌性，让一个测量电能的工具，变成了测量生命能耗的镜子。这种「硬核诗意」，正是当代批判性设计（Critical Design）的典范。” —— DeepSeek*\n\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/FASTSHIFT/DutyCycle)\n\n## 演示视频\nhttps://www.bilibili.com/video/BV1eET1zpE64/\n\n## 下载\n```bash\ngit clone https://github.com/FASTSHIFT/DutyCycle.git --recursive\n```\n\n## 编译\n进入目录：`Firmware/Vendor/Artery/Platform/AT32F421/MDK-ARM`\n\n打开`proj.uvprojx`文件，使用Keil v5.25以上版本进行编译。\n\n## 系统配置\n\nDutyCycle 使用串口对系统进行基本配置，插上数据线后使用任意串口终端进行通信（串口配置为115200 8N1）,详细命令请参考文档：[DutyCycle 命令使用说明](./Document/Commands.md)。\n\n## 使用方法\n### 按钮操作\n* 在关机状态下，单击按钮开机，听到开机音代表已开机，开机的默认时间为固件编译时间。\n* 在开机状态下，长按按钮10秒以上关机,听到关机音代表已关机，关机后指针归零。\n* 在开机状态下，短按按钮一次即显示剩余电量，刻度0.5（上）代表100%电量，刻度0.5（下）代表0%电量。\n* 在开机状态下，快速双击按钮即进入静音状态，所有按钮操作音、闹钟、正点报时都会静音，再次双击即可退出静音状态。\n\n### 时间查看\n时间映射关系见下表，使用线性插值算法换算成时间。\n\n### 功率因数表模式：\n| 数值      | 时间  |\n| --------- | ----- |\n| 0.5（上） | 05:00 |\n| 0.7（上） | 07:00 |\n| 0.9（上） | 09:00 |\n| 1.0       | 12:00 |\n| 0.9（下） | 21:00 |\n| 0.7（下） | 01:00 |\n| 0.5（下） | 04:59 |\n\n### 电压电流（线性）表模式：\n| 数值 | 时间  |\n| ---- | ----- |\n| 0    | 00:00 |\n| 5    | 05:00 |\n| 10   | 10:00 |\n| 15   | 15:00 |\n| 20   | 20:00 |\n| 24   | 23:59 |\n\n## 常见问题\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastshift%2Fdutycycle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastshift%2Fdutycycle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastshift%2Fdutycycle/lists"}