Beetle ESP32-C3

userHead Rishan.Patel 2023-03-25 03:08:20 316 Views2 Replies

Cant get the serial port to show the basic example analog read sketch. I see its a common issue as the doc for this board recommends I try a different serial monitor application but i tried that and cant find one that works. Any advice and why is it like this, seems like a huge design flaw?

 

Thanks :) 

2023-05-10 22:16:48

Please try with a different cable. Sometimes bad USB cables create problems. Also, see if there is a mismatch between the baud rate that you have defined in your code and the baud rate that you have selected when opening the serial monitor. Here is a detailed article about serial communication of ESP modules. This may help:

 

 https://www.theengineeringprojects.com/2021/09/esp8266-serial-communication.html

 

userHeadPic bidrohini.bidrohini
2023-05-10 19:32:39

Could you try the following code and see if there is anything comes out in the serial monitor?

 

void setup() {

  Serial.begin(115200);

}

 

void loop() {

  Serial.println(analogRead(A2),DEC);

  Serial.println("Hello");

  delay(100);

}

 

 

 

userHeadPic Yeez_B