richonguzman / LoRa_APRS_iGate

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

Wiki needs improvement for connecting BME280 #88

Closed mytechguyri closed 1 week ago

mytechguyri commented 1 month ago

The current wiki only says this about connecting a BME280

Adding BME280 BME280 (and BMP280) modules could be added by connecting them as I2C. Default I2C direction is 0x76 and some BME boards have pins that need to be joined to get this direction. Most of this boards don't need this.

To connect the BME280 to iGate Board use:

SDA to IO21 SCL to IO22 GND to GND (any) VCC to 3.3V To see this data on the Oled Screen or transmit it as Wx telemetry activate it on the igate_conf.json file.

These instructions are too vague... Connect SDA to IO21? on what board? I'm not even sure if the Heltec Wifi Lora 32 V3 even has the I2C bus pins exposed on the header based on this diagram, nor do i know what pins the iGate software is expecting it to be connected to. HTIT-WB32LA(F)_V3

mytechguyri commented 1 month ago

I'm told others have had success with bme280 connected to Heltec Wifi Lora 32 V3 GPIO 41/42 over I2c with this code:

define BME_SDA 42

define BME_SCL 41

bool wireStatus = Wire1.begin(BME_SDA, BME_SCL); status = bme.begin(0x76, &Wire1);

I looked through the code, and i don't see anywhere the pins are defined though.

richonguzman commented 1 month ago

i will try to add a fix as HELTEC V3 need to use the Second I2C as BME module connector

stay tuned for testing FW soon