sipower 发表于 2022-1-22 20:47

【安信可UWB室内定位模组NodeMCU-BU01】No.001-开箱测试

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

<p style="text-indent:24.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体">2022<font face="宋体">年开年第一测,就从</font></span></span><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">安信可</font>UWB室内定位模组NodeMCU-BU01</span></span><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">开始。官网和活动页面关于资料介绍很多,这里不再赘述,这里直接上干货。</font></span></span></span></span></p>

<p style="text-indent:24.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">首先是开箱照,双胞胎模块,如下图,规规矩矩的,还有点酷酷的样子。注意上面的跳线帽哦,收到货的时候是散落在袋子里的,我根据数据手册把他们插在了</font>flash启动的位置。</span></span></span></span></p>

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

<p align="center" style="text-indent:24.0000pt; text-align:center"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">图</font>1 两个模块</span></span></span></span></p>

<p style="text-indent:24.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">翻箱倒柜找到两个</font>USB转串口的小模块,一个CP2102,一个CH340,凑合用吧。如下图,其中CH340的IO输出还是5V电平,考虑到ST单片机IO是兼容5V电平的,就不做处理了。</span></span></span></span></p>

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

<p align="center" style="text-indent:24.0000pt; text-align:center"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">图</font>2 串口模块</span></span></span></span></p>

<p style="text-indent:24.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.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-indent:24.0000pt; text-align:center"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">图</font>3 连线后的效果</span></span></span></span></p>

<p style="text-indent:24.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">打开串口助手,可以看到</font></span></span><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">定位模组</font></span></span><span style="font-size:12.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-indent:24.0000pt; text-align:center"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">图</font>4 初始化信息</span></span></span></span></p>

<p style="text-indent:24.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.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-indent:24.0000pt; text-align:center"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">图</font>5 测试板卡</span></span></span></span></p>

<p style="text-indent:24.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.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-indent:24.0000pt; text-align:center"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">图</font>6 测距连线</span></span></span></span></p>

<p style="text-indent:24.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">参照下面链接的帖子一通搞,终于成功。</font></span></span></span></span></p>

<p style="text-indent:24.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><a href="https://aithinker.blog.csdn.net/article/details/106493128"><u><span class="15" style="font-size:12.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single">https://aithinker.blog.csdn.net/article/details/106493128</span></span></span></span></span></u></a></span></span></p>

<p style="text-indent:24.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.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-indent:24.0000pt; text-align:center"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">图</font>7 测试结果</span></span></span></span></p>

<p style="text-indent:24.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">总结,实际测试时,数据准确度受外围影响较大,中间有线缆,手,金属物体等,数据都会变化,完全无遮挡时,短距离精度还可。下一步我计划把</font>2个模块分别连到单片机开发板上,然后进行远距离测试。</span></span></span></span></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>

wangerxian 发表于 2022-1-23 09:08

<p>基站和标签可以互相检测距离?</p>

sipower 发表于 2022-1-24 08:50

wangerxian 发表于 2022-1-23 09:08
基站和标签可以互相检测距离?

<p>需要切换角色,本质上是一样的</p>
页: [1]
查看完整版本: 【安信可UWB室内定位模组NodeMCU-BU01】No.001-开箱测试