如何解决Raspberry Pi 3B&Bme280远程I/O错误 [英] How to solve Raspberry Pi 3B & Bme280 Remote I/O error

查看:118
本文介绍了如何解决Raspberry Pi 3B&Bme280远程I/O错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

让我从使用的组件开始:

Let me start off with the components used:

  • GPIO扩展板,用于将树莓派连接到组件
  • Bme280
  • Pi 3B

问题描述:

此问题最初是间歇性的.我们正在接收读数,错误无处不在,对传感器进行了调整(取出并放回原位),从而解决了问题,但是当我们触摸传感器时,错误再次出现.

This problem was intermittent at first. We were receiving reading and the error occured out of nowhere, made adjustment to the sensor(taking out and putting it back in) which solved it but when we touch the sensor the error showed up again.

我们决定更换传感器,并且问题从间歇性变为持久性.现在,这是一个永久性的问题.

We decided to change the sensor and the problem turned from intermittent to persistent. Now we have this as permanent issue.

我们删除了BME280和SmBus2的软件包,并决定重新安装.

We removed the package for BME280 and SmBus2 and decided to reinstall it again.

RPI Bme280: https://pypi.org/project/RPi.bme280/

RPI Bme280: https://pypi.org/project/RPi.bme280/

我遵循了此BME280安装指南,但是在提示输入"i2cdetect -y 1"时,出现了几行,但没有显示数字.

I followed this BME280 installation guide, however when prompting for 'i2cdetect -y 1' there were lines but no number showing up.

到目前为止已确认的内容:

What has been confirmed so far:

  • 用我的讲师pi和它进行测试可以很好地修补电路
    效果很好.

  • Patching up of circuits was fine, tested with my lecturer pi and it
    works fine.

代码很好,我们甚至使用RPi.bme280提供的示例代码

Codes is fine, we even use the sample code provided by RPi.bme280

每次都启用I2c

请帮助我,因为我真的迷路了.我需要在下周之前提交此内容,以便我们为您提供帮助.

Please help me because I am really lost. I needa submit this by next week so any help is appreciated.

问题图片->问题图片

推荐答案

好的,我已经解决了这个问题,我将导线从跨接线更改为硬线.谢谢你们的回应.我很感谢他们:D

Alright I have resolved the issue, I changed the wire from jumper wire to hard wire. Thank you guys for your response. I appreciate all of them :D

这篇关于如何解决Raspberry Pi 3B&Bme280远程I/O错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