sipower 发表于 2022-5-5 00:43

【平头哥RVB2601创意应用开发】环境监测终端08-作品提交

<p align="center" style="text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="15" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">基于</font>CH2601的分布式环境监测终端</span></span></b></span></span></p>

<p align="right" style="text-align:right"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">作者:</font></span></span></b><b><span style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">sipower</font></span></span></b></span></span></p>

<ul>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:16.0000pt"><span style="background:#ffffff"><span style="font-family:微软雅黑"><font face="微软雅黑">一、项目背景(</font></span></span></span></b><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">100-200字</font></span></span></b><b><span style="font-size:16.0000pt"><span style="background:#ffffff"><span style="font-family:微软雅黑"><font face="微软雅黑">)</font></span></span></span></b></span></span></li>
</ul>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">随着工业发展,环境问题日益严重,除了常规的治理方法,对环境的实时监测也是管理环境的一种必要手段。本创意作品采用</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体">RVB2601开发板</span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">实现环境</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">监测</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">的物联网终端,在道路、小区、公园等公共场所多点布置该终端,可形成分布式监测网络,通过</font>WiFi将检测结果上传</span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">云</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">服务器</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">,可以</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">供环境部门进行大数据统计</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">,为环境治理提供助力</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">。</font></span></span></span></span></span></p>

<ul>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">二、作品简介(</font>100-200字)</span></span></b><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">+作品照片</font></span></span></b></span></span></li>
</ul>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">本作品采用</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体">RVB2601开发板</span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">自带的麦克风采集噪音数据,经过量化转化为实时噪音水平。通过串口外接了一个温湿度采集模块,可以实时读取温湿度数据。采集到的数据均可在</font>OLED屏幕上显示,并且设计了一个横向动态指示条,可以直观显示噪音的实时数据。通过板载WiFi模块连接阿里云物联网,实现web端实时查看监测数据。特别的设计一个指示灯端口,可以通过云端控制其开关。在实际应用中,可以将本模块安装于现有路灯中,通过指示灯端口控制路灯开关,实现云端智能控制。</span></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font>1、作品照片</span></span></span></span></p>

<ul>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">三、系统框图(图文结合)</font></span></span></b></span></span></li>
</ul>

<p style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">该终端整个系统框图如下</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">,</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">基础功能包括:</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">噪音</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">采集</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">,温湿度采集</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">,</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">OLED显示结果,</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">WiFi上传和下载</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">,云端管理,远程灯光开关</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">。预留扩展功能包括:</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">光照</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">度检测,空气质量检测,卫星定位数据解析。</font></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-align:center">&nbsp;</p>

<p align="center" style="text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font>2、</span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">系统框图</font></span></span></span></span></p>

<ul>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">四、各部分功能说明</font></span></span></b><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">和解析</font></span></span></b><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(图文结合)</font></span></span></b></span></span></li>
</ul>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">本作品目前已经实现的功能主要包含:噪音采集,温湿度采集,</font><font face="Times New Roman">OLED</font><font face="宋体">显示,云端连接,</font><font face="Times New Roman">web</font><font face="宋体">界面监控。下面分别详细介绍。</font></span></span></span></span></span></p>

<h4 style="margin-top:19px; margin-bottom:19px; text-align:justify"><span style="font-size:14pt"><span style="155%"><span style="font-family:Arial"><b><span style="font-size:14.0000pt"><span style="font-family:黑体"><font face="Arial">1</font><font face="黑体">、噪音采集</font></span></span></b></span></span></span></h4>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">噪音采集</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">使用</font><font face="Times New Roman">RVB2601</font><font face="宋体">开发板自带的麦克风采集周围的声音,记录单位时间内的最大值,</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">经过量化的数据</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">用以表示环境噪</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">音</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">水平。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">硬件原理</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">方面,</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'">RVB2601 <font face="宋体">通过 </font><font face="Times New Roman">I2S </font><font face="宋体">和 </font><font face="Times New Roman">I2C </font><font face="宋体">总线连接 </font><font face="Times New Roman">ES7210 ADC </font><font face="宋体">芯片,实现硅麦的音频信号采样。采用</font><font face="Times New Roman">I2C</font><font face="宋体">接口完成</font><font face="Times New Roman">ES7210</font><font face="宋体">的配置,采用</font><font face="Times New Roman">I2S</font><font face="宋体">接口读取</font><font face="Times New Roman">ES7210</font><font face="宋体">的转换数据</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">。</font></span></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font><font face="Times New Roman">3</font><font face="宋体">、噪音采集电路</font></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">软件驱动设计使用了</font><font face="Times New Roman">CODEC</font><font face="宋体">编解码库,主要使用</font><font face="Times New Roman">AD</font><font face="宋体">的输入通道。在官方例程</font><font face="Times New Roman">ch2601_ft_demo</font><font face="宋体">基础上,截取其中录音部分代码。因为本次应用只需要声音幅值,对其代码大幅删减改造,将缓存缩小,只保留一个采样周期就行,每次采样完成,计算这个周期内的音频数据最大值,这个结果就作为要输出的实时音量数据。此数据还需要经过校准量化成最终的分贝值,比较遗憾的是没有借到分贝仪,没有实现最终的数据量化,只能简单除以一个系数,展示一下效果。从串口输出采集到的噪音值如下图。</font></span></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font><font face="Times New Roman">4</font><font face="宋体">、串口输出音量</font></span></span></span></span></p>

