专业版
#第七届立创电赛#USB电压电流表

创建时间:2年前

8503 7

描述

<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 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;">基于N32G430C8L7+INA199制作的USB电流表,精度1%,可以查看USB工作时候的电流。</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;">GPL 3.0</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;"><img src="//image.lceda.cn/pullimage/1zBpuGdOuDAXHYG72XueFcdaUEi3BZfqLREwlLJW.png" alt="1zBpuGdOuDAXHYG72XueFcdaUEi3BZfqLREwlLJW.png"></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;">主控采用了国名技术N32G430C8L7,焊接时需要了解引脚顺序。</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/8a93gRZw5tJ60AqSuuZuxQ83FXoOOXpuus0N4Lnw.png" alt="8a93gRZw5tJ60AqSuuZuxQ83FXoOOXpuus0N4Lnw.png"></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;"><img src="//image.lceda.cn/pullimage/s86wF4YzlTaRmRNUfg6DURAfOeLzcIKOtok4NLjE.png" alt="s86wF4YzlTaRmRNUfg6DURAfOeLzcIKOtok4NLjE.png"></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;">BOOT电路这个非常重要,以为我一开始没有连接起来来连接这里导致搜索不到芯片MCU</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;"><img src="//image.lceda.cn/pullimage/kEZN9SzIPXwdpLKNFgQCD88BaTE31ZKR6ABNwuSq.png" alt="kEZN9SzIPXwdpLKNFgQCD88BaTE31ZKR6ABNwuSq.png"></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;">如果考虑到后期可能会对电路进行升级,可以增加了8mhz的外部晶振电路</p> <p><img src="//image.lceda.cn/pullimage/ppfTbTS9ioPqi3U3KIRH0gMIuykoYw35dnG4rzUK.png" alt="ppfTbTS9ioPqi3U3KIRH0gMIuykoYw35dnG4rzUK.png"></p> <div>INA199A1增益:50V/V电压输出、电流分流监控器(也称为电流传感放大器)常用于过流保护、针对系统优化的精密电流测量或闭环反馈电路。该系列器件可在独立于电源电压的 –0.3V 至 26V 共模电压下感应分流电阻器上的电压降。</div> <p> </p> <p><img src="//image.lceda.cn/pullimage/e2XRYK2RHCsHRsxkd1W1fdnPyreJFIwnsSqFyUj0.png" alt="e2XRYK2RHCsHRsxkd1W1fdnPyreJFIwnsSqFyUj0.png"></p> <p>ADC模数转换,由于国名技术该引脚刚好有这个功能,51如果要电压采集要外加一个模数转换的IC</p> <p> </p> <p><img src="//image.lceda.cn/pullimage/JeYNxuuEHxa9uKtktvU6PuxojiQnoSGXPeOsCIUP.png" alt="JeYNxuuEHxa9uKtktvU6PuxojiQnoSGXPeOsCIUP.png"></p> <p> </p> <p>然后就是稳压电路,由于MCU的工作电压为3.3V,所以需要这个电路来实现对外部电压实现降压稳压到3.3V</p> <p> </p> <p><img src="//image.lceda.cn/pullimage/uTk9AVGmXldT5KgqPDCKt4bOxaNiY1y3suT133JK.png" alt="uTk9AVGmXldT5KgqPDCKt4bOxaNiY1y3suT133JK.png"></p> <p><img src="//image.lceda.cn/pullimage/y9cVEe8TymHEvoF415PvRG4HlL6CXBC76e2qcRG0.png" alt="y9cVEe8TymHEvoF415PvRG4HlL6CXBC76e2qcRG0.png"></p> <p>然后就是2个排针接口,第一张图是串口和SW调试接口。</p> <p>第二个是外设OLED屏接口。</p> <p> </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> <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"><ul><li>编译器:ARM Compiler version 5</li> <li>调试器:ST-Link V2</li> <li>可用官方串口下载软件</li> </ul><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;">*5、大赛LOGO验证与实物图片</h3> <hr class="horizontal-splitline normal-bold-2"><p 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/T4MnER6zr5Hg7nVvGzU83EMOaaokm00sVZHS5HEm.png" alt="T4MnER6zr5Hg7nVvGzU83EMOaaokm00sVZHS5HEm.png"></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/ELMLgujX4fXCZ2SzQdXXqaeTmWDzgoGNDl4mP2sc.jpeg" alt="ELMLgujX4fXCZ2SzQdXXqaeTmWDzgoGNDl4mP2sc.jpeg"></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;"><img src="//image.lceda.cn/pullimage/YnH2uhUhjnYz4WDkWPp05k0I6LQ1Qefhero30BvY.jpeg" alt="YnH2uhUhjnYz4WDkWPp05k0I6LQ1Qefhero30BvY.jpeg"></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/9d37jpn6cB6vFcaSImIZF0OPhTQlhQvubuFtf1eJ.jpeg" alt="9d37jpn6cB6vFcaSImIZF0OPhTQlhQvubuFtf1eJ.jpeg"></p> <h3 id="h_48404961614901661612615398" 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、演示您的项目并录制成视频上传</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> </div>

文档

BOM

暂无

附件

附件名 下载
项目代码.zip
视频演示.mp4

评论(2)

  • 表情
    emoji
    小嘉工作篇
    小嘉日常篇
  • 图片
成功
工程所有者当前已关闭评论
小罗与PCB相伴 回复
<p>大佬牛,小弟佩服</p>
筹筱呀 回复
<p>我也是小白</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