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 -
DHT22 wrong sensor type in Home Assistant
Troubleshooting • 9 days ago • Commodoreuno 3 days ago -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 19 Mar 2025, 21:00 • bocalexandru 28 days ago