Hi All,
I know it is a basic question but as a beginner I am struggling to see data from Arduino Mega 2560 connected with a Ethernet shield to router in a PC.
My work seems to be simple. I have a temperature sensor. I want to send data via ethernet cable to a server or something from which I can see the same in my laptop (connected via wifi). (I want a TCP connection)
I tried basic examples but no success. I am not sure where to see the data sent in my browser. If I typed the port in telnet it is not getting connected.
Please help or suggest a previous thread which will be useful to me. I tried working out some threads but no success.
Thanks,
Sri
srivathsaann:
I am struggling to see data from Arduino Mega 2560 connected with a Ethernet shield to router in a PC.
My work seems to be simple. I have a temperature sensor. I want to send data via ethernet cable to a server or something
I struggled too and submit this can be a pretty pointless waste of time and money but, before I realised that, I used this
which I recall was quite straightforward, and might be useful.
This was with cable connect but, in the way you describe it, that shouldn't make a difference as the WiFi is between laptop and router, and the Arduino operation is the same.
If you want to use WiFi all the way, you can do it by connecting the Ethernet shield to a cheapo WiFi repeater rather than get a WiFi shield. I submit this is a better way to go anyway and no changes to the Arduino programming are required.