WiFi isn't working on Uno WiFi rev 2

Apple Mac OS 14.4.1
Firefox 125.0.1
Arduino IDE 2.3.2  
Arduino C++
Arduino Uno WiFi rev 2
#include "WiFi.h"

void setup() {
  Serial.begin(9600);
  Serial.println("go");
  WiFi.status();
  Serial.println("done");
}

void loop() {}

After uploading, the Serial Monitor shows "go", but not "done". I have been unable to get .status, or any other WiFi function, to work.

  1. The Uno WiFi rev 2 has nothing attached to it.
  2. It is connected directly to the computer USB port.
  3. The firmware for the board is version 1.5.0.
  4. Rebooting the board changes nothing.
  5. Rebooting the computer changes nothing.

How do I get WiFi.h running correctly?

hi mate,
I believe you need to add code to Wifi.Begin and get the wifi password and ssid it should connect. Here is a like to a form similar.

Good luck!

If I had failed to do a WiFi.begin(), which I did fail to do, the WiFi.status() should have come back as a zero. It did not come back as a zero, instead it stopped the program. It shouldn't do that.

use the WiFiNINA library

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