How To Install Using Arduino Library Manager
New Releases v1.0.0
- This release of very-easy-to-use will help you to eliminate hardcoding your Wifi and Blynk credentials for Mega/Teensy boards running WiFiNINA shields, and updating/reflashing every time when you need to change them.
- Configuration data are stored in configurable location in EEPROM.
- When WiFi and/or Blynk connection is lost, the WM will try auto-reconnect.
Config Portal Static IP address, Name and Password.
Static IP address, Gateway, Subnet Mask.
- Currently support AVR Mega and SAMD (ZERO, MKR, NANO_33_IOT, M0, M0 Pro, AdaFruit CIRCUITPLAYGROUND_EXPRESS, etc.) boards
- Enhance GUI.
To help you to eliminate hardcoding
your Wifi and Blynk credentials for Mega/Teensy boards running WiFiNINA modules/shields, and updating/reflashing every time when you need to change them. Configuration data are saved in configurable location in EEPROM/Flash.
So, how it works?
If it cannot connect to the Blynk server in 30 seconds, it will switch to Configuration Mode
. You will see your built-in LED turned ON. In Configuration Mode
, it starts a configurable access point, default called Teensy4_XXXXXX
, SAMD_XXXXXX
, DUE_XXXXXX
,Mega_XXXXXX
or STM32_XXXXXX
. Connect to it using password MyTeensy4_XXXXXX
, MySAMD_XXXXXX
, MyDUE_XXXXXX
, MyMega_XXXXXX
or MySTM32_XXXXXX
.
After you connected, please, go to http://192.168.4.1 or the AP IP you specified.
Enter your credentials : WiFi SSID/Password, Blynk Server, Port and Token, Board Name and dynamic custom parameters (MQTT credentials in the example)
Then click Save
. After you restarted, you will see your built-in LED turned OFF. That means, it connected to your Blynk server successfully.
The following is the sample terminal output when running example SAMD_WiFiNINA
- No Config Data => Config Portal
Start Blynk_WiFiNINA_WM using WiFiNINA_Shield on SAMD NANO_33_IOT
Start Blynk_WM
[16286] RFC925 Hostname = SAMD-WiFiNINA
[16287] CrCCSum=2244,CrRCSum=0
[16288] CCSum=0,RCSsum=0
[16288] InitEEPROM,sz=1024,Datasz=336
[16288] pdata=,len=34
[16288] pdata=,len=6
[16289] pdata=,len=34
[16289] pdata=D_WiFiNINA,len=34
[16289] pdata=,len=34
[16289] pdata=,len=34
[16291] CrCCSum=3599
[16291] b:Nodat.Stay
[17052] stConf:SSID=SAMD_NINA_51F485,PW=MySAMD_NINA_51F485,IP=192.168.120.1
- Config Data Ready => Run
Start Blynk_WiFiNINA_WM using WiFiNINA_Shield on SAMD NANO_33_IOT
Start Blynk_WM
[19387] RFC925 Hostname = SAMD-WiFiNINA
[19388] CrCCSum=6368,CrRCSum=6368
[19389] CCSum=7055,RCSsum=7055
[19389] Hdr=SHD_WiFiNINA,SSID=HueNet1,PW=****
[19389] Svr=account.duckdns.org,Prt=8080,Tok=****
[19389]
___ __ __
/ _ )/ /_ _____ / /__
/ _ / / // / _ \/ '_/
/____/_/\_, /_//_/_/\_\
/___/ v0.6.1 on NANO_33_IOT
[19390] con2WF:start
[20151] con2WF:millis=761
[20151] WiFiNINA Firmware Version: 1.3.0
[20151] Con2:HueNet1
[23346] IP:192.168.2.139
[23346] con2WF:OK
[23346] IP = 192.168.2.139, GW = 192.168.2.1, SN = 255.255.0.0
[23347] b:WOK.TryB
[23348] BlynkArduinoClient.connect: Connecting to account.duckdns.org:8080
[23468] Ready (ping: 6ms).
[23468] Free RAM: 24167
[23539] b:WBOK
BBBBBBBBBB BBBBBBBBBB BBBBBBBBBB BBBBBBBBBB