This is my first time trying more custom ESP device configurations, so hopefully I’m not being too dense - but that’s likely. I’ve flashed Sonoff, Athom, and Martin Jerry Tasmota devices with ESPHome before, and done a lot of configs without issue, but this is the first time working with dev boards to this extent.
I have a seeed studio ESP32-C3 I’m trying to setup a BME280 on. I think I’m struggling with the right pins and the config. I got temperature and pressure working (no humidity - I’m aware of the issues with BME vs BMP, I’ll troubleshoot that more when I at least get the other sensor consistent…). However, I used pins GPIO08 and 09 for this, which throws the following errors:
WARNING GPIO9 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO8 is a strapping PIN and should only be used for I/O with care.
I’m not sure if I’m using the right pins, or I should be using other pins that I haven’t been successful in figuring out. I decided on this pins based on the i2c portion of this page: Pin Multiplexing | Seeed Studio Wiki
When I tried other pins previously, I would just get errors in the ESP logs. However, is it going to be an issue moving forward with these pins?
Here’s my config related to the BME:
i2c:
sda: GPIO09
scl: GPIO08
scan: true
id: bus_a
sensor:
- platform: bme280_i2c
temperature:
name: "Temperature"
oversampling: 16x
pressure:
name: "Pressure"
humidity:
name: "Humidity"
update_interval: 60s
i2c_id: bus_a
address: 0x76
This is the pinout diagram of my board, so GND and 3v3, and then SDA to GPIO09 and SCL to GPIO08. With these pins I do eventually get the temperature and pressure data in HA (it takes a few minutes for the first sync), but my concern is with the message I get about using those pins, and the fact that I get no humidity. I ordered a GY-BME280-3.3 from https://www.aliexpress.us/item/3256804341669591.html?spm=a2g0o.order_list.order_list_main.37.4acb1802pEfoKB&gatewayAdapt=glo2usa .
It looks like the BME based on other posts I’ve found. Pictures of my board:
Given I’m not yet certain I have the pins properly configured, I am not planning on giving up hope that I got the right board yet.
Any help would be greatly appreciated, thanks!