I get the arduino uno R4 wifi 7 days ago and try to connect to my personnal network
I try a lot of example from your site and none works. I try wifiwebserver and on the serial monitor is written : Connection to "SFR_9BFO" failed. but I enter the right SSID name and PASSWORD for my network.
But when i run your example NetScanNetworksAdvanced the device find my networks
could you help me to solve this problem
thanks
Hi @drouard
Is the SSID name SFR_9BFO?
I recall that sometimes when people report this type of problem, it turns out in the end to have been caused by some problematic characters in the password.
I suggest examining your password closely to see if you can identify anything.
For example, if your password was pass\word, you might use this code in your sketch:
#define SECRET_PASS "pass\word"
That is incorrect because the \ in this string acts as an escape operator, meaning \w is actually a single character. Normally we would simply escape the \ like this to get a literal \ character:
#define SECRET_PASS "pass\\word"
However, I find the board still can't connect to the AP I created with password pass\word even using that corrected string. I found that I had to do this unintuitive thing instead:
#define SECRET_PASS "pass\\\\word"
meaning the string is ending up going through two rounds of processing (perhaps once when the sketch is compiled and again when received by the router).
Another example: If the AP is configured to use the password pass"word you might try this
#define SECRET_PASS "pass"word"
Of course that won't even compile, and you will quickly find the solution is escaping the ":
#define SECRET_PASS "pass\"word"
Now the code compiles, but it won't connect to the AP. You will only get a connection with this code
#define SECRET_PASS "pass\\\"word"
For my networks name, yes it is SFR_9BFO for 2.4GHZ or SFR_9BFO_5GHZ for 5GHZ
for the password there only letters en number in. no slash or other special character
OK, it is unfortunate that my hypothesis did not bear fruit but worth checking at least.
If you haven't already, I recommend updating the firmware on your UNO R4 WiFi board. I'll provide instructions you can follow to do that using Arduino IDE 2.x:
- Connect the UNO R4 WiFi board to your computer with the USB cable.
- If you have the Arduino IDE Serial Monitor or Serial Plotter running, close them.
ⓘ You can close Serial Monitor by clicking the X icon that appears on its tab when selected:

- Select Tools > Firmware Updater from the Arduino IDE menus.
The "Firmware Updater" dialog will open. - Select the UNO R4 WiFi from the "Select Board" menu in the "Firmware Updater" dialog.
- Click the "CHECK UPDATES" button.
An "INSTALL" button will be added to the dialog. - Click the "INSTALL" button.
An "Installing firmware" process will start, as indicated by the message near the bottom of the dialog. - Wait for the firmware update process to finish successfully, as indicated by the message in the dialog:
Firmware successfully installed.
- Click the X icon in the dialog.
The dialog will close. - Disconnect the USB cable of the UNO R4 WiFi board from your computer.
This step is very important! - Connect the UNO R4 WiFi board to your computer with the USB cable again.
After you finished updating the firmware, upload the "WiFiWebServer" sketch to your board again and open Serial Monitor to check the results. Hopefully this time it will be able to connect.
Thank you for your answer, but unfortunealy this procedure doesn't works. When I try to upload the software 0.3.0, the upload start but after I have the following message : installation failed. please try again
Thank you for your answer but unfortunealy this procedure doesn't work. I began your procedure and when I run the upload the software the upload start but before the end of the uploading i get the following message : intallation failed, please try again
I'm sorry to hear that. Please unplug the USB cable of the UNO R4 WiFi board from your computer and then repeat the instructions above. It is necessary to unplug and replug the USB cable between every attempt because the firmware update puts the board into a bad state that it only recovers from after being power cycled.
Be careful to follow step (2) of the instructions because this installation failure can be caused by having Serial Monitor open while you attempted to update the firmware.
Sorry I try again and i get the same message. I unplug a lot of time the usb cable and try again your procedure but nothing works
Can you try the steps from this article