Hi, I have just received the ESP32-S3 Thing Plus board. When I tried the following code (which worked on Adafruit ESP32-S3 Feather) on it, nothing is printed on the Serial Monitor. Tried both “ESP32S3 Dev Module” and “Sparkfun ESP32-S3 Think Plus” but none of them worked. Could you please let me know what is wrong? Tried both Windows 11 PC and Mac.
#include "WiFi.h"
void setup(){
delay(5000);
Serial.begin(115200);
// Set WiFi to Station mode to get the MAC address
WiFi.mode(WIFI_STA);
// Print the MAC Address to the Serial Monitor
Serial.print("ESP32-S3 MAC Address: ");
Serial.println(WiFi.macAddress());
}
void loop(){
// Empty
}
When choosing the Board as “ESP32-S3 Dev Module” and enabling “USB CDC On Boot”, it gave me:
ESP32-S3 MAC Address: 00:00:00:00:00:00
Then, I have to change the setup() routine to:
void setup(){
delay(5000);
Serial.begin(115200);
// Set WiFi to Station mode to get the MAC address
WiFi.begin();
WiFi.mode(WIFI_MODE_APSTA);
WiFi.macAddress();
// Print the MAC Address to the Serial Monitor
Serial.print("ESP32-S3 MAC Address: ")
Serial.println(WiFi.macAddress());
}
for it to work.
Why the program in the original post works under Adafruit Feather ESP32-S3 but not under Sparkfun ESP32-S3 Think Plus? They both use the same ESP32-S3.
Thanks for checking. No, I just chose between the two board types. There is no date in that article. I thought it were an old one because Sparkfun ESP32-S3 Think Plus is now included in the list of boards. OK. From now on, I choose “ESP32S3 Dev Module” rather than"Sparkfun ESP32-S3”.