Upload the code & open the serial monitor to verify that SERVER is started. Note the usage of comma instead of dot between each byte. Here change it to 192.168.137.177 where the SERVER will be started. The IP allotted to the shield here is 192.168.137.30 which is in range of new Gateway. Upload the code & open up the Serial monitor. This will print the IP allotted to the Shield. Under Examples –> Ethernet –> select DhcpAddressPrinter Note that this is the GATEWAY IP & Ethernet shield will be allotted IP in this range. Under Ethernet adapter the Gateway IP of new network is displayed. Note that this is the new Gateway IP of the new network formed by Ethernet shield.If you do not see any IP, just select the “ Use the following IP “ & feed in manually the IP. You can see an IP address like 192.168.137.1. On the next screen double click on Internet Protocol version 4 (TCP/IPV4) Now plug in the USB cable to Arduino & then connect the RJ45 Straight cable from shield to the RJ45Īs soon as you connect the RJ45 cable you can see an UNIDENTIFIED NETWORKĬlick on that new Network, select PROPERTIES. Tick mark to ENABLE SHARING of Internet connection On the next screen click PROPERTIES & then SHARING Open Control Panel –> Network & Internet –> Network & Sharing CenterĬlick on the existing internet connection The procedure we follow is similar to the one we did for connecting Raspberry PI to Laptop.įirst step is to enable SHARING of your existing internet.In my case, Laptop is connected to Router Or you cannot run a RJ45 cable from Router to Ethernet shield. What if you do not have physical access to your Router & your Laptop is connected over WIFI to the Router. In the previous post we’ve seen how to connect the Arduino ETHERNET SHIELD to a Router directly & upload LM35 data to Thingspeak.
0 Comments
Leave a Reply. |