Hello everyone, I am asking for your help with the following.
I am trying to use the ArduinoEthernet example to connect to thinger but I get the following error.
Which development IDE are you using and Thinger’s library version?
I guess this could be sorted downgrading the thinger’s library, maybe the 2.17 version (or so) could work fine with your setup (Arduino Uno + Eth Shield).
Hello ega, in theory, I have the latest updates to the thinger libraries, I have also tried several versions of Arduino, including 1.8.19 and the same thing happens.
I just tried this:
Arduino IDE 2.3.2
Thinger library 2.17 - ArduinoEthernet example
and it did not compile for the Arduino UNO due lack of memory, I share the IDE error:
Sketch uses 26016 bytes (80%) of program storage space. Maximum is 32256 bytes.
Global variables use 2685 bytes (131%) of dynamic memory, leaving -637 bytes for local variables. Maximum is 2048 bytes.
Not enough memory; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing your footprint.
data section exceeds available space in board
Compilation error: data section exceeds available space in board
However it compiled successfully for Arduino Mega 2560
Sketch uses 26948 bytes (10%) of program storage space. Maximum is 253952 bytes.
Global variables use 2713 bytes (33%) of dynamic memory, leaving 5479 bytes for local variables. Maximum is 8192 bytes.
Hello ega, the same thing happens with the arduino mega.
The errors that appear are not from memory, they are from some instances of the thinger library.
Thank you!
I would not use an Arduino with Ethernet these days. Instead, I would prefer an ESP32 variant, like this one from Olimex, that even supports PoE. I have one of these connected to the platform for several months now.
Hello, it happens that a client specifically wants to connect the module via Ethernet, because there is no Wi-Fi network and they only have a specific router to connect it to.