Good Morning,
Following: “ESP32 LoRa Sensor Monitoring with Web Server (Long Range Communication)”
Is something missing or wrong with the following?
LoRa pins: SCK 5, MISOO 19, MOSI 27, SS 18, RST 23, DIO0 26
OLED pins: SDA GPIO 4, SCL GPIO 15, OLED_RST 16, 3.3 V, Ground
External circuit: LDO MCP1826 3.3V on LoRA with Ground, no Battery, BME280 SDA 21 and
SCL 22 powered by LDO Plan is to power LDO by battery.
Testing with only USB connection.
No display on OLED; infinite boot loop:
rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 188777542, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0030,len:1184 load:0x40078000,len:13260 load:0x40080400,len:3028 entry 0x400805e4
Have verifed BME280 and OLED I²C addresses.
Regards,
William
Hi.
I’m sorry for taking so long to get back to you.
Are you creating two I2C instances on two different I2C buses?
Regards,
Sara
Good Morning Sara,
I am away from home today and can not verify I²C pins used. My initial post; BME 21 and 22, OLED 4 and 15.
Yes, it appears two different I²C buses.
Looking at the LoRa Board now; I see OLED I²C is using pins 21 and 22. Missed changing these pins.
Regards,
William
Good Morning Sara,
You may mark this resolved; I failed to changeOLED I²C pins, changing pins resolved the issue.
Regards,
William