xiyue521 发表于 2022-1-20 22:43

【安信可NB-IoT开发板EC-01F-Kit】四、连接阿里云平台

<div class='showpostmsg'> 本帖最后由 xiyue521 于 2022-1-20 22:49 编辑

<h4 style="margin-top: 18px; margin-bottom: 19px;"><strong><span style="font-size:24px;"><span style="background:#ffffff"><span style="word-break:break-all"><span style="font-family:宋体"><span style="font-weight:bold"><span class="10"><span style="font-family:宋体"><font face="宋体">今天介绍的是通过</font><font face="Calibri">EC01</font><font face="宋体">的</font></span><span style="font-family:Calibri">MQTT</span><span style="font-family:宋体"><font face="宋体">功能</font></span><span style="font-family:Calibri"><font face="宋体">接入</font></span><span style="font-family:宋体"><font face="宋体">阿里云。</font></span></span></span></span></span></span></span></strong></h4>

<p>&nbsp;</p>

<p>&nbsp;</p>

<h1 style="text-indent:21.0000pt; padding:0pt 0pt 0pt 0pt ; text-align:left"><strong><span style="font-size:24px;"><span style="background:#ffffff"><span style="word-break:break-all"><span style="font-family:宋体"><span style="font-weight:bold"><span class="10"><span style="font-family:宋体"><font face="宋体">1.搞了半天终于搞明白这几个的关系了,生活物联网平台,</font><font face="Calibri">iotstudio</font><font face="宋体">,物联网平台。。讲真的真是够乱的。</font></span></span></span></span></span></span></span></strong></h1>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:宋体"><font face="宋体">①先来说说物联网平台,这里有一个公共实例,进入后可以看到你在飞燕平台和</font><font face="Calibri">iot</font><font face="宋体">平台创建的所有产品、设备方便管理查看。</font></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;">&nbsp;</span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:黑体"><span style="font-weight:bold"><font face="黑体">②再来说说生活物联网平台,这个也就是我们说的飞燕平台,可以创建自有品牌和天猫精灵生态项目,可以和天猫精灵app和公版app对接的。我们可以使用他们的app和面板模板来控制我们的设备。不过比较局限的是只能选择他们定义的产品和物模型,就是比较单一功能的设备,比如LED,插座,某功能传感器,不能组合起来。</font></span></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:宋体"><font face="宋体">③再来说说</font><font face="Calibri">IOT studio</font><font face="宋体">,这个比较自由,可以创建空白项目和一些解决方案项目,这个可以可视化开发自己的</font><font face="Calibri">web</font><font face="宋体">和</font><font face="Calibri">app</font><font face="宋体">,可以在产品页面绑定已有的产品和设备,可以创建自定义功能的产品包括飞燕平台创建的,相对自由和灵活。</font></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:宋体"><font face="宋体">总结:</font></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:宋体"><font face="Calibri">1.</font><font face="宋体">查看所有设备和产品</font><font face="Calibri">:</font><font face="宋体">物联网平台:</font></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><a href="https://iot.console.aliyun.com/lk/summary/new"><u><span class="16"><span style="font-family:Calibri"><span style="color:#800080"><span style="text-decoration:underline">https://iot.console.aliyun.com/lk/summary/new</span></span></span></span></u></a></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:宋体"><font face="Calibri">2.</font><font face="宋体">开发功能单一,开发周期短的项目:</font></span><span style="font-family:黑体"><span style="font-weight:bold"><font face="黑体">生活物联网平台:</font></span></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><span style="font-size:24px;"><span style="font-family:Calibri"><a href="https://living.aliyun.com/"><u><span class="15"><span style="font-family:黑体"><span style="color:#800080"><span style="font-weight:bold"><span style="text-decoration:underline">https://living.aliyun.com/</span></span></span></span></span></u></a></span></span></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:黑体"><span style="font-weight:bold"><font face="黑体">3.开发功能复杂,比如你想控制灯,又要上传温湿度什么的选择iot studio:</font></span></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><a href="https://studio.iot.aliyun.com/"><u><span class="16"><span style="font-family:黑体"><span style="color:#800080"><span style="font-weight:bold"><span style="text-decoration:underline">https://studio.iot.aliyun.com/</span></span></span></span></span></u></a></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:黑体"><span style="font-weight:bold"><font face="黑体">阿里云这个真的太复杂。。。。。。。。。。</font></span></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<hr />
<hr />
<hr />
<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:黑体"><span style="font-weight:bold"><font face="黑体">2.接下来正式来连接阿里云!!</font></span></span></span></span></strong></p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:黑体"><span style="font-weight:bold"><font face="黑体">①我们是用生活物联网平台创建的,就来点个灯!功能包括开关、色温、亮度、灯的模式、HIS格式颜色设置等等</font></span></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:宋体"><font face="宋体">&nbsp;&nbsp;创建项目:</font></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:宋体"><font face="宋体">创建产品</font></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:宋体"><font face="宋体">进入产品页,关键是人机交互,自定义一个比较好看的面板。</font></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:宋体"><font face="宋体">基本上都是可视化开发,点一点就行</font></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:宋体"><font face="宋体">添加设备,获取三元组:</font></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;">&nbsp;</span></strong></p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:黑体"><span style="font-weight:bold"><font face="黑体">②再开看看提供的AT指令,先创建客户端,再建立TCP,最后连接MQTT服务器上云。</font></span></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:24px;"><span style="font-family:Calibri"><span style="font-family:宋体"><font face="宋体">阿里云平台还支持在线调试:</font></span></span></span></strong></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>
</div><script>                                        var loginstr = '<div class="locked">查看本帖全部内容,请<a href="javascript:;"   style="color:#e60000" class="loginf">登录</a>或者<a href="https://bbs.eeworld.com.cn/member.php?mod=register_eeworld.php&action=wechat" style="color:#e60000" target="_blank">注册</a></div>';
                                       
                                        if(parseInt(discuz_uid)==0){
                                                                                                (function($){
                                                        var postHeight = getTextHeight(400);
                                                        $(".showpostmsg").html($(".showpostmsg").html());
                                                        $(".showpostmsg").after(loginstr);
                                                        $(".showpostmsg").css({height:postHeight,overflow:"hidden"});
                                                })(jQuery);
                                        }                </script><script type="text/javascript">(function(d,c){var a=d.createElement("script"),m=d.getElementsByTagName("script"),eewurl="//counter.eeworld.com.cn/pv/count/";a.src=eewurl+c;m.parentNode.insertBefore(a,m)})(document,523)</script>

