Not able to work with Glyph-C3 dev board

I am able to flash the program to the glyph c3 but it is not printing anything on serial.

// Define the baud rate for serial communication.
// This should match the baud rate set in your Arduino IDE Serial Monitor (e.g., 115200).
const long BAUD_RATE = 115200;

void setup() {
  // Initialize the Serial port for communication.
  // The argument is the baud rate.
  Serial.begin(BAUD_RATE);

  // Wait for the serial port to connect.
  // This is especially important for native USB ports like on the ESP32-C3,
  // to ensure the host computer is ready to receive data.
  while (!Serial) {
    // Optional: Add a small delay if needed, though often unnecessary
    // for subsequent calls once connected.
    delay(10); 
  }

  // Print a one-time message to confirm setup completion.
  Serial.println("\n--- Serial Test Program Started ---");
  Serial.print("Baud Rate: ");
  Serial.println(BAUD_RATE);
}

void loop() {
  // Print a message every time the loop executes.
  Serial.print("Status: Working! Time since boot (ms): ");
  Serial.println(millis()); // 'millis()' returns the number of milliseconds since the program started

  // Wait for 1000 milliseconds (1 second) before repeating the loop.
  delay(1000); 
}

I have tried other serial monitor such as VS code extension, minicom and Arduino IDE inbuilt serial window.

Please select the GLYPH C3 option under the tools->board->esp32-> pcbcupid glyph c3

or make sure to select Enable for USB CDC

You can read more about it here : Analog Input & Output | PCBCUPID

1 Like

I went past off this issue by using an external FTDI board, but I do want to mention that glyph C3 doesn’t provide a good developing experience with ESP IDF. Surely I can make some adjustment in idf.py build flash monitor command so that it automatically flashes the code monitors it. I should RTFM!