完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我有一个VL6180x传感器,我已按照数据表中的说明焊接引线并进行配置。
在GitHub上使用这个库,我能够读取环境光测量值,但是距离测量不起作用: https://github.com/sparkfun/ToF_Range_Finder-VL6180_Library 我正在为范围测量读取值255,而(0x004D)RESULT_RANGE_STATUS寄存器位[7:4]包含值1,在应用笔记AN4545中将其描述为系统错误。 在查看GitHub的代码后,我对它不太自信。我花了几个小时进行更改并在论坛中应用我认为相关的一些建议。但是,在我走得更远之前,我想确保它是一个软件问题。 什么会导致系统错误1? 模块信息: 型号ID = 180 型号Rev = 1.3 模块Rev = 1.2 制造日期= 15/9/14阶段:1 制造时间= 19898 -Jonathan 以上来自于谷歌翻译 以下为原文 I have a one of the VL6180x sensors that I have soldered leads onto and configured as specified in the datasheet. Using this library on GitHub I'm able to read ambient light measurements, but range measurements are not working: https://github.com/sparkfun/ToF_Range_Finder-VL6180_Library I'm reading a value of 255 for the range measurement and the (0x004D)RESULT_RANGE_STATUS registers bits[7:4] contains a value of 1 which is described in the app notes AN4545 as a system error. After looking over the code from GitHub I'm not too confident in it. I've spent a few hours making changes and applying some of the suggestions here in the forum that I believe are relevant. However, I want to make sure that it is a software issue before I go much further. What would cause a system error 1? Module info: Model ID = 180 Model Rev = 1.3 Module Rev = 1.2 Manufacture Date = 15/9/14 Phase: 1 Manufacture Time (s)= 19898 -Jonathan |
|
相关推荐
3个回答
|
|
测距误差为1是由VCEL连续性测试失败引起的。这可能是由以下原因引起的:
1. AVDD_VCEL(引脚8)连接不良,由2.8V供电。 2. AVSS_VCEL(引脚9)未连接到GND 3.激光器的内部问题,在这种情况下应更换部件。 Ken W @ ST 以上来自于谷歌翻译 以下为原文 A ranging error of 1 is caused by a failure of VCEL continuity test. This is can be caused by: 1. AVDD_VCEL (pin 8) not connected well and powered by 2.8V. 2. AVSS_VCEL (pin 9) not connected to GND 3. An internal problem with the laser in which case the part should be replaced. Ken W@ST |
|
|
|
谢谢肯,我怀疑这些方面的东西。我会检查我的连接,或者进行另一部分设置。我会告诉你它是怎么回事。
乔恩 Ken W @ ST 2015年3月9日,星期一,下午8:28 VL6180x单次测量范围测量后的系统错误代码 测距误差为1是由VCEL连续性测试失败引起的。这可能是由以下原因引起的: 1. AVDD_VCEL(引脚8)连接不良,由2.8V供电。 2. AVSS_VCEL(引脚9)未连接到GND 3.激光器的内部问题,在这种情况下应更换部件。 Ken W @ ST 以上来自于谷歌翻译 以下为原文 Thank you Ken, I was suspecting something along those lines. I'll check my connections, or get another part setup. I'll let you know how it goes. Jon Ken W@ST Monday, March 09, 2015 8:28 PM VL6180x System error code after single shot range measurement attempt A ranging error of 1 is caused by a failure of VCEL continuity test. This is can be caused by: 1. AVDD_VCEL (pin 8) not connected well and powered by 2.8V. 2. AVSS_VCEL (pin 9) not connected to GND 3. An internal problem with the laser in which case the part should be replaced. Ken W@ST |
|
|
|
我能够让另一个人工作
|
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2725 浏览 1 评论
3237 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1807 浏览 1 评论
3646 浏览 6 评论
6034 浏览 21 评论
1336浏览 4评论
197浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
268浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 12:27 , Processed in 1.208236 second(s), Total 81, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号