Search found 4 matches

by tanguy-e
Thu Feb 29, 2024 10:18 am
Forum: ESP32 Arduino
Topic: ESP32 2 I2C buses
Replies: 4
Views: 1413

Re: ESP32 2 I2C buses

Yes it couold be but it's not possible. I use a WiFi LoRa 32(V3) board and the OLED is hard solded and the connexion are not accessible from the outside. So i need to have a bus for the onboard OLED and another one for the external sensor ...
by tanguy-e
Wed Feb 28, 2024 9:51 am
Forum: ESP32 Arduino
Topic: ESP32 2 I2C buses
Replies: 4
Views: 1413

Re: ESP32 2 I2C buses

Thank you. So i modify the beginning of the software : SSD1306Wire display(0x3c, SDA_OLED, SCL_OLED); Adafruit_BMP280 bmp(&Wire1); // I2C void setup() { Serial.begin(115200); Wire1.begin(SDA, SCL); display.setFont(ArialMT_Plain_10); display.setTextAlignment(TEXT_ALIGN_LEFT); display.drawString(0, 0,...
by tanguy-e
Tue Feb 27, 2024 1:52 pm
Forum: ESP32 Arduino
Topic: ESP32 2 I2C buses
Replies: 4
Views: 1413

ESP32 2 I2C buses

Hello, i'm trying to use 1306 OLED with a I2C bus and a BMP280 sensor with another one : #include <Wire.h> #include <SPI.h> #include <Adafruit_BMP280.h> #include "SSD1306Wire.h" #define BMP_SCK (13) #define BMP_MISO (12) #define BMP_MOSI (11) #define BMP_CS (10) TwoWire I2Cone = TwoWire(0); TwoWire ...
by tanguy-e
Tue May 16, 2023 11:26 am
Forum: ESP32 Arduino
Topic: ESP32-S3 adafruit BMP280 lib
Replies: 0
Views: 761

ESP32-S3 adafruit BMP280 lib

I have a circuit based on ESP32-S3 and i use arduino IDE. I would like to use BMP280 with i2c. The ESP32-S3 contain 2 i2c device. On this circuit one i2c device is used for an OLED and i would like to use the other one for BMP280. So i have to specify the pins used for I2C but i can't understand how...