<h4 style="margin-top:19px; margin-bottom:19px; text-align:justify"><span style="font-size:14pt"><span style="155%"><span style="font-family:Arial"><b><span style="font-size:14.0000pt"><span style="font-family:黑体"><font face="Arial">2</font><font face="黑体">、温湿度采集</font></span></span></b></span></span></span></h4>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">本次使用的</font><font face="Times New Roman">RVB2601</font><font face="宋体">开发板不带温湿度传感器,要想获得这两个参数,需要外接检测模块。检察了一下手头的资源,发现以前评测《安信可</font><font face="Times New Roman">UWB</font><font face="宋体">室内定位模组》攒下的模块可以通过串口输出温湿度数据,软件接口也比较简单,就选定了此模块作为数据源。</font></span></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-indent:28.0000pt; text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font><font face="Times New Roman">5</font><font face="宋体">、</font><font face="Times New Roman">UWB</font><font face="宋体">模块</font></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">从</font><font face="Times New Roman">CH2601</font><font face="宋体">的</font><font face="Times New Roman">GPIO</font><font face="宋体">复用关系表格中可以看到,几乎每一个</font><font face="Times New Roman">IO</font><font face="宋体">口都用上了,仔细研究</font><font face="Times New Roman">OLED</font><font face="宋体">程序发现驱动代码并没有使用</font><font face="Times New Roman">SPI</font><font face="宋体">接口,而是直接用</font><font face="Times New Roman">IO</font><font face="宋体">模拟的</font><font face="Times New Roman">SPI</font><font face="宋体">总线,这就给了我机会,可以用其他</font><font face="Times New Roman">IO</font><font face="宋体">口替换掉被占用的串口引脚。考虑到我这个作品基本不用</font><font face="Times New Roman">RGB</font><font face="宋体">三色灯,决定把这个灯的其中两个</font><font face="Times New Roman">IO</font><font face="宋体">口转给</font><font face="Times New Roman">OLED</font><font face="宋体">,这样就能空出</font><font face="Times New Roman">UART1</font><font face="宋体">的收发引脚了。</font></span></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-indent:28.0000pt; text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font><font face="Times New Roman">6</font><font face="宋体">、改造后原理图</font></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">在软件设计方面,首先是更改</font><font face="Times New Roman">OLED</font><font face="宋体">的驱动程序,重新设置引脚定义,代码更改后重新编译下载,程序直接就好使,没有遇到任何问题。然后是编写</font><font face="Times New Roman">UART1</font><font face="宋体">驱动程序。中间遇到诸多问题,最终使用</font><font face="Times New Roman">HAL</font><font face="宋体">库的中断收数超时机制实现了预期的目标。</font></span></span></span></span></span></p>

