Yes esp connection but no Arduino connection

Hi I am new to cayenne, the problem is that I am not able to connect Aruino Mega( or UNO) to cayenne with the ethernet 5100 module. I have a 2.4 - 5 Ghz router, I have tried everything but it is impossible. Someone who can help me please

can you Uncomment #define CAYENNE_DEBUG to show debug messages in the serial monitor and see if there is any error.

The problem is what no connection…:

This is the error…please, somebody could help me

try this code where you have to manual add all the parameters https://github.com/myDevicesIoT/Cayenne-MQTT-Arduino/blob/master/examples/Connections/ManualConnection/ManualConnection.ino

No conecction :frowning:

I don’t know the problem…

have you have changed them according to your network:

// Mac address should be different for each device in your LAN
byte arduino_mac[] = { 0xDE, 0xED, 0xBA, 0xFE, 0xFE, 0xED };
IPAddress arduino_ip(10, 0, 0, 20);
IPAddress dns_ip(8, 8, 8, 8);
IPAddress gateway_ip(10, 0, 0, 1);
IPAddress subnet_mask(255, 255, 255, 0);
1 Like

image

Sorry I’m new with all this, these two parameters where I get them… the others are the same of my network that if I changed them

here and for ip check your gateway

image

Is this?

and IPAddress arduino?

Mac address should be different for each device in your LAN and ip address is if your gateway IP is 192.168.1.1 then you can use 192.168.1.10 which is not assigned to any other device on the network.