In the preceding section, we showed how to monitor our Arduino via Wi-Fi using the CC3000 module; now we will use another important module: Ethernet Shield. The hardware connection of the part is similar to the following image:
You can now either copy the code inside a file called
Monitor_Ethernet.ino, or just get the complete code from the folder for this project; you need to use the Arduino IDE.
The following are the libraries included in the program:
#include <SPI.h> #include <Ethernet.h> #include <aREST.h> #include ...