xiyue521 发表于 2022-1-20 22:54

<p><iframe allowfullscreen="true" frameborder="0" height="510" src="https://training.eeworld.com.cn/shareOpenCourseAPI?isauto=true&amp;lessonid=32278" style="background:#eee;margin-bottom:10px;" width="700"></iframe></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>1</p>

<p>&nbsp;</p>

xiyue521 发表于 2022-1-20 22:57

xiyue521 发表于 2022-1-20 22:54
&nbsp;

&nbsp;

1

&nbsp;

<p>我这个手机是通过qq通话分享白板,太难了,不知道有没有直接通过电脑控制手机的,或是投屏手机方便的软件。</p>

nmg 发表于 2022-1-21 09:52

xiyue521 发表于 2022-1-20 22:57
我这个手机是通过qq通话分享白板,太难了,不知道有没有直接通过电脑控制手机的,或是投屏手机方便的软件 ...

<p>还不知道手机QQ有这个功能</p>

<p>之前倒是用过电脑控制手机的软件,不过都忘记了</p>

nmg 发表于 2022-1-21 10:50

<p>在社区群里问了下,@eric_wang 管理提到的,不知道对你有没有用哇</p>

<p>&nbsp;</p>

<p>&ldquo;所有安卓的刷机软件都有这个功能,苹果手机+win电脑可以用win10系统以上自带的投影功能,苹果手机+苹果电脑直接用屏幕镜像&rdquo;</p>

xiyue521 发表于 2022-1-21 21:08

nmg 发表于 2022-1-21 10:50
在社区群里问了下,@eric_wang 管理提到的,不知道对你有没有用哇

&nbsp;

&ldquo;所有安卓的刷机软件 ...

<p>好我看看</p>

littleshrimp 发表于 2022-3-10 16:15

xiyue521 发表于 2022-1-20 22:57
我这个手机是通过qq通话分享白板,太难了,不知道有没有直接通过电脑控制手机的,或是投屏手机方便的软件 ...

<p>以前用过一个&ldquo;小萝贝控机大师&rdquo;挺好用的,后来不知道是不是不维护了,有回不好用我就再也没弄过。刚才搜了一下,网站还在。</p>

<p>我不知道你用电脑控制手机是不是为了同时展示电脑和手机,如果是这样也可以使用手机和电脑同时录屏,然后把2个视频文件剪辑到一起。</p>
页: [1]
查看完整版本: 【安信可NB-IoT开发板EC-01F-Kit】四、连接阿里云平台