<h4 style="margin-top:19px; margin-bottom:19px; text-align:justify"><span style="font-size:14pt"><span style="155%"><span style="font-family:Arial"><b><span style="font-size:14.0000pt"><span style="font-family:黑体"><font face="Arial">3</font><font face="黑体">、</font><font face="Arial">OLED</font><font face="黑体">显示</font></span></span></b></span></span></span></h4>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="Times New Roman">RVB2601</font><font face="宋体">开发板内置了一款分辨率为</font><font face="Times New Roman">128*64</font><font face="宋体">的单色</font><font face="Times New Roman">OLED</font><font face="宋体">显示屏,并且基于此平台移植完成了开源的</font><font face="Times New Roman">LVGL GUI</font><font face="宋体">库。此前并没有使用过</font><font face="Times New Roman">LVGL GUI</font><font face="宋体">库,这次现学现用,正好尝试一下。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">首先设计界面草稿。我计划在屏幕上显示</font><font face="Times New Roman">5</font><font face="宋体">行信息。第一行,标题,直接使用标签显示即可。第二行,温度,左边字段不需要更新,右边字段需要定时刷新,也全部使用标签显示。第三行和第四行分别是湿度和噪音水平,和温度显示采用一样方法。第五行计划做一个指示条,用来动态指示噪音的实时幅度,这样查看起来比较直观。</font></span></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-indent:28.0000pt; text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font><font face="Times New Roman">7</font><font face="宋体">、界面草稿</font></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">实际设计的时候遇到各种问题。首先是如何显示中文,经查询得知要自己制作内置字库并添加,看了几个教程,很繁琐的样子,为了加快速度,决定跳过这个中文显示,改用英文也是一样。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">下一个问题是默认使用的英文字体是</font>&ldquo;<font face="Times New Roman">LV_FONT_MONTSERRAT_14</font><font face="宋体">&rdquo;比较大,如果显示</font><font face="Times New Roman">5</font><font face="宋体">行看着太挤了,通过更改配置项使用&ldquo;</font><font face="Times New Roman">LV_FONT_MONTSERRAT_12</font><font face="宋体">&rdquo;字体相对好一点。我还试了改成更小的字体,有点惨不忍睹,都不能分辨了,有点像电影里的火星文。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">做标题显示的时候,看到</font><font face="Times New Roman">LVGL</font><font face="宋体">支持滚动显示,为了体现咱的学习成果,把原计划的两个单词的标题改成了一句话,让它在最上面滚动显示,展示更多信息。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">在设置温度显示的时候,需要显示浮点数,我按照常规的方式写代码发现不能正常显示,然后查阅资料发现应该是为了提高效率,默认设置成了不支持浮点模式。本来想查手册改成支持浮点模式,后面看到有人采用了更妙的方法解决了。就是先将浮点数格式化成字符串,然后再以字符串显示就没问题了,我按照此方法操作,顺利解决此问题。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">最后一个要实现的是噪音指示条。经过反复查阅手册,最终确定使用进度条</font>&ldquo;<font face="Times New Roman">LV_BAR</font><font face="宋体">&rdquo;控件设计。直接按照手册简单例程搞上去后,发现两端都是圆角,不是我喜欢了类型。然后一通大搜索,被我找到了解决方案,经过我反复修改和调试,终于把界面框架搭建出来。</font></span></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font><font face="Times New Roman">8</font><font face="宋体">、显示效果图</font></span></span></span></span></p>

<h4 style="margin-top:19px; margin-bottom:19px; text-align:justify"><span style="font-size:14pt"><span style="155%"><span style="font-family:Arial"><b><span style="font-size:14.0000pt"><span style="font-family:黑体"><font face="Arial">4</font><font face="黑体">、云端连接</font></span></span></b></span></span></span></h4>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="Times New Roman">RVB2601</font><font face="宋体">开发板内置了联盛德公司⾼性能</font><font face="Times New Roman">&amp;</font><font face="宋体">安全的 </font><font face="Times New Roman">WiFi4 </font><font face="宋体">芯⽚ </font><font face="Times New Roman">W800</font><font face="宋体">,</font><font face="Times New Roman">W800 </font><font face="宋体">通过 </font><font face="Times New Roman">SPI </font><font face="宋体">⼝与 </font><font face="Times New Roman">CH2601 </font><font face="宋体">连接。</font><font face="Times New Roman">W800 </font><font face="宋体">已经默认烧录基于 </font><font face="Times New Roman">AT </font><font face="宋体">的 </font><font face="Times New Roman">WiFi </font><font face="宋体">透传固件,支持阿里云平台,开发者可基于 </font><font face="Times New Roman">AT </font><font face="宋体">⽹络指令,快速实现物联网的应⽤场景。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">首先是阿里云物联网平台的准备工作。登陆阿里云</font><font face="Times New Roman">IoT Studio</font><font face="宋体">平台,地址如下。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://account.aliyun.com/login/login.htm?qrCodeFirst=false&amp;oauth_callback=https%3A%2F%2Fstudio.iot.aliyun.com%2Fproject%2Fa123jX2VXQqAfhnk%2Fdevices%2Fa1iO8mTqhOz%2Fdev_001%2F1"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://account.aliyun.com/login/login.htm?qrCodeFirst=false&amp;oauth_callback=https%3A%2F%2Fstudio.iot.aliyun.com%2Fproject%2Fa123jX2VXQqAfhnk%2Fdevices%2Fa1iO8mTqhOz%2Fdev_001%2F1</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">在主页中点击</font>&ldquo;产品&rdquo;一栏,进入产品列表,然后点击&ldquo;创建产品&rdquo;,录入自己想要的信息,点击最下面的确认,产品就创建完成。进入产品管理界面,添加产品属性,其中标识符是单片机和阿里云通讯的重要握手信息,最好设成简明好记的,编程时方便调试。我的产品主要是温度、湿度、噪声水平三个参数的采集,和一个指示灯的设置,共有四个属性。这些参数的数据类型和数据定义也要和单片机程序里面的一致。产品设置好后,添加设备。完成后在设备信息界面可以查看相关的证书密钥,如下图,这个回头用于单片机和阿里云连接用。</span></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font><font face="Times New Roman">9</font><font face="宋体">、设备信息</font></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">至此阿里云端的设置就完成了。可以通过不同的界面查看各种配置,多熟悉一下就能熟练使用,整个操作界面还是很友好的。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">然后是单片机程序编写。我是在</font><font face="Times New Roman">ch2601_webplayer_demo </font><font face="宋体">示例⼯程基础上进行的更改。通过在</font><font face="Times New Roman">w800_api.c </font><font face="宋体">⽂件⾥添加连接云平台的控制函数,接收数据的回调函数可以实现物联网连接和数据收发。具体的可以参考附件中的代码,此处不再赘述。在此处特别说明一下,由于云端传回的信息是</font><font face="Times New Roman">JSON</font><font face="宋体">格式,需要在工程中添加</font><font face="Times New Roman">cJSON</font><font face="宋体">库进行解码。下图是连接阿里云成功,从云端看到数据更新了。</font></span></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font><font face="Times New Roman">10</font><font face="宋体">、云端连接成功</font></span></span></span></span></p>

