Connecting arduino nano 33 iot to wifi

Hi, I have a problem dealing with Arduino Nano 33 IoT. I tried to connect the Arduino Nano 33 IoT to my wifi but then, it some sort like unstable. I already tried scan my networks and my wifi totally stabled. I'm not sure why, I tried to solve the problem in a month but still I could not find a way. Plus, I already used VUSB of Arduino Nano 33 Iot for supplying voltage of 5V to my sensors. Is it related to firmware update or the VUSB itself. The code that I implemented is shown below:

#include <SPI.h>
#include <WiFiNINA.h>

char ssid[] = "xxxxxx";
char pass[] = "xxxxxxxx";

int status = WL_IDLE_STATUS;

WiFiSSLClient client;

void connectToAP(){

while ( status != WL_CONNECTED){
Serial.print("Attempting to connect to SSID: ");

status = WiFi.begin(ssid, pass);



void printWifiStatus(){

Serial.print("SSID: ");

IPAddress ip = WiFi.localIP();
Serial.print("IP Address: ");

void setup() {
// put your setup code here, to run once:

while (!Serial){
if (WiFi.status() == WL_NO_MODULE){
Serial.println("Wifi module failed!");


void loop() {
// put your main code here, to run repeatedly:


00:58:47.261 -> Attempting to connect to SSID: xxxxxx
00:58:51.628 -> Connected...
00:58:51.628 -> Attempting to connect to SSID: xxxxxx
00:59:00.543 -> Connected...
00:59:00.543 -> Attempting to connect to SSID: xxxxxx
00:59:04.485 -> Connected...

I mean, if the controller successfully connected, the serial monitor should show the IP Address.

I know this is simple, but have you made sure the password you are giving is the correct one? I had the same problem and then realized the password I had inputted was one character off.

First post here. Got my pw right, stored my SSID in uppercase rather than lower case.

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