[SOLVED] Nano 33 IoT - Unsuccesful WiFi connection

Hi!

I'm trying to connect my Arduino board to WiFi, so to begin exploring the capabilities for my personal art project with it.
I'm following this official tutorial: https://docs.arduino.cc/tutorials/nano-33-iot/wifi-connection/

The first problem is it tells us to Include he WiFiNINA library... which is not available for the Nano 33. When searching for WiFiNINA, such library has no 'include' option, while the next one found, 'WiFiNINA_GENERIC' is available for including.
(See following photos)


I've put all the code the tutorial explains, with the secret tab with my SSID and password too.
All the code gets properly saved into the Nano 33 board... Altough when monitoring, it stays forever trying to connect to the SSID unsuccesfully.

See photo of the WiFi connection error:

-I had my SSID hidden, and have turned that off just in case, altough it shouldn't make a problem, should it?
-Might this otherwise be a library issue? Perhaps the thing is I should include WIFININA properly, or fix the code to include the WIFININA_GENERIC and work with it instead...

Thank you very much for the help.

All working now, problem solved.
Newbie mistake: I was trying to connect to 5GHz instead of 2.4GHz. After having the router properly set up, it all works fine. No need to broadcast SSID.

PS: also, the #include <WiFiNINA.h> code part seems to therefore include the original library properly, for I didn't include it in any way through the visual interface.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.