<h4 style="margin-top:19px; margin-bottom:19px; text-align:justify"><span style="font-size:14pt"><span style="155%"><span style="font-family:Arial"><b><span style="font-size:14.0000pt"><span style="font-family:黑体"><font face="Arial">5</font><font face="黑体">、</font><font face="Arial">web</font><font face="黑体">界面监控</font></span></span></b></span></span></span></h4>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">为了展示环境监测的效果,我在阿里云</font><font face="Times New Roman">IoT Studio</font><font face="宋体">平台设计一个</font><font face="Times New Roman">web</font><font face="宋体">应用,将温度、湿度、噪声水平用仪表盘和折线图展示。为指示灯设计一个按钮和状态指示器,可以在云端控制其开关。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">具体开发过程如下。登陆阿里云</font><font face="Times New Roman">IoT Studio</font><font face="宋体">平台,地址如下。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://account.aliyun.com/login/login.htm?qrCodeFirst=false&amp;oauth_callback=https%3A%2F%2Fstudio.iot.aliyun.com%2Fproject%2Fa123jX2VXQqAfhnk%2Fdevices%2Fa1iO8mTqhOz%2Fdev_001%2F1"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single">https://account.aliyun.com/login/login.htm?qrCodeFirst=false&amp;oauth_callback=https%3A%2F%2Fstudio.iot.aliyun.com%2Fproject%2Fa123jX2VXQqAfhnk%2Fdevices%2Fa1iO8mTqhOz%2Fdev_001%2F1</span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">在主页中点击</font><font face="Times New Roman">&ldquo;</font><font face="宋体">新建</font><font face="Times New Roman">web</font><font face="宋体">应用</font><font face="Times New Roman">&rdquo;</font><font face="宋体">,在弹出对话框中填入需要的信息,点击最下面的确认按钮创建应用。应用创建完成后进入编辑界面,具体各部分功能如图所示,根据自己需要进行页面设计。</font></span></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-indent:28.0000pt; text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font><font face="Times New Roman">11</font><font face="宋体">、页面设计</font></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">如果不太熟悉这个设计规则,官方也有详细的指导教程,见如下链接。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://help.aliyun.com/document_detail/141613.html"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single">https://help.aliyun.com/document_detail/141613.html</span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">根据需要添加组件,可以手工填入每个组件的坐标和大小,让排列更整齐。我为温度、湿度、噪声水平设置了仪表盘来显示实时数据,设置了折线图展示最近一个小时的数据变化。设置了一个按钮来控制指示灯开关,并用一个图标显示指示灯的状态。</font></span></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-indent:28.0000pt; text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font><font face="Times New Roman">12</font><font face="宋体">、设置好的界面</font></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">接下来为每个组件配置数据源</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">。</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">以温度仪表盘为例,选中它,然后点击右边配置数据源,在弹出的对话框中依次选择目标产品,设备,属性,就能把组件和具体设备参数关联起来</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">。</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">在配置过程中,可以随时点击右上角的预览按钮,查看设计效果。配置完所有组件后,就可以选择发布了。我的这个应用页面效果如下图,各个参数均展示出来了。</font></span></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font><font face="Times New Roman">13</font><font face="宋体">、</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">页面效果</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">如果有多台监测终端,可以把这一页编成一组,然后把各组并列展示,就是分布式监测系统了。</font></span></span></span></span></span></p>

