Description
Board
ESP32 S3R8
Device Description
LilyGO T-Display S3
Hardware Configuration
GPIO43 is suggested by LilyGO as the I2C pins, they are brought out to the JST connector.
I am trying to connect a DS18B20 "oneWire" temp sensor that will work on other GPIO but mot pin 43 or 44.
I2C devices work on these pins as expected.
Version
v2.0.6 at first and then deleted it and installed v2.0.9, no change!
IDE Name
Arduino IDE v2.1.0
Operating System
MacOS Ventura 13.4
Flash frequency
QIO 80
PSRAM enabled
yes
Upload speed
460800
Description
I am trying to connect a Dallas Semiconductor DS18B20 temperature sensor to either the GPIO43 or the JST pin 43, which are probably the same circuit.
There is no response from the sensor at all, the oscilloscope shows 3.3v steady.
The sensor works on GPIO 1 (or GPIO 18, e.g.).
The pin 43 can be programmed as an input or an output successfully, but not the serial serial I/O of the DS18B20.
Further another user says that the JST pin 43 works in ESPHome, but we cannot get it to work on Arduino. I cannot understand why it works in only one software.
My question therefore is:
"Is there a configuration setup for the LilyGO T-Display S3 that configures GPIO43 for I2C only? How can we free it up?"
Sketch
#include <OneWire.h>
#include <DallasTemperature.h>
const int oneWireBus = 43;
OneWire oneWire(oneWireBus);
DallasTemperature sensors(&oneWire);
void setup() {
// Start the Serial Monitor
Serial.begin(115200);
delay(200);
Serial.println(" setup ");
delay(200);
sensors.begin();
}
void loop() {
sensors.requestTemperatures();
float temperatureC = sensors.getTempCByIndex(0);
Serial.print(temperatureC);
Serial.println("ºC");
Serial.println(" ");
delay(2000);
### Debug Message
```plain
Do not think this is the issue!
Other Steps to Reproduce
It works on ESPHome, but not Arduino IDE.
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.