Chat here about code rewrites, mods, etc... with respect to the github project https://github.com/esp8266/Arduino

Moderator: igrr

User avatar
By Nico van der Dussen
#22756 Hi,

I'm a newbie to ESP8266 and just loaded my first sketches :)

I have a ESP12 module, using an CP2102 programmer and an external 3.3V powersource.

I'm using Arduino IDE 1.6.5r2 on Windows 8.1 and am trying to get the ESP8266 to communicate with the serial monitor.

I tried to load the example connect to wifi sketch, but did not see anything on the serial monitor :(

I reduced the sketch to

Code: Select allvoid setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:
Serial.print(".");
}


And stil can's see anything on the serial monitor.

I experienced the following:

If the serial monitor is open while trying to upload, the upload fails.

My process is to close all IDE windows except the one I want to upload, upload and then open the monitor.

Up to now I was not able to see anything in the monitor.

Please assist :)
User avatar
By Nico van der Dussen
#22758 Ok,

Just after posting I noticed that my code was lacking a setup

changed to

Code: Select allvoid setup() {
  // put your setup code here, to run once:
Serial.begin(115200);
}

void loop() {
  // put your main code here, to run repeatedly:
Serial.print("X");
}


It did not solve the problem - still nothing happens in the Monitor screen
User avatar
By Lotus
#23362 If you have the RST and GPIO0 pins connected to RTS and DTR I noticed the Arduino Serial Monitor pulls those two lines low preventing the esp8266 from running. You can use another terminal emulator or disconnect those lines.