<ul>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">五、作品源码</font></span></span></b></span></span></li>
</ul>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">链接如下:</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://download.eeworld.com.cn/detail/sipower/623518"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://download.eeworld.com.cn/detail/sipower/623518</font></span></span></span></span></span></u></a></span></span></span></p>

<ul>
        <li style="text-align: justify;"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">六、视频</font></span></span></b><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">演示(视频简介</font>+链接)</span></span></b></span></span></li>
</ul>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">本次作品在设计过程中展示了多个不同成果的视频,分别如下链接。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="Times New Roman">1</font><font face="宋体">、</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">炫彩呼吸灯的效果</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1649070469990/f4ee2f8055053c901c341b0b137ae8ee.mp4"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single">https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1649070469990/f4ee2f8055053c901c341b0b137ae8ee.mp4</span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="Times New Roman">2</font><font face="宋体">、云端控制开发板的</font><font face="Times New Roman">LED</font><font face="宋体">灯开关</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1649159094646/6492d5b42765f70bb8422b9e510771c8.mp4"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single">https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1649159094646/6492d5b42765f70bb8422b9e510771c8.mp4</span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="Times New Roman">3</font><font face="宋体">、</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">界面动态</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">显示</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">效果</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1649592613590/6fc5b63d2371cd9ad821bc7efc3eb63d.mp4"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single">https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1649592613590/6fc5b63d2371cd9ad821bc7efc3eb63d.mp4</span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="Times New Roman">4</font><font face="宋体">、</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">音乐光条效果</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1650183724917/398df15910dd3e353262460f73a36173.mp4"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single">https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1650183724917/398df15910dd3e353262460f73a36173.mp4</span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="Times New Roman">5</font><font face="宋体">、在</font><font face="Times New Roman">LVGL</font><font face="宋体">中显示音量变化</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1650183742370/83e0fe35d8b0d7b46ca455feaa5f3993.mp4"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single">https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1650183742370/83e0fe35d8b0d7b46ca455feaa5f3993.mp4</span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="Times New Roman">6</font><font face="宋体">、</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">温湿度的数据采集</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">并显示</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1650647426254/1c18d9ea0e2063c1da4d5ff9fb17f08e.mp4"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single">https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1650647426254/1c18d9ea0e2063c1da4d5ff9fb17f08e.mp4</span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="Times New Roman">7</font><font face="宋体">、完成的作品展示</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1650900845446/8f34e6a49992ecda1979a2433c647019.mp4"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single">https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/userFiles/3890563388320980992/1650900845446/8f34e6a49992ecda1979a2433c647019.mp4</span></span></span></span></span></u></a></span></span></span></p>

<ul>
        <li style="text-align: justify;"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">七、项目总结(项目文字总结</font>+帖子分享链接汇总)</span></span></b></span></span></li>
