element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Design For A Cause 2021
  • Challenges & Projects
  • Design Challenges
  • Design For A Cause 2021
  • More
  • Cancel
Design For A Cause 2021
Blog VenTTracker #09 - Checking and updating WiFiNINA Firmware
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: javagoza
  • Date Created: 27 Apr 2021 10:42 AM Date Created
  • Views 2384 views
  • Likes 6 likes
  • Comments 4 comments
  • venttracker
  • wifinina
  • arduino_nano_33_iot
  • firmware update
  • design_for_a_cause_2021
Related
Recommended

VenTTracker #09 - Checking and updating WiFiNINA Firmware

javagoza
javagoza
27 Apr 2021

This post is for those with problems with its Wifi module.

If your Arduino Nano 33 IoTArduino Nano 33 IoT works but when trying to access the wifi module it does not respond, you may have to update the firmware. In this blog we tell you how we did it in Windows 10

 

image

  Design for A Cause 2021 the VenTTracker project

  01 - Intro and motivation. | 02 - Analyzing Window Types (I) | 03 - Analyzing Window Types (II) | 04 - Playing with the IMU | 05-Sliding Window Mock-up | 06 -  Window Sensor Prototype | 07 - Adjusting the window sensor | 08 - Trying to make a measuring device with the accelerometer | 09 - Checking and updating WiFiNINA Firmware | 10 - Ventilation Monitor on Arduino IoT Cloud | 11 - Wireless Environmental Monitor on Arduino Nano 33 IoT | 12 - Window Anomaly Detection. Edge Impulse & Arduino Nano 33 IoT | 14 - Environmental Monitor Revisited - Version 2 | 13 - Project wrap-up and Lessons learned

 

Tracking System for Classroom Ventilation Routines

A STEM project for classrooms

the VenTTracker project - Blog #09 - Checking and updating WiFiNINA Firmware

 

  • Tracking System for Classroom Ventilation Routines
  • the VenTTracker project - Blog #09 - Checking and updating WiFiNINA Firmware
  • Checking and updating WiFiNINA Firmware
    • References
    • Check the versions
    • Install library
    • Check the Wifi module
    • Checking wifinina firmware version
    • Updating wifinina firmware
    • Final check of the firmware version

Checking and updating WiFiNINA Firmware

 

References

https://www.arduino.cc/en/Reference/WiFiNINA

https://www.arduino.cc/en/Tutorial/WiFiNINAFirmwareUpdater

Check the versions

The first thing you have to verify is that you have both the Arduino IDE and the Wifinina libraries updated to the latest version.

The new beta 2.0 version of the Arduino IDE that exists on the day this blog is published does not yet have the option to update ublox module firmware.

So you must work with the latest version of 1.8.x

 

Install library

 

Install WiFiNINA by Arduino

Go to Library Manager to install or update the WiFiNINA library.

 

image

 

 

Check the Wifi module

 

Try first this example: AP_SimpleWebServer

image

 

or download from github:

 

https://github.com/arduino-libraries/WiFi101/blob/master/examples/AP_SimpleWebServer/AP_SimpleWebServer.ino

 

That example creates a new Wifi Access Point.

Enter your sensitive data in the Secret tab/arduino_secrets.h

SECRET_SSID  is the name of your new wifi access point and SECRET_PASS the password for your new wifi access point

 

 

// /arduino_secrets.h

// Both SSID and password must be 8 characters or longer

#define SECRET_SSID "DesingForACauseWifiTest"

#define SECRET_PASS "123456789"

 

Upload the sketch an check the log in the serial port:

 

image

then from your PC or your phone connect to the new AP DesingForACauseWifiTest

image

 

Connect, enter the password and then you can access the server from a browser

image

You can see the log in the Serial Monitor

image

If you see: "PLease upgrade the firmware" your module has an old version of the firmaware.

 

Checking wifinina firmware version

You can run version checker alternatively.

Checks if the firmware loaded on the NINA module is updated.

Open the sketch by going to File -> Examples -> WiFiNINA -> Tools -> CheckFirmwareVersion

 

If the sketch doesn't work try this version I modified for the Arduino Nano 33 IoT

 

/*
 * This example checks if the firmware loaded on the NINA module
 * is updated.
 *
 * Circuit:
 * - Board with NINA module (Arduino MKR WiFi 1010, MKR VIDOR 4000 and UNO WiFi Rev.2)
 *
 * Created 17 October 2018 by Riccardo Rosario Rizzo
 * This code is in the public domain.

 */

#include <WiFiNINA.h>

