Arduino Nano 33 IOT - Not listed as bluetooth or wifi device

Hi everyone! Hope you having a solid day.

I just got my nano 33 iot in the mail. Excited!

I just uploaded some code (successfully it seems)...to make the device discoverable as a wifi device (or bluetooth) and both don't seem to work. I hope nothing is wrong with the radio chip or something.

What i want to do:
I am building a clock. I want to use the Nano 33 to basically set the time, move some servo's and sychronize with the local time. This is important because i have customers for the product. So simply adding my own wifi credentials to the code will not work. So i am also building an android app for it as well to set the wifi setting.

The problem:

Anyway... i just want to test my new nano 33 and see if it works.
So i uploaded some code in the hope it will be discoverable and listed in the list of wifi networks or bluetooth devices on my android phone.

But it's not listed. I tried resetting the device, debug the code, nothing seems to work. What am i doing wrong??

Here is my code to hopefully make the nano listed as a wifi device:

#include <WiFiNINA.h>

const char* ssid = "WallClockTest"; // Define an SSID for the access point
const char* password = "wallclock"; // Define a password for the access point

void setup() {
    Serial.begin(9600);
    while (!Serial);

    // Set up the Arduino as an access point
    Serial.print("Setting up as an access point...");
    int status = WiFi.beginAP(ssid, password);

    if (status != WL_AP_LISTENING) {
        Serial.println("Failed to set up as an access point.");
        while (true);
    }

    Serial.println("Access point is set up.");
    Serial.print("SSID: ");
    Serial.println(ssid);
    Serial.print("IP address: ");
    Serial.println(WiFi.localIP());
}

void loop() {
    // Your main code here
}

ps: The Nano is only connected to my laptop's usb port.... the green light is on, the orange is flickering when i upload and everything is successful. And yes, i imported the library.

Maybe i need to power the radio chip first???

When I run the code the expected AP WiFi named WallClockTest is created and I can connect to it with an Android 'phone

What do you see in the Serial monitor when you upload the code ?

Hi Helibob! Thanks for the swift reply. This is the report:

Sketch uses 15260 bytes (5%) of program storage space. Maximum is 262144 bytes.
Global variables use 3856 bytes (11%) of dynamic memory, leaving 28912 bytes for local variables. Maximum is 32768 bytes.
Atmel SMART device 0x10010005 found
Device       : ATSAMD21G18A
Chip ID      : 10010005
Version      : v2.0 [Arduino:XYZ] Apr 19 2019 14:38:48
Address      : 8192
Pages        : 3968
Page Size    : 64 bytes
Total Size   : 248KB
Planes       : 1
Lock Regions : 16
Locked       : none
Security     : false
Boot Flash   : true
BOD          : true
BOR          : true
Arduino      : FAST_CHIP_ERASE
Arduino      : FAST_MULTI_PAGE_WRITE
Arduino      : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
done in 0.662 seconds

Write 15260 bytes to flash (239 pages)

[========                      ] 26% (64/239 pages)
[================              ] 53% (128/239 pages)
[========================      ] 80% (192/239 pages)
[==============================] 100% (239/239 pages)
done in 0.118 seconds

Verify 15260 bytes of flash with checksum.
Verify successful
done in 0.014 seconds
CPU reset.

Thank you, but that is not the output from the Serial monitor. It does, however, confirm that the code was uploaded correctly

Once it has been uploaded, open the Serial monitor. What do you see output ?

Ah i see. The serial monitor says:

Setting up as an access point...Access point is set up.
SSID: WallClockTest
IP address: 192.168.4.1

I now checked with 2 android devices...nothing shows

You got the expected output so the sketch compiles and uploads OK. There could, of course, be a hardware problem with the WiFi on the board but I don't know how you would test that

It's working!

Simply restarted my phone... :neutral_face::rofl:
I thought the radio chip was dead on arrival as well.

Restarted the second phone...also works now. Which is still odd and makes no sense to me actually. I mean... there either is or isn't a wifi hotspot. What that has to do with restarting android i have no clue. But the second phone confirmed the issue

SOLUTION: Restart Phone (or other connecting devices)

Thank you very much Helibob!

I am glad it worked for you, WiFi is black Magic as far as I am concerned. It either works or it doesn't

1 Like

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