Hey.
It is necessary to solve the problem of specifying the network settings for the W5500 and saving them to the EEPROM. For example, as implemented here https://github.com/khoih-prog/Blynk_WM
Are there ready-made tools?
Hey.
It is necessary to solve the problem of specifying the network settings for the W5500 and saving them to the EEPROM. For example, as implemented here https://github.com/khoih-prog/Blynk_WM
Are there ready-made tools?
WiFiManager enables to select a WiFi network at runtime. The storing of additional ‘keys’ was added to use the existing code of WiFiManager.
For Ethernet you don’t specify where to connect so you don’t need a ‘manger’ for that.
For a DYI sketch you can simply specify the Blynk key in the sketch. For more professional approach you could create a web page to set the keys at runtime.
Yes. I understand that I can write my own code. But maybe there is a ready-made and convenient solution … Maybe it is also adapted to Blynk.
I think this is what you’re looking for…
Pete.
the description contains the phrase “AVR Mega and W5100 is not supported.”
For ESP32, ESP8266, Teensy, SAMD, SAM DUE using W5x00 Ethernet shields
BlynkEthernet_WM is a library for Teensy, ESP, SAM DUE and SAMD boards, with Ethernet W5X00 or ENC28J60 shields,
to enable easy configuration/reconfiguration and autoconnect/autoreconnect of Ethernet/Blynk
AVR Mega and W5100 is not supported.
Library modified from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
Built by Khoi Hoang https://github.com/khoih-prog/BlynkEthernet_WM
Licensed under MIT license
Version: 1.0.18`
Original Blynk Library author:
@file BlynkGsmClient.h
@author Volodymyr Shymanskyy
@license This project is released under the MIT License (MIT)
@copyright Copyright (c) 2015 Volodymyr Shymanskyy
@date Jan 2015
@brief```
That could be old information, as I see that support for the W5100 was removed then reinstated in a later version, but as you said
then it shouldn’t be an issue should it?
Maybe if you can be clearer about exactly which hardware and hardware combinations you do need to use then @khoih could advise on the suitability of his library for this project.
Pete.
Pete, thank you very much for your help on the forum! I am using MEGA2560+W5500.
The sketch code contains:
#if ( defined(ARDUINO_AVR_ADK) || defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560) )
#error This code is designed to run on SAMD, SAM-DUE, Teensy platform, ESP8266, ESP32 not AVR Mega! Please check your Tools->Board setting.
#endif
When compiling, I get an error…
I’ll try to contact the developer, maybe there is a chance to throw out some of the code (for example, displays). Or you have to write it yourself