Unexpected behavior with satatic IP adress (Ethernet Gateway)
-
I copied the sample code from here and changed only ip adresses.
But in serial console I see that arduino does not use static IP just to draw others. Somethimes they hit the correct ip for a moment.
The screenshot will describe it better.
When I use example from arduino.cc site everything work fine
I use:
arduino ide v 1.8.3
MySensors 2.1.1
-
@Solmorth the printed IP addresses are all over the place, including invalid addresses. I would suspect memory corruption. How much ram does the sketch use? (This is shown in the Arduino IDE when the sketch is compiled)
-
Sketch uses 23860 bytes (77%). Global variables uses 1097 bajtów (53%)
-
@Solmorth 47% free ram should be plenty, so that should not be the problem. I don't have any other ideas unfortunately.
-
Anyway, Thank you for your help
-
I experienced something similiar lately with a few my W5100 modules. It went away when I moved from my breadboard setup to soldered cabels.
-
But, when I use example from arduino.cc site everything work fine. (Links at first post).
Tested on Nano, uno r3 and breadboard (328p with optiboot 6.2).
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 20 days ago -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22