void setup() {
  // Initialize serial
  Serial.begin(9600);
  delay(1000);

  // Print a welcome message
  Serial.println("WiFiNINA firmware check.");
  Serial.println();

  // check for the WiFi module:
  if (WiFi.status() == WL_NO_MODULE) {
    Serial.println("Communication with WiFi module failed!");
    // don't continue
    while (true);
  }

  // Print firmware version on the module
  String fv = WiFi.firmwareVersion();
  String latestFv;
  Serial.print("Firmware version installed: ");
  Serial.println(fv);

  latestFv = WIFI_FIRMWARE_LATEST_VERSION;

  // Print required firmware version
  Serial.print("Latest firmware version available : ");
  Serial.println(latestFv);

  // Check if the latest version is installed
  Serial.println();
  if (fv >= latestFv) {
    Serial.println("Check result: PASSED");
  } else {
    Serial.println("Check result: NOT PASSED");
    Serial.println(" - The firmware version on the module does not match the");
    Serial.println("   version required by the library, you may experience");
    Serial.println("   issues or failures.");
  }
}

void loop() {
  // do nothing
}

 

 

image

 

We need to update the wifinina firmware

 

Updating wifinina firmware

More info: https://www.arduino.cc/en/Tutorial/WiFiNINA-FirmwareUpdater

 

There is no option in Arduino IDE 2.0.0-beta.3 back to Arduino 1.8.13

 

Download the last version and copy it to firmwares directory

 

https://github.com/arduino/WiFi101-FirmwareUpdater-Plugin

 

image

For Windows 10:

Copy folder to

image

 

 

Plug in the board into your computer if you haven't done it yet and from the Tools menu select "Arduino Nano 33 IoT" as a board and select the right COM Port. Next open the FirmwareUpdater sketch by going to File -> Examples -> WiFiNINA -> Tools -> FirmwareUpdater.

image

 

Upload the sketch onto your Arduino Nano 33 IoT and close the Serial Monitor if it is open. Now launch the "WiFi 101 / NINA Firmware Updater" from the Tools menu of the IDE.

 

 

Use the Arduino IDE to upload the firmware

image

 

 

 

image

 

 

Final check of the firmware version

 

After the installation you can check if you have installed the latest version of the firmware by uploading the CheckFirmwareVersion sketch onto your board. You can find this sketch by going to File -> Examples -> WiFiNINA -> Tools -> CheckFirmwareVersion.

 

 

image

 

VenTTracker Blogs
VenTTracker #01 - Intro and motivation.
VenTTracker #02 - Analyzing window types.
VenTTracker #03 - Analyzing window types II
VenTTracker #04 - Playing with the IMU
VenTTracker #05 - Sliding Window Mock-up
VenTTracker #06 - Window Sensor Prototype
VenTTracker #07 - Adjusting the window sensor
VenTTracker #08 - Trying to make a measuring device with the accelerometer
VenTTracker #09 - Checking and updating WiFiNINA Firmware
VenTTracker #10 - Ventilation Monitor on Arduino IoT Cloud
VenTTracker #11 - Wireless Environmental Monitor on Arduino Nano 33 IoT
VenTTracker #12 - Window Anomaly Detection. Edge Impulse & Arduino Nano 33 IoT
VenTTracker #14 (aka #11 bis) - Environmental Monitor Revisited - Version 2
VenTTracker #13 - Project wrap-up and Lessons learned

 

 

<< Previous VenTTracker BlogNext VenTTracker Blog  >>
VenTTracker #08 - Trying to make a measuring device with the accelerometerVenTTracker #10 - Ventilation Monitor on Arduino IoT Cloud
  • Sign in to reply

Top Comments

  • ilvyanyatka
    ilvyanyatka over 4 years ago +1
    Your blog posts can be standalone tutorials! I didn't need to use WiFi module, but definitely bookmarking this one just in case. Thank you!
  • javagoza
    javagoza over 4 years ago in reply to ilvyanyatka +1
    Hi, ilvyanyatka , I think in your project, Open Source EMDR Machine , you are using BLE communication. The WiFi and Bluetooth connectivity of the Arduino NANO 33 IoT is done with a u-blox module, the NINA…
  • javagoza
    javagoza over 4 years ago in reply to javagoza +1
    In any case, if it ain't broke, don't fix it!
Parents
  • ilvyanyatka
    ilvyanyatka over 4 years ago

    Your blog posts can be standalone tutorials! I didn't need to use WiFi module, but definitely bookmarking this one just in case.

    Thank you!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • javagoza
    javagoza over 4 years ago in reply to ilvyanyatka

    Hi, ilvyanyatka ,

     

    I think in your project, Open Source EMDR Machine, you are using BLE communication.

    The WiFi and Bluetooth connectivity of the Arduino NANO 33 IoT is done with a u-blox module, the NINA-W10, a low-power chipset that operates in the 2.4GHz range.

    For the ArduinoBLE library to work in the Arduino NANO 33 IoT you must have the firmware of the NINA-W10 module updated, so this information is also useful for your project.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • javagoza
    javagoza over 4 years ago in reply to javagoza

    In any case, if it ain't broke, don't fix it!

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ilvyanyatka
    ilvyanyatka over 4 years ago in reply to javagoza

    Actually, BLE in my project is kind of buggy. So I will definitely follow your steps. Thanks again!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • ilvyanyatka
    ilvyanyatka over 4 years ago in reply to javagoza

    Actually, BLE in my project is kind of buggy. So I will definitely follow your steps. Thanks again!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube