{"id":15905052,"url":"https://github.com/huangcongqing/curriculum-design","last_synced_at":"2025-04-02T20:45:25.131Z","repository":{"id":107568713,"uuid":"111385785","full_name":"HuangCongQing/curriculum-design","owner":"HuangCongQing","description":"课程设计，课程代码（基于物联网窗帘控制软件逻辑实现）","archived":false,"fork":false,"pushed_at":"2018-05-01T13:42:02.000Z","size":31155,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-13T13:05:55.018Z","etag":null,"topics":["c","iot","lcd","socket","z-stack","zigbee"],"latest_commit_sha":null,"homepage":"","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/HuangCongQing.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":"2017-11-20T08:59:36.000Z","updated_at":"2023-05-24T05:54:45.000Z","dependencies_parsed_at":"2023-04-08T21:57:47.541Z","dependency_job_id":null,"html_url":"https://github.com/HuangCongQing/curriculum-design","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/HuangCongQing%2Fcurriculum-design","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuangCongQing%2Fcurriculum-design/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuangCongQing%2Fcurriculum-design/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuangCongQing%2Fcurriculum-design/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HuangCongQing","download_url":"https://codeload.github.com/HuangCongQing/curriculum-design/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246892779,"owners_count":20850846,"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":["c","iot","lcd","socket","z-stack","zigbee"],"created_at":"2024-10-06T13:00:28.935Z","updated_at":"2025-04-02T20:45:20.123Z","avatar_url":"https://github.com/HuangCongQing.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# curriculum-design\n课程设计，课程代码\n\n2017.12\n\u003e 本项目由[@重庆](https://github.com/HuangCongQing/curriculum-design)学习整理\n\n### 学习过程\n\n* [第1次test](./cqupt3/03_day_2)\n* [第2次刷红绿蓝三种颜色](./02_day/02_code)\n* [第3次图片触摸屏](./cqupt3/03_day_2)\n* [第4次点击切换界面](./cquptALL/03_day)\n\n### 硬件所需\n* ARM开发板（GEC210是一款高性能的Cortex A8核心板）\n* Zigbee协调器和节点（ Z-Stack是符合Zigbee协议栈规范的一个硬件和软件平台）\n* 步进电机\n\n### 思路分析过程\n\n![原理过程](https://upload-images.jianshu.io/upload_images/4340772-47c6685733e8c2a7.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)\n\n#### 流程图\n\n首先ARM开发板通过串口发送数据字符串“11”“10”到协调器，协调器自动发送数据到节点，节点通过函数处理将字符串转化为数组，通过数组内容判断，来决定电机正转或者是反转。\n\n![数据流程图](https://upload-images.jianshu.io/upload_images/4340772-83a0284e2f85c27d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)\n\n### 项目目录(cmd : tree/F：递归显示目录结构)\n```\nmotor_completed\n│  makefile    // 编译命令文件，运行此命令，输出编译文件，把编译文件放到arm32中（）\n│           arm-linux-gcc -o **./bin/cqupt1** ./src/*.c -I ./include/ -std=c99 -L ./lib -l ts -l pthread\n├─bin\n│      0.bmp  //图片放置此文件夹\n│      cqupt\n│      cqupt1\n│      em.bmp\n│      main1.bmp\n│\n├─include\n│      lcd.h     \n│      serial.h  //串口通信\n│      ts.h\n│      tslib.h\n│      ui.h\n│\n├─lib\n│      libts.so\n│\n└─src\n        lcd.c       // LCD\n        main.c      // 主函数执行\n        serial.c    //串口通信\n        ts.c        //触摸屏控制\n        ui.c        //图片切换\n\n```\n\n### 实现效果\n\n\n![](https://upload-images.jianshu.io/upload_images/4340772-39e1b0991dafb853.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)\n\n### LICENSE\n\n本项目全部内容遵守 MIT 许可协议.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuangcongqing%2Fcurriculum-design","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuangcongqing%2Fcurriculum-design","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuangcongqing%2Fcurriculum-design/lists"}