I am trying to upload sketches over wifi on an UNO R4 Wifi. I am able to connect to my network using Example "ConnectwithWPA" and get a network port assigned and selected but serial monitor says I don't have a port selected even though I do. Can someone point me in the right direction? Thanks!
I have never heard of uploading a sketch over WiFi, are you sure you don't mean OTA?
Forgive my newbness but by OTA do you mean using the cloud? I am trying to connect through my wifi network. Can it not be done?
Hi @RBT.
Serial Monitor doesn't have a capability to communicate with the board over a network port. This is the reason you see that "no port selected" message.
If you want to use Serial Monitor with the UNO R4 WiFi board, you will need to connect the board to your computer with a USB cable and select the serial port of the board from Arduino IDE's Tools > Port menu.
If that isn't practical, then you should use an alternative system for communicating with the board through the network.
Thanks for the input! I get that Serial Monitor doesn’t work over network ports, which explains the 'no monitor available' message. But my main problem is uploading sketches OTA to the UNO R4 WiFi. I can connect to my network (e.g., with ConnectWithWPA or my OTA sketch), get an IP (192.168.0.150), and see 'ArduinoR4 at 192.168.0.150' in Tools > Port. The sketch even prints 'OTA ready' via USB Serial. But as soon as I select that network port in IDE 2.3.5, it says 'could not connect'—no upload attempt, just instant failure. Ping to 192.168.0.150 works, MDNS shows 'ArduinoR4' advertising, and my firewall’s off. Is this an IDE bug with UNO R4 WiFi OTA in 2.3.5, or am I missing something for OTA uploads? Any working OTA examples or tools for this board?
That is because Serial Monitor can't connect to the port. It has absolutely nothing to do with uploads. Please either ignore the message in Serial Monitor, or if it is distracting you then close Serial Monitor by clicking the X icon on the Serial Monitor tab.
Did you click the upload button?
Yes, it does it with any sketch. I can ignore or close it, no problem. But the 'could not connect' message pops up immediately when I select 'ArduinoR4 at 192.168.0.150' in Tools > Port, before I even open Serial Monitor or hit Upload. It’s not just a Serial Monitor thing—it’s like the IDE rejects the network port outright. When I do click Upload after selecting it, I get 'Failed uploading: uploading error: exit status 1' with no real attempt to send the sketch.
I guess what I really want to know is, is it even possible to upload sketches to the R4 wireless without being connected over USB or cloud. If so, can you point me to an example of someone doing it?
I think you are mistaken. The bottom panel of the Arduino IDE window has a tabbed design, where Serial Monitor is only one of multiple views that use that panel as a container. So you might have Serial Monitor open and not realize it.
Please check the bottom panel to see if it contains a "Serial Monitor" tab. If so, click the X icon to close the tab:
Note that the bottom panel is collapsible, so it is also possible that it is not visible. If so, you can expand it by clicking this icon at the bottom right corner of the Arduino IDE window:
Here is one:
I misspoke about the "pop up". The problem still remains that the IDE is rejecting the port. I'll run through your link and see if I can figure it out. Thanks!


