【平头哥RVB2601创意应用开发】基于平头哥RVB2601的天气播报器
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"> <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:Calibri">RVB2601</span></span><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">的天气播报器</font></span></span></span></span></p><p style="text-align:justify"> </p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"> <font face="宋体">作者:</font></span></span><span style="font-size:10.5000pt"><span style="font-family:Calibri">ddllxxrr</span></span></span></span></p>
<p style="text-align:justify"> </p>
<ul>
<li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">项目背景</font></span></span></span></span></li>
</ul>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">很高兴能搞到一块平头哥的</font><font face="Calibri">RVB2601</font><font face="宋体">开发板,在参加这次活动之前,我看了这款开发板的介绍,即能上网又能发声。即能显示又有按键,这样就可以简单的实现交互了。于是我想充分利用一下板子上的资源搞个天气播报器。</font></span></span></span></span></p>
<ul>
<li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">作品简介</font></span></span></span></span></li>
</ul>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">本作品要利用家中的</font><font face="Calibri">WIFI</font><font face="宋体">上网,然后从高德地图获取天气信息,再用</font><font face="Calibri">JOSON</font><font face="宋体">解释得到的数据,最后在显示显示,屏幕上也显示本地时间,但这个本地时间是在得到网上播报时间后再进行运行的,就是说每次同网上不一样的情况下,就同网上时间同步一下,不足的是每次得三分钟显示一下,我这样做是为了让获取天气不死机。</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"></p>
<p style="text-indent:21.0000pt; text-align:justify"> </p>
<ul>
<li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">系统框图</font></span></span></span></span></li>
<li style="text-align:justify"></li>
</ul>
<p style="text-indent:20.5500pt; text-align:left"> </p>
<ul>
<li style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">各部分功能和解析</font></span></span></span></span></li>
</ul>
<p style="text-align:left"> </p>
<p style="text-indent:21.0000pt; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:Calibri">1,</span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">联网功能</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:left"> </p>
<p style="text-indent:21.0000pt; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"> <font face="宋体">这部分主要靠</font><font face="Calibri">W800</font><font face="宋体">模块,连到家中的</font><font face="Calibri">WIFI</font><font face="宋体">。</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:left"> </p>
<ol start="2">
<li style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">获取天气信息</font></span></span></span></span></li>
</ol>
<p style="margin-left:28px; text-align:left"> </p>
<p style="margin-left:28px; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">这部分主要利用</font><font face="Calibri">W800</font><font face="宋体">模块,发送天气信息的网址。</font></span></span></span></span></p>
<p style="margin-left:28px; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">并行成一个任务。</font></span></span></span></span></p>
<ol start="3">
<li style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">显示部分</font></span></span></span></span></li>
</ol>
<p style="margin-left:28px; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">利用显示板子自带的显示屏,显示一下由</font></span></span><span style="font-size:10.5000pt"><span style="font-family:Calibri">cJSON</span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">转换出来的字符串。</font></span></span></span></span></p>
<p style="margin-left:28px; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">也行成个例程。</font></span></span></span></span></p>
<ol start="4">
<li style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">时钟部分</font></span></span></span></span></li>
</ol>
<p style="margin-left:28px; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">这部分没有形成任务,就是利用每次更新时的时间对一下表。</font></span></span></span></span></p>
<p style="margin-left:28px; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">系统复位时,时钟为</font></span></span><span style="font-size:10.5000pt"><span style="font-family:Calibri">12:00:00</span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">这样,在等一段时间后,会自动对成从网上得到的时间。</font></span></span></span></span></p>
<p style="margin-left:28px; text-align:left"> </p>
<ul>
<li style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">原码</font></span></span></span></span></li>
</ul>
<p style="margin-left:28px; text-align:left"> </p>
<p style="margin-left:28px; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><a href="https://gitee.com/ddllxxrr/mycode"><u><span class="15" style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Calibri">https://gitee.com/ddllxxrr/mycode</font></span></span></span></span></u></a></span></span></p>
<p style="margin-left:28px; text-align:left"> </p>
<ul>
<li style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:14.0000pt"><span style="font-family:宋体"><font face="宋体">视频</font></span></span></span></span></li>
</ul>
<p style="margin-left:28px; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><a href="https://v.youku.com/v_show/id_XNTg3MDMwMjU2OA==.html"><u><span class="15" style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="Calibri">https://v.youku.com/v_show/id_XNTg3MDMwMjU2OA==.html</font></span></span></span></span></u></a></span></span></p>
<p style="margin-left:28px; text-align:left"> </p>
<ul>
<li style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">总结</font></span></span></span></span></li>
</ul>
<p style="margin-left:28px; text-align:left"> </p>
<p style="margin-left:28px; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">这次通过平头哥开发板,我学了不少东西,很大一方面参考了网友的例程。</font></span></span></span></span></p>
<p style="margin-left:28px; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">因为我对</font><font face="Calibri">RT-T</font></span></span><span style="font-size:10.5000pt"><span style="font-family:Calibri">hread</span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">只是个人爱好阶段,并且没有用到工作当中。这就象一个人充电。</font></span></span></span></span></p>
<p style="margin-left:28px; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">只是个后备军。但这个后备军,让我学了不少东西。也看到了。应好好学一下了。</font></span></span></span></span></p>
<p style="margin-left:28px; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">通过这块板子,我看到了,单片机慢慢地就和</font><font face="Calibri">LINUX</font><font face="宋体">等操作系统走到一块了。</font></span></span></span></span></p>
<p style="margin-left:28px; text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"> </span></span></p>
<p>一直觉得,单片机的高级版就是Linux系统。不过中间还需要跨越一个轻量级操作系统。</p> 源码看不到,跳转报错 xscc 发表于 2022-5-19 10:22
源码看不到,跳转报错
<p>私有了,改公共了,得两个工作日</p>
页:
[1]