I am using an ESP32 TTGO Lora Oled V1 and uploaded this simple sketch
Code: Select all
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
Serial.begin(115200);
delay(5000);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
Serial.println("on");
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
Serial.println("off");
delay(1000);
}
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, 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:4604
ho 0 tail 12 room 4
load:0x40078000,len:15488
load:0x40080400,len:4
but then immediately after the serial monitor only shows gibberish.
Only after changing the baudrate in the serial monitor to 74880 the 'on'... 'off' shows up correctly.
I also tried setting the baudrate to a different value but the problem is the same.
The baudrate during boot stays 115200 but after it is one baudrate step lower than selected. With low baudrates like 9600 it doesn't work at all.
As a board I selected TTGO LoRa32-OLED in the Arduino IDE. There are 3 board revisions and I tried all of them.
I also tried different USB-Calbes. I have two of these boards and the problem is the same with both of them. 2 weeks ago both of them worked fine. I think it is pretty unlikely that both of them broke at the same time.
I tried the same code with a Heltec WIfi Lora32 V3.2 board an this one doesn't have any problems.
can anyone help? What's going on here?