-->
Page 1 of 1

Esp8266 nothing on serial monitor

PostPosted: Thu Jan 07, 2021 12:25 pm
by Saifkhan
I am working on an Arduino and esp8266 project and I am facing a problem that after uploading following code nothing is showing on serial monitor. I am using USB connector to power up the Arduino then connected Esp8266 with it by connecting all 6 wires. I bypass the Arduino by connecting reset with ground. There is no error while uploading code but its showing nothing. Tried connecting esp8266 TX with Arduino RX and esp RX with Arduino TX. And TX with TX and RX with RX also but still hard luck. Baud rate is same 115200 port is also correct but still not working. Kindly help me to figure it out ! Thanks. I attached the schematic, kindly check that.

Code: Select allvoid setup() {
  Serial.begin(115200);
  while(!Serial) { delay(100); }
}

void loop() {
  Serial.println("Hello!");
  delay(1000);
}

Re: Esp8266 nothing on serial monitor

PostPosted: Fri Jan 08, 2021 5:32 am
by schufti
you have to remove gnd connection to gpio0 and reset esp to start your code

Re: Esp8266 nothing on serial monitor

PostPosted: Fri Jan 08, 2021 6:10 am
by Saifkhan
Tried not working ! when I remove gpio 0 from ground after uploading code the led of esp becomes very low seems like not getting enough volts but after connecting gpio 0 to ground it becomes normal.

Re: Esp8266 nothing on serial monitor

PostPosted: Sat Jan 09, 2021 4:09 pm
by schufti
then you have to look for other reason why that is not working but as matter of fact: with gpio0 at gnd it will never start your sketch!