I have a simple program:
#include <Arduino.h>
void setup() {
Serial.begin(2400);
}
void loop() {
delay(500);
Serial.println("blink");
}
I selected DOIT ESP32 DEVKIT V1
board in new project wizard. Generated program works fine on MINI D1 ESP32
board (D1 Mini ESP32 ESP 32 WiFi + Bluetooth Internet der Dinge Entwicklung Board basierend ESP8266 Voll Funktions| | - AliExpress) with SIL2104 USB chip. Unfortunately, it produces garbage on DOIT ESP32 DEVKIT V1
board (Neue ESP32 Entwicklung Bord CH9102X WiFi + Bluetooth Ultra Low Power Verbrauch Dual Core WIFI Entwicklung Bord Eletronicos Kits| | - AliExpress) with CH9102X USB chip. I tried different baud rates in Serial.begin(2400)
and monitor_speed = 2400
with the same result:
␄�g�<;'␇$␄�'�<;'␇$␄�'�<;'␇$␄�'�<;'␇$␄�'�|;'␇$␄�'�<;'␇$␄�'�<;'␇$␄�'�<;'␇$␄�'�<;'␇$␌�'�<;'␇$␄�'�<s'␇$␄�'�<;'␇$␄�'�<;'␇$␄�'�<;'␇$␄�'�<;'␇l␄�'�<;'␇$␄�'�<;g␇$␄�'�<;'␇$␄�'�<;'␇$␄�'�|;'␇$␄�'�|;'␇$␄�'�|;'␇$␄�'�<;'␇$␄�'�<;'␇$␄�'�<;'␇$␄�'�<;'␇$␄�'�|;'␇$␄
What could be the reason? Should I call Serial.begin()
with non-standard pin numbers? BTW, there are at least four DOIT ESP32 DEVKIT V1
board selections in new project wizard. Are they the same?