meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
3.5k stars 864 forks source link

[Bug]: AHT20+BMP280 Freezes firmware #5192

Closed samo-nz closed 2 days ago

samo-nz commented 2 days ago

Category

Other

Hardware

Station G2

Firmware Version

2.5.8.6485f03

Description

Unsure if related to issue #3498

When connecting the sensor the firmware locks up in both display and serial output. When booting up it freezes at I2C scanning until the sensor is removed.

Here is a video of the result: https://youtu.be/iJjdZWWXpkE

Tested with two different sensors and cables, on both the latest alpha and latest stable(2.5.8 - 2.5.7)

I haven't used these sensors before, am I doing something wrong?

Relevant log output

INFO | ??:??:?? 3 Booted, wake cause 0 (boot count 1), reset_reason=reset
DEBUG | ??:??:?? 3 Filesystem files (28672/1048576 Bytes):
DEBUG | ??:??:?? 3  /prefs/channels.proto (171 Bytes)
DEBUG | ??:??:?? 3  /prefs/config.proto (171 Bytes)
DEBUG | ??:??:?? 3  /prefs/db.proto (669 Bytes)
DEBUG | ??:??:?? 3  /prefs/module.proto (94 Bytes)
DEBUG | ??:??:?? 3  /static/.gitkeep (0 Bytes)
DEBUG | ??:??:?? 3 Power::lipoInit lipo sensor is not ready yet
INFO | ??:??:?? 3 Scanning for i2c devices...
DEBUG | ??:??:?? 3 Scanning for I2C devices on port 1
samo-nz commented 2 days ago

My fault, the wiring for the G2 is different from the sensor, changed the pins around and it is now working. amazingly my stupidity didnt break anything