richonguzman / LoRa_APRS_iGate

LoRa APRS iGATE for ESP32 Based Board with Rx + Tx capabilities
MIT License
208 stars 65 forks source link

Heltec WSL V3 with BME280 sensor is sending "g...t...r...p...P...h.. b...." #119

Closed pamidev closed 1 month ago

pamidev commented 3 months ago

I'm trying to connect a BME280 sensor to Heltec WSL V3 using pins 3.3V or 5V, GND, no. 41 and no. 42 - instead of telemetry there is "g...t...r...p...P...h.. b....". When I connect the same sensor to the pins on Raspberry Pi 4B, the sensor works fine. Can anyone test the BME280 sensor with this board and can confirm its operation? I don't know if it's a problem with my board or with the firmware. How to check?

richonguzman commented 3 months ago

Hi,

if you start the board and have any serial output app running you will see some info in the boot up process

this will show if the boards is not recognized or its a code thing

can you test inverting SDA/SCL pins ?

S57PNX commented 3 months ago

Did you use the Blue logo with L in the settings? Aprs.fi will not detect telemetry and display this strange text in the comment instead. Only the stations with Blue logo will be parsed by aprs.fi as weather stations and parsed accordingly.

richonguzman commented 3 months ago

Did you use the Blue logo with L in the settings? Aprs.fi will not detect telemetry and display this strange text in the comment instead. Only the stations with Blue logo will be parsed by aprs.fi as weather stations and parsed accordingly.

if Wx data Tx is enable, it will/should change the logo into Blue + L automatic.

pamidev commented 3 months ago

Hi,

if you start the board and have any serial output app running you will see some info in the boot up process

this will show if the boards is not recognized or its a code thing

can you test inverting SDA/SCL pins ?

