专业版
#第七届立创电赛# qmk集成客制化RGB84键盘开发板

创建时间:2年前

描述

<div class="document"> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">* 1、项目功能介绍</h3> <hr class="horizontal-splitline normal-bold-2"><p><span style="font-size:16px;">【qmk客制化键盘】:RGB彩色,集成屏幕,编码器。</span><br><span style="font-size:16px;">【USB2.0 HUB】:1拖3的USB2.0集线器。</span><br><span style="font-size:16px;">【开发板】:同时还引出大部分GPIO引脚,能通过跳线修改BOOT模式。</span></p> <p> </p> <p><span style="font-size:16px;">84配列,RGB矩阵更加整齐</span></p> <p><span style="font-size:16px;">固件:QMK开源固件,目前硬件均已驱动,移植中。</span></p> <p><span style="font-size:16px;">MCU:<strong>N32G435CBL7</strong>   ROM:128K  RAM:32K</span><br><span style="font-size:16px;">OLED:0.96寸I2C 4Pin <strong>SSD1315 </strong></span></p> <p><span style="font-size:16px;">RGB: <strong>WS2812B</strong>, 矩阵 + 状态指示灯,可扩展</span></p> <p><span style="font-size:16px;">旋转编码器:<strong>EC11</strong>,可vial改键</span></p> <p><span style="font-size:16px;">USB2.0 HUB: <strong>SL2.1A</strong>,引出三个USB接口</span></p> <p> </p> <p><span style="font-size:16px;">基于Atmega32u4的final84验证板,已完成实物验证:<a href="/0xcb/neilzx_kb84" target="_blank">https://oshwhub.com/0xcb/neilzx_kb84</a></span></p> <p><span style="font-size:16px;">稚晖君的瀚文键盘开发板,待设计修改:<a href="/0xcb/kb_n32" target="_blank">https://oshwhub.com/0xcb/helloworld</a></span></p> <p><span style="font-size:16px;">有兴趣的同学还可以研究学习一下基于nRF的客制化双模键盘。</span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><img src="//image.lceda.cn/pullimage/Y4OqwIKuYWyKRExSXonfJcUb0HENVSlYmay0hZFg.jpeg" alt="" width="800" height="450"></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">V1, V2并排合照</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><img src="//image.lceda.cn/pullimage/3INomMOjUaej9bDgZjLXwa1tJx6QgPSagp8379d4.jpeg" alt="" width="800" height="450"></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">*2、项目属性</h3> <hr class="horizontal-splitline normal-bold-2"><p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><span style="color:#000000;font-size:16px;">原创,首次公开,</span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><span style="color:#000000;font-size:16px;">电路图部分参考老璇v2版本:<a style="color:#000000;" href="/Neilzx/lao-xuan-tui-keng-jian-panv2" target="_blank">https://oshwhub.com/Neilzx/lao-xuan-tui-keng-jian-panv2</a></span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><span style="color:#000000;font-size:16px;">注意GPIO的顺序有所调整</span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">* 3、开源协议</h3> <hr class="horizontal-splitline normal-bold-2"><p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><span style="font-size:14px;color:#000000;">GPL3.0</span></p> <p style="line-height:1.8;"> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">*4、硬件部分</h3> <hr class="horizontal-splitline normal-bold-2"><p><span style="font-size:16px;">使用立创EDA专业版设计,嘉立创打板验证。</span></p> <p><span style="font-size:16px;">这次PCB上面的过孔有些是裸的,有部分过孔又是有阻焊层的?焊接时需要特别注意,别连了。</span></p> <p><span style="font-size:16px;">GPIO、USB数据引脚、外设引脚已全部引出,可作为输出引脚,也可作为跳线,焊接时部分完成后测试没问题再把跳线帽安装上。</span></p> <p><span style="font-size:16px;">USB-Type-C口的封装从平贴的修改为针脚的更牢固。</span></p> <p> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">*5、软件部分</h3> <hr class="horizontal-splitline normal-bold-2"><p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><span style="font-size:16px;">基于QMK移植开发固件,</span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><span style="font-size:16px;">这里要吐槽下,工具链的不完善,在linux的开发环境需要jlink。</span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><span style="font-size:16px;">于是耗时先开发了烧录工具,修改openocd添加n32g43x的支持,然后配置clion开发环境,编译烧录验证只需要点一下运行,几秒即可自动烧录重置运行。</span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height:1.8;"><span style="font-size:16px;">SWD要比串口和JTAG香,既能烧录又能调试,引脚还少。</span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height:1.8;"><span style="font-size:16px;"> </span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height:1.8;"><span style="font-size:16px;">QMK的移植进度比较缓慢,HAL部分需要调整</span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height:1.8;"><span style="font-size:16px;">文档上面的部分疑惑无人解答,再此贴出:</span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height:1.8;"><span style="font-size:16px;"><strong>1. DBG_ID寄存器获取到的值SRAM指示位对应个容量计算不正确</strong></span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height:1.8;"><span style="font-size:16px;"><strong>N32G435CBL7读出的对应的DBG_ID为</strong>0x31544313<strong>,计算得到的SRAM是128?</strong></span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height:1.8;"><img src="//image.lceda.cn/pullimage/J6aMr2iSvMfErXCZObA68sffmwvg9oaRmdvkxPWF.png" alt="J6aMr2iSvMfErXCZObA68sffmwvg9oaRmdvkxPWF.png" width="821" height="601"></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height:1.8;"> </p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height:1.8;"><span style="font-size:16px;"><strong>2. LVMEN/SLMEN应为FLASH_AC寄存器中的位,而非FLASH_CTRL.</strong></span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height:1.8;"><img src="//image.lceda.cn/pullimage/xQ4asqQ1oSEAL8R447kWLlK4zk0PXOIkI5555FyF.png" alt="xQ4asqQ1oSEAL8R447kWLlK4zk0PXOIkI5555FyF.png" width="891" height="523"></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height:1.8;"> </p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height:1.8;"> </p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height:1.8;"><span style="font-size:16px;">本次调试移植对ARM和硬件交互有了更深的了解,感谢这次活动。</span></p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">*6、BOM清单</h3> <hr class="horizontal-splitline normal-bold-2"><p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><span style="color:#95a5a6;">详见下面列表。</span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">*7、大赛LOGO验证</h3> <hr class="horizontal-splitline normal-bold-2"><p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">在键盘正下方已贴,打印实物之后有点小。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><img src="//image.lceda.cn/pullimage/pH6SIAcujRrFlv2VzBEcibAuCbVvKsXy5SEngnhs.jpeg" alt="" width="800" height="450"></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">* 8、演示您的项目并录制成视频上传</h3> <hr class="horizontal-splitline normal-bold-2"><p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">详见附件。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">音乐频谱效果已调可用,效果详见</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><span style="font-size:16px;"><a href="/0xcb/neilzx_kb84" target="_blank">https://oshwhub.com/0xcb/neilzx_kb84</a></span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><img src="//image.lceda.cn/pullimage/ivsJrS6xpb01ugbPAHILBXzZgC3SescZMOdbxdgx.png" alt="" width="369" height="300"><img src="//image.lceda.cn/pullimage/e7KODsYi6syzJ0UvNIEcNYuv842mT4wSyUg0sdfK.jpeg" alt="" width="397" height="300"></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p> </div>
  • VID20220906040800.mov

  • VID20220907083342-2.mov

文档

BOM

暂无

附件

附件名 下载
VID20220906040800.mov
VID20220907083342-2.mov

成员

评论(5)

  • 表情
    emoji
    小嘉工作篇
    小嘉日常篇
  • 图片
成功
工程所有者当前已关闭评论
立创电赛 回复
<p>项目进度如何啦·······</p>
立创电赛 回复
<p>板子上记得打立创电赛logo哦</p>
无名 回复
<p>@lcds 原理图和PCB上都放了一个电赛的长条型的标识图片,应该没问题吧?</p>
立创电赛 回复
<p>@0xcb 嗯,到时候拍实物作品logo特写</p>
WoodData 回复
<p>请教下qmk固件怎么移植到N32G435上啊?</p>
goToTop
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow