4.
USAGE
Your NodeMCU ESP32 is now ready to use. Simply connect it to your computer with a USB cable.
The installed library already provides many examples to allow a quick insight into the module.
You can find the examples in your Arduino IDE under "File -> Examples -> ESP32".
The fastest and easiest way to test your NodeMCU ESP32 is to get the device number. Either copy the
code below or use the example "GetChipID":
uint64_t
chipid;
void
setup() {
Serial.begin(115200);
}
void
loop() {
chipid=ESP.getEfuseMac();//The chip ID is essentially its MAC address
(length: 6 bytes).
Serial.printf("ESP32 Chip ID =
High 2 bytes
Serial.printf("%08X\n",(uint32_t)chipid);//print Low 4bytes.
delay(3000);
}
To upload, click the upload button from the Arduino IDE and hold down the "BOOT"-button on the SBC
NodeMCU ESP32. The upload is completed until the writing has reached 100% and you will be asked to
reboot (hard resetting via RTS pin ...) with the "EN" key.
You can show the output of the example in the serial monitor.
Published: 18.04.2019
%04X",(uint16_t)(chipid>>32));//print
Copyright by Joy-IT
NodeMCU ESP32
6
Need help?
Do you have a question about the NodeMCU ESP32 and is the answer not in the manual?