I checked. I have the letter L in the blue circle and Wx Telemetry turned on. I replaced pins 41/ 42 as SDA/SCL (as you suggested) and changed the power supply of the BME280 module from 3.3v to 5v. Unfortunately, it does not send telemetry.

ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x1 (POWERON),boot:0x29 (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3808,len:0x4bc load:0x403c9700,len:0xbd8 load:0x403cc700,len:0x2a0c entry 0x403c98d0

Starting Station: SP8MDH-4 Version: 2024.06.28 Initializing LoRa Module init : LoRa Module ... done!

Connecting to WiFi 'LoRaP' ... ..Connected as 192.168.2.203 [ 3864][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 3872][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 3878][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 3884][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 3890][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 3897][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 3903][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 3909][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 3915][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 3921][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 3927][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 3933][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 3940][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 3946][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 3952][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 3958][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 3964][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 3970][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 3976][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 3983][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 3989][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 3995][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4001][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4007][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4013][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4019][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4025][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4032][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4038][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4044][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4050][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4056][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4062][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4068][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4074][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4081][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4087][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4093][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4099][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4105][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4111][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4118][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4124][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4130][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4136][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4142][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4148][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4154][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4161][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4167][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4173][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4179][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4185][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4191][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4197][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4204][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4210][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4216][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4222][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4228][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4234][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4240][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4247][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4253][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4259][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4265][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4271][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4277][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4283][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4290][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4296][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4302][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4308][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4314][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4320][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4326][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4332][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4339][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4345][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4351][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4357][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4363][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4369][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4376][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4382][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4388][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4394][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4400][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4406][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4412][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4418][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4425][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4431][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4437][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4443][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4449][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4455][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4461][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4467][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4474][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4480][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4486][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4492][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4498][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4504][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4510][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4517][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4523][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4529][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4535][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4541][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4547][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4553][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4560][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4566][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4572][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4578][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4584][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4590][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4596][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4602][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4609][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4615][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4621][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4627][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4633][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4639][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4645][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4651][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4658][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4664][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4670][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4676][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4682][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4688][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4695][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4701][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4707][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4713][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4719][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4725][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4731][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4737][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4744][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4750][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4756][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4762][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4768][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4774][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4780][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4786][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4793][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4799][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4805][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4811][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4817][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4823][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4829][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4836][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4842][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4848][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4854][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4860][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4866][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4872][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4879][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4885][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4891][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4897][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4903][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4909][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4915][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4921][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4928][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4934][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4940][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4946][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4952][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4958][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4964][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4971][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4977][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4983][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 4989][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 4995][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5001][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5007][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5014][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5020][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5026][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5032][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5038][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5044][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5050][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5056][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5063][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5069][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5075][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5081][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5087][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5093][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5099][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5105][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5112][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5118][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5124][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5130][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5136][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5142][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5148][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5155][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5161][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5167][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5173][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5179][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5185][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5191][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5198][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5204][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5210][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5216][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5222][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5228][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5234][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5240][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5247][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5253][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5259][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5265][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5271][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5277][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5284][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5290][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5296][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5302][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5308][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5314][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5320][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5326][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5333][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5339][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5345][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5351][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5357][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5363][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5369][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5375][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5382][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5388][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5394][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer [ 5400][E][Wire.cpp:422] beginTransmission(): could not acquire lock [ 5406][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer Connecting to APRS-IS ... Connected! (Server: euro.aprs2.net / Port: 14580) -- Sending Beacon to APRSIS -- ---> LoRa Packet Tx : SP8MDH-4>APLRG1,WIDE2-2:!L4LlDT4$K_ xG.../...g...t...r...p...P...h..b.....LoRa APRS Digi/iGate 434.855MHz @1k2

S57PNX commented 3 months ago

SP8MDH-4 Is a green icon on aprs.fi. Switch it to blue L and try again - green will not display weather info.

(Maybe this is not the only problem that you have, but making it a blue icon manually will take away one uncertainty and allow you to focus on real problem. While the firmware should automatically change to blue, do it manually for now.)

Sent from my iPhone

On 29 Jun 2024, at 17:03, Paweł Miduch @.***> wrote:

SP8MDH-4

richonguzman commented 3 months ago

5V BME may be not a good idea as pins on ESP32 need 3.3V reference only

on the other side, does it show any Wx data on screen? or it does not read BME module at all?

pamidev commented 3 months ago

SP8MDH-4 Is a green icon on aprs.fi. Switch it to blue L and try again - green will not display weather info.

Now it is L green, but when testing it was blue, because I switched back. I have a second LoRa Digi/iGate in the MeschCom system as SP8MDH-3 and there is sending telemetry data correctly, despite the green star. See https://aprs.to/station/5247635

on the other side, does it show any Wx data on screen? or it does not read BME module at all?

My BME280 module can be powered by 3.3V or 5V because it has a voltage regulator. I have a Heltec Wireless Stick Light V3, which does not have a screen, so I cannot check. The only comment it sends to APRS-IS is:

g...t...r...p...P...h...b.....LoRa APRS Digi/iGate 434.855MHz @1k2

Maybe it's a problem with powering the BME280 module from Heltec WSL V3. I will try to power it externally (without using Heltec WSL V3) and test it again.

iw2ejh commented 2 months ago

g...t...r...p...P...h...b..... ==> the fields are empty, so no valid value are sent. May be the BME is not sending data to the esp32 at all are you sure the module is working fine and communication is going on? did you try to power the module with 3.3volts?

richonguzman commented 2 months ago

SP8MDH-4 Is a green icon on aprs.fi. Switch it to blue L and try again - green will not display weather info.

Now it is L green, but when testing it was blue, because I switched back. I have a second LoRa Digi/iGate in the MeschCom system as SP8MDH-3 and there is sending telemetry data correctly, despite the green star. See https://aprs.to/station/5247635

on the other side, does it show any Wx data on screen? or it does not read BME module at all?

My BME280 module can be powered by 3.3V or 5V because it has a voltage regulator. I have a Heltec Wireless Stick Light V3, which does not have a screen, so I cannot check. The only comment it sends to APRS-IS is:

g...t...r...p...P...h...b.....LoRa APRS Digi/iGate 434.855MHz @1k2

Maybe it's a problem with powering the BME280 module from Heltec WSL V3. I will try to power it externally (without using Heltec WSL V3) and test it again.

Telemetry and Wx packets are not the same.

on the powering issue, power it with 3.3v from ESP32S3 would be advisable.

steffenspies commented 1 month ago

I also use the Heltec WSL V3 and BME280 and see the same behaviour - exactly the same output, while the same module with a T-Beam works fine.

Something I haven’t checked yet, because I‘m not home, is bus termination. The T-beam has a display on the same bus, the WSL is BME only.

I thoughts?

Steffen, DL1SX

richonguzman commented 1 month ago

lets start again:

how are you connecting the I2C board? which pins?

steffenspies commented 1 month ago

Board: Heltec Wireless Stick Light V3 BME280 connected to Pin 41(SDA) and Pin 42(SCL), powered with 3V3.

BME280 Board is this one image

When switching "Activate Wx Telemetry" on, the serial monitor shows the exact same output as shown in the message above.

richonguzman commented 1 month ago

you are doing exactly as expected and should have good data with it. Is the board BME good?

steffenspies commented 1 month ago

It is. I tried two and put the first one on a T-Beam where it works great.

The only thing I can think of is that the I2C termination is missing/wrong.

On the T-Beam is a display also connected to the same I2C bus while on the WSL V3 only the BME280 is connected to.

richonguzman commented 1 month ago

found the problem! had a missing wire.begin for this board!

please check it (just uploaded)

steffenspies commented 1 month ago

I had to add adafruit Si7021 Library now, but get this error later on

Linking .pio\build\heltec_wireless_stick_lite_v3\firmware.elf c:/users/steff/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/heltec_wireless_stick_lite_v3/src/web_utils.cpp.o:(.literal._ZN9WEB_Utils13handleFaviconEP21AsyncWebServerRequest+0x8): undefined reference to_binary_data_embed_favicon_png_gz_start' c:/users/steff/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/heltec_wireless_stick_lite_v3/src/web_utils.cpp.o:(.literal.startup._GLOBAL__sub_I_web_index_html_len+0x14): undefined reference to _binary_data_embed_favicon_png_gz_end' collect2.exe: error: ld returned 1 exit status *** [.pio\build\heltec_wireless_stick_lite_v3\firmware.elf] Error 1

richonguzman commented 1 month ago

I added a process to find the board.... I cant test it locally as I have not the board here free

but it should find the bme board now without any issues

steffenspies commented 1 month ago

I've made a fresh pull and this time it compiled fine. I get this on the serial terminal: BME/BMP/Si7021 sensor Active in config but not found! Check Wiring This is now looking promissing and the error messages from above are gone. Will check this when being back home and will come back.

First of all thank you for the fix, the project and your support in general.

73, Steffen DL1SX

steffenspies commented 1 month ago

Ok, back at home, I did connect a Logic Analyzer to the I2C bus. What I see: you try to find the sensor by scanning the addresses from 0x01 up to 0x76 and that's exactly what's happening. The "ack" is always false, accept for 0x76 where it is true (which is the BME280 sensor).

I've zero to none experience with I2C so maybe these screenshots might help. grafik grafik

richonguzman commented 1 month ago

so the board is found on the pins you connected... is it still showing any problem?

steffenspies commented 1 month ago

Yes, I still get this: BME/BMP/Si7021 sensor Active in config but not found! Check Wiring

steffenspies commented 1 month ago

I did the same on a T-Beam instead of the Wireless Stick Lite where the sensor is found and working. BME280 sensor found BME280 Module init done! As you can see it tries the different addresses to find the sensor until 0x76. That's the same as with the WSL. But on the WSL it doesn't start to read the data from the the sensor.

Screenshot 2024-08-11 054901 Screenshot 2024-08-11 054752

steffenspies commented 1 month ago

@richonguzman Could the reason be, that the BME280 should be found at wire1 instead of wire?

I've build up a second seeting. New Wireless Stick Light, new sensor - same result (bme280.begin(wxModuleAddress)) grafik

steffenspies commented 1 month ago

I don't have deeper coding experiences, but did a change in bme_utils.cpp and added the two HELTEC_WSL_V3 devices. Now it is working fine!

BME280 sensor found BME280 Module init done!

` void setup() { if (Config.bme.active) { getWxModuleAddres(); if (wxModuleAddress != 0x00) { bool wxModuleFound = false; if (wxModuleAddress == 0x76 || wxModuleAddress == 0x77) { #if defined(HELTEC_V3) || defined(HELTEC_WSL_V3) || defined(HELTEC_WSL_V3_DISPLAY) <<<--------- added WSL if (bme280.begin(wxModuleAddress, &Wire1)) { Serial.println("BME280 sensor found"); wxModuleType = 1; wxModuleFound = true; }

else

                    if (bme280.begin(wxModuleAddress)) {
                        Serial.println("BME280 sensor found");
                        wxModuleType = 1;
                        wxModuleFound = true;
                    }
                    if (!wxModuleFound) {
                        if (bme680.begin(wxModuleAddress)) {
                            Serial.println("BME680 sensor found");
                            wxModuleType = 3;
                            wxModuleFound = true;
                        }
                    }
                #endif
                if (!wxModuleFound) {
                    if (bmp280.begin(wxModuleAddress)) {
                        Serial.println("BMP280 sensor found");
                        wxModuleType = 2;
                        wxModuleFound = true;
                    }
                }
            } else if (wxModuleAddress == 0x40) {
                if(sensor.begin()) {
                    Serial.println("Si7021 sensor found");
                    wxModuleType = 4;
                    wxModuleFound = true;
                }
            }                

`

grafik grafik

richonguzman commented 1 month ago

void setup() { if (Config.bme.active) { getWxModuleAddres(); if (wxModuleAddress != 0x00) { bool wxModuleFound = false; if (wxModuleAddress == 0x76 || wxModuleAddress == 0x77) { #if defined(HELTEC_V3) || defined(HELTEC_WSL_V3) || defined(HELTEC_WSL_V3_DISPLAY) <<<--------- added WSL if (bme280.begin(wxModuleAddress, &Wire1)) { Serial.println("BME280 sensor found"); wxModuleType = 1; wxModuleFound = true; } #else if (bme280.begin(wxModuleAddress)) { Serial.println("BME280 sensor found"); wxModuleType = 1; wxModuleFound = true; } if (!wxModuleFound) { if (bme680.begin(wxModuleAddress)) { Serial.println("BME680 sensor found"); wxModuleType = 3; wxModuleFound = true; } } #endif if (!wxModuleFound) { if (bmp280.begin(wxModuleAddress)) { Serial.println("BMP280 sensor found"); wxModuleType = 2; wxModuleFound = true; } } } else if (wxModuleAddress == 0x40) { if(sensor.begin()) { Serial.println("Si7021 sensor found"); wxModuleType = 4; wxModuleFound = true; } }

@steffenspies can you post a picture of the code you pasted?

it does not clearly say what you have moded to make it work

I'm right to think you pushed it to work as Wide1 ?

steffenspies commented 1 month ago

@richonguzman In bme_utils.cpp you have already made an ifdef for HELTEC_V3 to use Wire1. I only added the HELTEC_WSL_V3 and the HELTEC_WSL_V3_DISPLAY to it in Line 61

grafik

richonguzman commented 1 month ago

great, its added and will be in a few hours in new Release ;)