</ul>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">这个作品大概用了一个月的业余时间设计完成。感谢</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">平头哥提供的开发板和热心的技术支持,感谢</font><font face="Times New Roman">EEWORLD</font><font face="宋体">提供展示的平台。通过本次作品设计,我学习了</font><font face="Times New Roman">RISC-V</font><font face="宋体">的相关知识,感受到了国产芯片和开发平台的进步,相信总有一天,</font></span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">我们终将让国产芯片在世界各个地方发挥其不可替代的作用</font></span></span><span style="font-size:14.0000pt"><span style="font-family:'Times New Roman'"><font face="宋体">。</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">设计过程中,同时在平头哥和</font><font face="Times New Roman">EEWorld</font><font face="宋体">发帖分享经验总结,链接汇总如下:</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">环境监测终端</font><font face="Times New Roman">01-</font><font face="宋体">开箱及设计炫彩呼吸灯</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ.t-head.cn/community/post/detail?id=4031491954960900096"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://occ.t-head.cn/community/post/detail?id=4031491954960900096</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://bbs.eeworld.com.cn/thread-1198865-1-1.html"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://bbs.eeworld.com.cn/thread-1198865-1-1.html</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">环境监测终端</font><font face="Times New Roman">02-</font><font face="宋体">连接阿里云控制</font><font face="Times New Roman">LED</font><font face="宋体">灯</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ.t-head.cn/community/post/detail?id=4031864498838708224"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://occ.t-head.cn/community/post/detail?id=4031864498838708224</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://bbs.eeworld.com.cn/thread-1198899-1-1.html"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://bbs.eeworld.com.cn/thread-1198899-1-1.html</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">环境监测终端</font><font face="Times New Roman">03-</font><font face="宋体">使用</font><font face="Times New Roman">LVGL</font><font face="宋体">设计界面</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ.t-head.cn/community/post/detail?id=4033682146182443008"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://occ.t-head.cn/community/post/detail?id=4033682146182443008</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://bbs.eeworld.com.cn/thread-1199385-1-1.html"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://bbs.eeworld.com.cn/thread-1199385-1-1.html</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">环境监测终端</font><font face="Times New Roman">04-</font><font face="宋体">声音采集和动感光条显示</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ.t-head.cn/community/post/detail?id=4036161692982980608"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://occ.t-head.cn/community/post/detail?id=4036161692982980608</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://bbs.eeworld.com.cn/thread-1200134-1-1.html"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://bbs.eeworld.com.cn/thread-1200134-1-1.html</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">环境监测终端</font><font face="Times New Roman">05-</font><font face="宋体">温湿度采集和显示</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ.t-head.cn/community/post/detail?id=4038106809214054400"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://occ.t-head.cn/community/post/detail?id=4038106809214054400</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://bbs.eeworld.com.cn/thread-1200906-1-1.html"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://bbs.eeworld.com.cn/thread-1200906-1-1.html</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">环境监测终端</font><font face="Times New Roman">06-</font><font face="宋体">将数据同步到阿里云</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ.t-head.cn/community/post/detail?id=4038813387730259968"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://occ.t-head.cn/community/post/detail?id=4038813387730259968</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://bbs.eeworld.com.cn/thread-1201066-1-1.html"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://bbs.eeworld.com.cn/thread-1201066-1-1.html</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">环境监测终端</font><font face="Times New Roman">07-web</font><font face="宋体">应用设计</font></span></span></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://occ.t-head.cn/community/post/detail?id=4039168982010368000"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://occ.t-head.cn/community/post/detail?id=4039168982010368000</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="text-justify:inter-ideograph"><span style="font-family:&quot;Times New Roman&quot;"><a href="https://bbs.eeworld.com.cn/thread-1201211-1-1.html"><u><span class="17" style="font-size:14.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Times New Roman">https://bbs.eeworld.com.cn/thread-1201211-1-1.html</font></span></span></span></span></span></u></a></span></span></span></p>

<p align="justify" style="text-indent:28.0000pt; text-align:justify">&nbsp;</p>

<ul>
        <li style="text-align: justify;"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">八、其他</font></span></span></b></span></span></li>
</ul>

<p style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">在此处分享一些设计过程中的一些经验总结,希望对大家有帮助。</font></span></span></span></span></p>

<h4 style="margin-top:19px; margin-bottom:19px; text-align:justify"><span style="font-size:14pt"><span style="155%"><span style="font-family:Arial"><b><span style="font-size:14.0000pt"><span style="font-family:黑体"><font face="Arial">1</font><font face="黑体">、代码容量不够问题</font></span></span></b></span></span></span></h4>

<p style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">当我把</font><font face="Times New Roman">lvgl</font><font face="宋体">库和</font><font face="Times New Roman">wifi</font><font face="宋体">库同时加入工程后,编译会提示编译完的代码超范围,意味着用户代码空间不够了。我仔细研究了</font><font face="Times New Roman">flash</font><font face="宋体">默认配置,发现总共</font><font face="Times New Roman">512KB</font><font face="宋体">的容量,只给了用户程序分配了</font><font face="Times New Roman">256KB</font><font face="宋体">,剩下还有好多留给升级缓存了。在我这个作品中,没有计划做</font><font face="Times New Roman">OTA</font><font face="宋体">升级,因此完全可以把用户空间扩大。具体操作如下图。</font></span></span></span></span></p>

<p class="imagemiddle" style="text-align: center;"></p>

<p align="center" style="text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">图</font><font face="Times New Roman">14</font><font face="宋体">、修改分区表</font></span></span></span></span></p>

