{"id":26023084,"url":"https://github.com/litilexuezha/iot-esp32c3","last_synced_at":"2025-03-06T10:39:58.079Z","repository":{"id":280738318,"uuid":"654563146","full_name":"LitileXueZha/iot-esp32c3","owner":"LitileXueZha","description":"Arduino - 合宙 esp32c3 开发系列","archived":false,"fork":false,"pushed_at":"2023-06-16T12:06:43.000Z","size":63,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-05T04:02:06.845Z","etag":null,"topics":["arduino","esp32","examples","iot"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LitileXueZha.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":"2023-06-16T11:59:55.000Z","updated_at":"2024-04-18T01:46:36.000Z","dependencies_parsed_at":"2025-03-05T04:02:10.408Z","dependency_job_id":"d043fcdc-38b1-4962-9a86-c10f8867c1c7","html_url":"https://github.com/LitileXueZha/iot-esp32c3","commit_stats":null,"previous_names":["litilexuezha/iot-esp32c3"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LitileXueZha%2Fiot-esp32c3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LitileXueZha%2Fiot-esp32c3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LitileXueZha%2Fiot-esp32c3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LitileXueZha%2Fiot-esp32c3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LitileXueZha","download_url":"https://codeload.github.com/LitileXueZha/iot-esp32c3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242195232,"owners_count":20087752,"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":["arduino","esp32","examples","iot"],"created_at":"2025-03-06T10:39:57.608Z","updated_at":"2025-03-06T10:39:58.070Z","avatar_url":"https://github.com/LitileXueZha.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arduino - 合宙 esp32c3 开发系列\n\n## 引\n\n## 设备示例\n\n3. 温湿度传感器 AHT-10，I2C 通讯\n4. OLED 液晶屏 128*64，I2C 通讯，SH1106 驱动\n5. 温度传感器 DS18B20，单总线通讯\n6. ~~声音传感器 KY-038，AO+DO 输出~~\n7. 彩色 LCD 液晶屏 128*160，SPI 通讯，ST7735S 驱动\n8. ~~2 位共阴数码管，10 PIN~~\n\n## n 多的坑\n\n### 不要买带排针的设备\n\n重要的事情说 3 遍，**不要买带排针的**。合宙 esp32c3 就是这种，带个排针看似很“美好”，其实是个天坑。为什么？带排针，说明引脚没焊接，没焊接大概率引脚会接触不良，就算插上面包板也一样。不要问我怎么知道的，，，排查了一整天头都快炸了。\n\n记得买**已焊接**的设备。除非你会手动焊。\n\n### vscode arduino 下载包太慢，没走代理，设置了环境变量也没用\n\n找到扩展里自带 arduino-cli 的位置，初始化设置并添加代理。\n\n```shell\n$ arduino-cli.exe config init\n$ arduino-cli.exe config set network.proxy \u003cproxy_url\u003e\n```\n\nvscode 这个 arduino 扩展比较简陋，没有对 arduino-cli 配置文件的支持，不过可以手动使用 arduino-cli 做一些操作，和扩展自己执行是等效的。扩展只是加了些命令行参数而已。\n\n### KY-038 没用，检测不了分贝\n\n### 数码管需要接的引脚很多，合宙板子没多少 IO 接口，不推荐购买。不如买 I2C 通讯的显示屏，可以串更多的设备\n\n### LCD 屏真的辣眼睛，尤其在小屏幕上，有钱建议购买 OLED\n\n### 注意事项\n\n多看几遍合宙板子文档里的注意事项。\n\n## 调试\n\n### 前提条件\n\n- 经典款。带串口芯片 CH343，安装驱动后可烧录\n  \n  不支持内置 JTAG 调试（坑）。这样情况下需要外接 GPIO 18/19 引脚到 USB 以供调试。\n\n- 简约款/新款。无串口芯片\n\n  支持内置 JTAG，但是需要进入下载模式烧录。\n\n## 参考文档\n\n- [Arduino 库参考](https://www.arduino.cc/reference/en/)\n- [乐鑫文档 - esp32](https://docs.espressif.com/projects/arduino-esp32/en/latest/index.html)\n- [合宙文档 - esp32c3 开发板](https://wiki.luatos.com/chips/esp32c3/board.html)\n- [合宙文档2](https://doc.openluat.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitilexuezha%2Fiot-esp32c3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitilexuezha%2Fiot-esp32c3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitilexuezha%2Fiot-esp32c3/lists"}