Buy from US Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES ここでご購入を!

After completed above oprations, try to upload the first sketch to the NodeMCU.

Preparation

Code:

Connect your NodeMCU to the PC and put below code to your Arduino IDE (you can download the sketch file from https://osoyoo.com/download/code/nodemcu-lesson2.zip).

void setup()
{
Serial.begin(115200);//Set the baudrate to 115200,same as the software settings
}
void loop()
{
Serial.println("Hello World!");//Print character string“Hello World!”on the serial
delay(5000);// Delay 5 second
}

Choose correct  board to NodeMCU 1.0 and select correct port as per lesson 1 instruction.

After upload the sketch code, click Serial Monitor button, you will see the running result as below:

serial monitor

serial monitor result

You will see the serial monitor output every 5 second.

Note: Make sure the baud rate is same as your sketch setting.