Arduino Nano ESP32 WifiScan does not run on Mac

I have an Arduino Nano ESP32 connected with an Arduino USB Type-C® Cable 2-in1 to an Apple Macbook M1pro (macOS Sonoma version 14.4.1) that runs the Arduino IDE version 2.3.2.

I've installed the Arduino ESP32 Boards Manager via the IDE. Then I tried to run an example sketch "WifiScan" to check if everything works properly, but when I upload the code, it compiles the sketch, but then it says the following in the Serial Monitor:


Opening DFU capable USB device...
Device ID 2341:0070
Device DFU version 0101
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 0101
Device returned transfer size 4096
Copying data from PC to DFU device

Download [ ] 0% 0 bytes
Download [= ] 4% 28672 bytes
Download [== ] 8% 57344 bytes
(...)
Download [======================== ] 96% 659456 bytes
Download [=========================] 100% 681056 bytes
Download done.
DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
DFU state(2) = dfuIDLE, status(0) = No error condition is present
Done!

But it doesn't show me the available wifi networks. I tried uploading a "Blink" sketch, which worked, so the board is connected to the port, altough it doesn't say COM, but rather Port: /dev/cu.usbmodemECDA3B5532142 (Arduino Nano ESP32) and i still get the same message as described above in the serial monitor.

Does anybody know how I can fix this?

Hi @OwenHauptmeijer.

The text you shared is what is printed in the "Output" view in the bottom panel of the Arduino IDE window during a successful upload. Although the location of the "Serial Monitor" view is also the bottom panel, this is a completely different thing than the "Output" view.

The bottom panel has a tabbed design. Check to see if there is already a "Serial Monitor" tab in the bottom panel's toolbar:

image

If so, just click on that tab, which will make the "Serial Monitor" view visible.

If you don't see a "Serial Monitor" tab, then simply select Tools > Serial Monitor from the Arduino IDE menus (or click the icon that looks like a magnifying glass at the right side of the Arduino IDE toolbar) to open the "Serial Monitor" view.

Thank you for the quick respons and explanation @ptillisch ! It has been a while for me, and i'm trying to pick it up again :slight_smile:

You are welcome. I'm glad if I was able to be of assistance.

Regards,
Per