<p style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">打开</font><font face="Times New Roman">config.yaml</font><font face="宋体">分区表文件,将</font><font face="Times New Roman">prim</font><font face="宋体">用户空间扩大,具体扩大到多少根据自己需要改,别超出</font><font face="Times New Roman">flash</font><font face="宋体">有效范围就行。我这改到</font><font face="Times New Roman">384KB</font><font face="宋体">。</font><font face="Times New Roman">misc</font><font face="宋体">为升级缓存空间,起始地址也要注意修改成对应的新地址。改完注意保存。打开</font><font face="Times New Roman">gcc_flash.ld</font><font face="宋体">文件,将</font><font face="Times New Roman">flash</font><font face="宋体">长度修改成和</font><font face="Times New Roman">config.yaml</font><font face="宋体">一样的,保存。这两个文件改完后,我们就有更多空间存代码了。</font></span></span></span></span></p>

<h4 style="margin-top:19px; margin-bottom:19px; text-align:justify"><span style="font-size:14pt"><span style="155%"><span style="font-family:Arial"><b><span style="font-size:14.0000pt"><span style="font-family:黑体"><font face="Arial">2</font><font face="黑体">、</font><font face="Arial">CDK</font><font face="黑体">中不能查看函数定义问题</font></span></span></b></span></span></span></h4>

<p style="text-indent:56.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">在</font><font face="Times New Roman">CDK</font><font face="宋体">中,右键函数,选择&ldquo;</font><font face="Times New Roman">goto declaration</font><font face="宋体">&rdquo;可以查看函数定义。若点击后无法跳转,一般情况下是没有自动对工程进行解析,可以手动进行:</font></span></span></span></span></p>

<p style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">点击菜单栏</font> <font face="Times New Roman">Project -&gt; parse all project</font><font face="宋体">,等待</font><font face="Times New Roman">Project View</font><font face="宋体">中的进度条结束,再次通过&ldquo;</font><font face="Times New Roman">goto declaration</font><font face="宋体">&rdquo;功能,然后即可正常进行函数的查看。</font></span></span></span></span></p>

<h4 style="margin-top:19px; margin-bottom:19px; text-align:justify"><span style="font-size:14pt"><span style="155%"><span style="font-family:Arial"><b><span style="font-size:14.0000pt"><span style="font-family:黑体"><font face="Arial">3</font><font face="黑体">、获得平头哥官方提供的</font><font face="Arial">cJSON</font><font face="黑体">库的方式</font></span></span></b></span></span></span></h4>

<p style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">连接物联网时,由于云端传回的信息是</font><font face="Times New Roman">JSON</font><font face="宋体">格式,需要用到</font><font face="Times New Roman">cJSON</font><font face="宋体">库进行解码。我推荐一个很容易获得平头哥官方提供的</font><font face="Times New Roman">cJSON</font><font face="宋体">库的方式。在</font><font face="Times New Roman">CDK</font><font face="宋体">欢迎页面,第一个实例是《</font><font face="Times New Roman">WiFi</font><font face="宋体">智能灯控》例程,把它下载下来,不用编译,你会发现在&ldquo;</font><font face="Times New Roman">__workspace_pack__</font><font face="宋体">&rdquo;这个文件夹下就有了</font><font face="Times New Roman">cJSON</font><font face="宋体">库了。然后在库管理里面将</font><font face="Times New Roman">cJSON</font><font face="宋体">库添加到工程中即可。</font></span></span></span></span></p>

<h4 style="margin-top:19px; margin-bottom:19px; text-align:justify"><span style="font-size:14pt"><span style="155%"><span style="font-family:Arial"><b><span style="font-size:14.0000pt"><span style="font-family:黑体"><font face="Arial">4</font><font face="黑体">、在</font><font face="Arial">LVGL</font><font face="黑体">中显示浮点数</font></span></span></b></span></span></span></h4>

<p style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">在设置温度显示的时候,需要显示浮点数,我按照常规的方式写代码发现不能正常显示,然后查阅资料发现应该是为了提高效率,平头哥移植的</font><font face="Times New Roman">LVGL</font><font face="宋体">默认设置成了不支持浮点模式。本来想查手册改成支持浮点模式,后面看到有人采用了更妙的方法解决了。就是先将浮点数格式化成字符串,然后再以字符串显示就没问题了,我按照此方法操作,顺利解决此问题。</font></span></span></span></span></p>

<h4 style="margin-top:19px; margin-bottom:19px; text-align:justify"><span style="font-size:14pt"><span style="155%"><span style="font-family:Arial"><b><span style="font-size:14.0000pt"><span style="font-family:黑体"><font face="Arial">5</font><font face="黑体">、注意在编辑上报字符串中&rdquo;</font><font face="Arial">\</font><font face="黑体">&rdquo;的数量。</font></span></span></b></span></span></span></h4>

<p style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">在编辑</font><font face="Times New Roman">cJSON</font><font face="宋体">字符串时,其中有一个消息是这样的:</font></span></span></span></span></p>

