Cant't get MQTTGateway to work
-
Yes I think so! It's the one one the MySensor Store, the red one!
-
Hello @hek !
I tested the W5100 Gateway sketch but nothing happens, I don't see nothing in the serial monitor and I can't ping the IP! I tested also without defining the IP, but no DHCP request is made to my router!
I also tested like you suggested, with a external power supply just to the W5100, no success!
=/
Thank You
-
This is so annoying! I tried this code:
#include <SPI.h> #include <Ethernet.h> const int W5100_RESET_PIN = 8; byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; IPAddress MY_IP(192,168,1,177); void setup() { Serial.begin(9600); Serial.println(); Serial.println(F("node starting...")); pinMode(W5100_RESET_PIN, OUTPUT); digitalWrite(W5100_RESET_PIN, LOW); delay(100); digitalWrite(W5100_RESET_PIN, HIGH); // give the Ethernet shield a second to initialize: delay(3000); Serial.print(F("static IP...")); Ethernet.begin(mac, IPAddress(MY_IP)); Serial.print(F("local IP:")); Serial.println(Ethernet.localIP()); Serial.println(F("node started.")); } void loop() { }I found it online! Look at the IP (192.168.1,177)! This is the output from serial:
node starting... static IP...local IP:232.64.0.0 node started.If I run it again the IP changes! =/
-
Seems, that your ip adresses dont match your network. What is the ip of your router? The first 3 numbers have to match in a normal home network...
Are you aware how to do that?
-
The IP is in the range! I have several networks at my home, I tested it in all! In the case above the router IP is 192.168.1.1.
Can it be a defected network module? =/
-
I ordered 2 new W1500 modules to test out! Now I need to wait for them to arrive!
-
Hello, found a solution that solved my problem! You can use the topic https://forum.arduino.cc/index.php?topic=351477.msg2662072#msg2662072 as reference! I soldered the 100ohm as described and it worked 100%.
Thank you all
-
Which total wire length is between the W5100 and the next active port (switch/router) ?
-
Wire Length? Way is this important? The problem was solved soldering te 2 resistors! The cable length is a normal small cable going to the router