1. My ESP32 Super Mini Dev Board (Fig-1) accepts sketch from PC, but it does not communicate with Serial Monitor (Bd = 9600) though the onBoard LED (at GPIO8) blinks.
Figure-1:
Setup-1:
Board: "ESP32C3 Dev Module"
USB CDC on Boot: "Enabled"
Port: "COM13 (ESP32S3 Dev Module)" //no other option
Sketch:
#define LED_BUILTIN 8
char myData[10];
void setup()
{
Serial.begin(9600);
pinMode(LED_BUILTIN, OUTPUT);
}
void loop()
{
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000);
byte n = Serial.available();
if (n != 0)
{
byte m = Serial.readBytesUntil('\n', myData, sizeof (myData)-1);
myData[m] = '\0';
Serial.println(myData);
}
Serial.println("Hello");
}
2. The following setup has solved the problem. Setup-2:
Board: "LOLIN C3 Mini"
USB CDC on Boot: "Enabled"
Port: "COM13 (ESP32S3 Dev Module)"
Bd = 9600
3. Output:
Hello
Hello
Arduino //From InputBox of SM to ESP32C3 to OutputBox of SM
Hello
Hello
4. Would be glad to hear your opinion as to -- "what is LOLIN C3".
Hi, I have made this beast work with WIFI Manager and web interface for making the connection with SERVO. STill callibration with Servo is bit of issue. I already fried one by mistake lol.
make use of PlatformIO, little more control on the board is available.
LOLIN is a Module brand that is very stable and reliable. The most likely reason this configuration worked for your is the CDC enabled on boot, which is the on chip USB interface. One note too the LOLIN C3mini uses the ESP32C3HN4 chip instead of the FN4 chip. The H variant has a higher chip temperature tolerance than the F. Not a big issue for the hobbyist, but very important in an industrial application.