I got one the other day b/c the Wifi was built in and I didn't have to wire in a separate component in. I hate soldering, the way I hated practicing cursive in whatever grade they make us learn it.
I tried to use the examples included in IDE that use “#include ” to connect to a Wifi Access Point, but it seems to be returning “WiFi.status() == WL_NO_SHIELD.”. I assume this means that particular library example is NOT appropriate for the Nano 33 IOT wifi interface. There isn’t a Wifi example listed under for the Nano 33IOT.
Is there an library and example specific to the Arduino 33 IOT, for interfacing with it’s Wifi module?
It mentions the wifi credentials are stored cryptographically on the Nano. And when I follow Getting Started website and after registering and installing the plugin, it asks that I upload my wifi credentials thru a webpage. Is this uploading my wifi credentials to Arduino, just so it can encrypt them, to store in the Nano?
If you go to the Library Manager Tools -> Manage Libraries search for WiFiNina and install WiFi Nina by Arduino 1.4.0. Unfortunatelly the info text does not mention the Nano 33 IOT yet.
Then go to File -> Examples -> WiFiNINA -> ScanNetworks
Compile, Download, Start Serial Monitor, After a few seconds you should see WiFi networks around you.
Just tested it myself. I did not update the Firmware of the WiFi module.
There are 16 WiFi examples in that library.
If you want to connect to your network use the WiFiWebServer example. The project has a header file called arduino_secrets.h. Save the project in your projects folder. Make sure the libaries folder containg the library you just installed is in the same folder. Put in your WiFi SSID and password in the header file. This will be compiled into your code and stay on the Arduino.
Compile, Download, Start Serial Monitor, After a few seconds the board will connect to your WiFi. Call the IP address in your browser and you should see a couple of Analog meassurments. Because you do not have anything connected to your Arduino you can just hold your hands close to the board to change the values. The values update every few seconds.
Thanks for posting the question. Had the board already on my desk to give it a try.
I did not understand your last question. Are you using the Arduino IDE or the Web Editor (I have not used this)? But if you are using the Web Editor then yes, the compiler will need you WiFi SSID and password, because this becomes part of the code.
Forget it. I realized I was overthinking it. the #include WiFi.h is replaced with #include WiFiNINA.h.
And making http requests is done thru the SSL WiFiSSLClient class, that you eventually find an example for, after going through their blinking led, to show case the Arduino Cloud's device management capability.
But otherwise, the example code I'm trying works, just by replacing that one include.