<p style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="Times New Roman">snprintf(msg_buf,80,&quot;{\\\&quot;temp\\\&quot;:%.1f,\\\&quot;humi\\\&quot;:%.1f,\\\&quot;noise\\\&quot;:%d,\\\&quot;led\\\&quot;:%d}&quot;,res_data.temp,res_data.humi,res_data.noise,res_data.led);</font></span></span></span></span></p>

<p style="text-indent:28.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">我开始没注意,少敲了一个,导致数据上传出错,查找了好长时间才发现。</font></span></span></span></span></p>

<p style="text-indent:28.0000pt; text-align:justify"></p>

Jacktang 发表于 2022-5-5 09:24

<p>温度显示的时,先将浮点数格式化成字符串,然后再以字符串显示这个方法确实妙</p>

lugl4313820 发表于 2022-5-5 10:12

楼主的经验值得大家学习,有空要好好学,认真学。

梦溪开物 发表于 2022-5-11 15:26

<p>这是用的MQTT协议吗?</p>

sipower 发表于 2022-5-12 11:58

梦溪开物 发表于 2022-5-11 15:26
这是用的MQTT协议吗?

<p>对。</p>

<p>由于w800固件把协议封装好了,其实不用管的,只需要使用at指令做具体操作就行。</p>

zhengyad 发表于 2022-5-12 23:01

<p>你好,我用你的源码,把WIFI连接和五元组信息改了,然后就只改了上传数据如下,别的都没改</p>

<p> &nbsp;</p>

<p>按照《基于RVB2601连接⻜燕平台指导⼿册》教程,还是连接不上阿里云。</p>

<p>串口工具输出信息,已经连接成功</p>

<p>&nbsp;程序中发送信息好像也成功了,但没收到信息</p>

<p>&nbsp;</p>

<p>阿里云平台毫无反应</p>

<p><img src="/data/attachment/forum/202205/12/225849n8sy9oz5rcm8omys.png.thumb.jpg" /> &nbsp;</p>

<p> &nbsp;</p>

<p>&nbsp;能帮忙分析一下吗,这个地方困太久了,是不是阿里云平台设置有问题啊,希望大佬指点指点</p>

sipower 发表于 2022-5-13 09:56

zhengyad 发表于 2022-5-12 23:01
你好,我用你的源码,把WIFI连接和五元组信息改了,然后就只改了上传数据如下,别的都没改

&nbsp;

...

<p>你按照《基于RVB2601连接⻜燕平台指导⼿册》一步不差的操作,先保证在阿里云上能看到你设备连接成功,然后再考虑数据上报的功能。不要试图省掉其中的任何一个步骤。</p>

zhengyad 发表于 2022-5-13 10:59

sipower 发表于 2022-5-13 09:56
你按照《基于RVB2601连接⻜燕平台指导⼿册》一步不差的操作,先保证在阿里云上能看到你设备 ...

<p>之前不是用的飞燕平台,连接不上,用你发的飞燕平台手册,按照手册操作,还是不行。我的疑问也是为什么阿里云上毫无反应</p>

sipower 发表于 2022-5-13 12:30

zhengyad 发表于 2022-5-13 10:59
之前不是用的飞燕平台,连接不上,用你发的飞燕平台手册,按照手册操作,还是不行。我的疑问也是为什么阿 ...

<p>你看下你的阿里云账户有没有出现欠费,如果欠费也没响应。</p>

zhengyad 发表于 2022-5-13 20:43

sipower 发表于 2022-5-13 12:30
你看下你的阿里云账户有没有出现欠费,如果欠费也没响应。

<p>非常感谢,联系了平头哥技术支持,把程序发过去,在那边试了试,我这边的阿里云显示在线了,确定是开发板的问题了</p>

zhengyad 发表于 2022-5-24 14:15

zhengyad 发表于 2022-5-13 20:43
非常感谢,联系了平头哥技术支持,把程序发过去,在那边试了试,我这边的阿里云显示在线了,确定是开发板 ...

<p>最终发现是开发板不能用家里的WIFI,换个路由器也不行,用手机热点就可以了,但是家里手机和电视连接WIFI都是正常的,不知道这个开发板为什么不能通过这个WIFI连接阿里云。希望以后遇到类似问题的同学不要在这个地方浪费时间。</p>

freebsder 发表于 2022-5-25 20:15

<p>辛苦辛苦,做了蛮多的东西,完成度挺高。</p>
页: [1]
查看完整版本: 【平头哥RVB2601创意应用开发】环境监测终端08-作品提交